<div dir="ltr"><div><div><div>Vaclav,<br><br></div>   Thank you for your response, it is very helpful! So, the upshot is that the current version packaged for Ubuntu in the PPA has the broken g.version, which somehow prevents the GUI from rendering. This is just in the PPA version, but the compiled version *should* be fine. So my current options are to roll back to an earlier version, compile the current version from source, or to run GRASS headless for the moment (no issue for me) until the problem is fixed (I assume at least by when 7.0 stable is released?).<br><br></div>Also, thanks for letting me know about g.mremove. I didn't know about that! I am currently porting some of my addon modules to 7, so I will change their map clean up routines to use the new functionality of g.remove. Goes to show that I ought to pay more attention to the roadmap!<br><br></div>~Isaac<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 19, 2014 at 7:52 PM, Vaclav Petras <span dir="ltr"><<a href="mailto:wenzeslaus@gmail.com" target="_blank">wenzeslaus@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Nov 19, 2014 at 7:36 PM, Isaac Ullah <span dir="ltr"><<a href="mailto:isaac.ullah@asu.edu" target="_blank">isaac.ullah@asu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div>Sorry, premature send! Here's the error message:<br><br>Launching <wxpython> GUI in the background, please wait...<br>[Raster MASK present]<br>GRASS 7.0.0 (Exp3):~ > Traceback (most recent call last):<br>  File "/usr/lib/grass70/gui/wxpython/wxgui.py", line 140, in <module><br>    sys.exit(main())<br>  File "/usr/lib/grass70/gui/wxpython/wxgui.py", line 133, in main<br>    app = GMApp(workspaceFile)<br>  File "/usr/lib/grass70/gui/wxpython/wxgui.py", line 48, in __init__<br>    wx.App.__init__(self, False)<br>  File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7981, in __init__<br>    self._BootstrapApp()<br>  File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7555, in _BootstrapApp<br>    return _core_.PyApp__BootstrapApp(*args, **kwargs)<br>  File "/usr/lib/grass70/gui/wxpython/wxgui.py", line 82, in OnInit<br>    workspace = self.workspaceFile)<br>  File "/usr/lib/grass70/gui/wxpython/lmgr/frame.py", line 93, in __init__<br>    grassVersion = grass.version()['version']<br>  File "/usr/lib/grass70/etc/python/grass/script/core.py", line 1467, in version<br>    data = parse_command('g.version', flags='rge')<br>  File "/usr/lib/grass70/etc/python/grass/script/core.py", line 465, in parse_command<br>    res = read_command(*args, **kwargs)<br>  File "/usr/lib/grass70/etc/python/grass/script/core.py", line 425, in read_command<br>    return handle_errors(returncode, stdout, args, kwargs)<br>  File "/usr/lib/grass70/etc/python/grass/script/core.py", line 308, in handle_errors<br>    returncode=returncode)<br>grass.exceptions.CalledModuleError: Module run None ['g.version', '-rge'] ended with error<br>Process ended with non-zero return code -11. See errors in the (error) output.<br><br></div></div></div></div></div></blockquote><div><br></div></div></div><div>This relates to problems with g.version (#2351) and new, more strict error handling (#2326). I tried to fix g.version in r61589 but I'm not sure if I was successful, now it seems that I was not. I'm also not sure what r62747 changed in g.version checks. (Note: Both changes are backported to release branch 7.0.)<br><br>At least the error handling now gives us the idea about what's happening. -11 means segmentation fault on Ubuntu AFAIK, so it is really related to #2351.<br><br></div><div>I changed the error handling to "ignore" in r62822 (and backported). It reintroduces the original behavior before #2326. Although it might be appropriate in this case, the better solution would be to fix g.version as r61589 was trying to do.<br></div><div><br><a href="https://trac.osgeo.org/grass/ticket/2351" target="_blank">https://trac.osgeo.org/grass/ticket/2351</a><br><a href="https://trac.osgeo.org/grass/ticket/2326" target="_blank">https://trac.osgeo.org/grass/ticket/2326</a><br><a href="https://trac.osgeo.org/grass/changeset/61589" target="_blank">https://trac.osgeo.org/grass/changeset/61589</a> (<a href="https://trac.osgeo.org/grass/changeset/61683" target="_blank">https://trac.osgeo.org/grass/changeset/61683</a>)<br><a href="https://trac.osgeo.org/grass/changeset/62747" target="_blank">https://trac.osgeo.org/grass/changeset/62747</a> (<a href="https://trac.osgeo.org/grass/changeset/62748" target="_blank">https://trac.osgeo.org/grass/changeset/62748</a>)<br><a href="https://trac.osgeo.org/grass/changeset/62822" target="_blank">https://trac.osgeo.org/grass/changeset/62822</a> (<a href="https://trac.osgeo.org/grass/changeset/62823" target="_blank">https://trac.osgeo.org/grass/changeset/62823</a>)<br> </div><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div></div>I still have a GRASS session in the terminal, and can run some grass commands, but not others. For example, "g.region -p" is fine, but "g.mremove" give the following error:<br><br>g.mremove: command not found<br><br></div></div></div></div></blockquote></span><div>Note that g.mremove was recently replaced g.remove. See Trac wiki for details:<br><br><a href="https://trac.osgeo.org/grass/wiki/Grass7/NewFeatures#Renamedmodules" target="_blank">https://trac.osgeo.org/grass/wiki/Grass7/NewFeatures#Renamedmodules</a><br></div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div>The strange thing is that about a month ago, I was able to install a perfectly working version of GRASS7 on a similar computer with no issues (other than the apparently ineffectual error with g.version). I've tried this on three separate computers, and all have the same problem. I've tried installing all the dev packages I could think of (for example, all wx python dev libraries), but nothing seems to help.<br><br></div></div></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Any ideas what's going on? What can I do?<span><font color="#888888"><br><br></font></span></div></div></blockquote></span><div>There is something strange happening with packaging, the self-compiled version does not suffer from g.version issues.<br></div><div> <br></div><div>Vaclav<br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class=""><div dir="ltr"><div><span><font color="#888888"></font></span></div><span><font color="#888888">~Isaac<br></font></span></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 19, 2014 at 5:30 PM, Isaac Ullah <span dir="ltr"><<a href="mailto:isaac.ullah@asu.edu" target="_blank">isaac.ullah@asu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi all,<br><br></div>   I've been trying to get GRASS7 installed on several machines running Xubuntu 14.04, with no success. These are fresh installs of the OS, so there should be no cruft complicating install. I'm installing from the "GRASS-stable" ubuntu PPA repository, and am indeed following all the procedures. GRASS seems to install okay, but there are major issues when I try to run it. First, wx-gui dies on start with the following error message:<span><font color="#888888"><br><br clear="all"><div><div><br>-- <br><div><div dir="ltr"><div style="font-size:13px;margin-bottom:0px;margin-left:0px;padding-bottom:5px"><div style="overflow:hidden"><div dir="ltr"><span><font color="#888888"><div dir="ltr">Isaac I Ullah, Ph.D.<p style="margin-top:0.08in;margin-bottom:0in;line-height:0.07in"><span style="font-family:"times new roman",serif;line-height:12.8px">Arizona State University</span><br><span style="font-family:"times new roman",serif;line-height:12.8px">School of Human Evolution and Social Change</span><br><span style="font-family:"times new roman",serif;line-height:12.8px">PO Box 2402</span><br><span style="font-family:"times new roman",serif;line-height:12.8px">Tempe, AZ 85287-2402</span><br><span style="font-family:"times new roman",serif;line-height:12.8px"><a href="tel:%28480%29%20727-1054" value="+14807271054" target="_blank">(480) 727-1054</a> office</span><br><span style="font-family:"times new roman",serif;line-height:12.8px"><a href="tel:%28650%29%20201-0479" value="+16502010479" target="_blank">(650) 201-0479</a> cell</span><br><span style="font-family:"times new roman",serif;line-height:12.8px"><a href="mailto:iullah@asu.edu" target="_blank">iullah@asu.edu</a></span></p></div></font></span></div><div></div></div></div><div style="font-size:13px"></div></div></div>
</div></div></font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br><div><div dir="ltr"><div style="font-size:13px;margin-bottom:0px;margin-left:0px;padding-bottom:5px"><div style="overflow:hidden"><div dir="ltr"><span><font color="#888888"><div dir="ltr">Isaac I Ullah, Ph.D.<p style="margin-top:0.08in;margin-bottom:0in;line-height:0.07in"><span style="font-family:"times new roman",serif;line-height:12.8px">Arizona State University</span><br><span style="font-family:"times new roman",serif;line-height:12.8px">School of Human Evolution and Social Change</span><br><span style="font-family:"times new roman",serif;line-height:12.8px">PO Box 2402</span><br><span style="font-family:"times new roman",serif;line-height:12.8px">Tempe, AZ 85287-2402</span><br><span style="font-family:"times new roman",serif;line-height:12.8px"><a href="tel:%28480%29%20727-1054" value="+14807271054" target="_blank">(480) 727-1054</a> office</span><br><span style="font-family:"times new roman",serif;line-height:12.8px"><a href="tel:%28650%29%20201-0479" value="+16502010479" target="_blank">(650) 201-0479</a> cell</span><br><span style="font-family:"times new roman",serif;line-height:12.8px"><a href="mailto:iullah@asu.edu" target="_blank">iullah@asu.edu</a></span></p></div></font></span></div><div></div></div></div><div style="font-size:13px"></div></div></div>
</div>
</div></div><br></span>_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org" target="_blank">grass-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a><br></blockquote></div><br></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div style="font-size:13px;margin-bottom:0px;margin-left:0px;padding-bottom:5px"><div style="overflow:hidden"><div dir="ltr"><span><font color="#888888"><div dir="ltr">Isaac I Ullah, Ph.D.<p style="margin-top:0.08in;margin-bottom:0in;line-height:0.07in"><span style="font-family:'times new roman',serif;line-height:12.8000001907349px">Arizona State University</span><br><span style="font-family:'times new roman',serif;line-height:12.8000001907349px">School of Human Evolution and Social Change</span><br><span style="font-family:'times new roman',serif;line-height:12.8000001907349px">PO Box 2402</span><br><span style="font-family:'times new roman',serif;line-height:12.8000001907349px">Tempe, AZ 85287-2402</span><br><span style="font-family:'times new roman',serif;line-height:12.8000001907349px">(480) 727-1054 office</span><br><span style="font-family:'times new roman',serif;line-height:12.8000001907349px">(650) 201-0479 cell</span><br><span style="font-family:'times new roman',serif;line-height:12.8000001907349px"><a href="mailto:iullah@asu.edu" target="_blank">iullah@asu.edu</a></span></p></div></font></span></div><div></div></div></div><div style="font-size:13px"></div></div></div>
</div>