[GRASS-dev] [GRASS GIS] #1563: wxGUI will not start

#1563: wxGUI will not start
----------------------+-----------------------------------------------------
Reporter: ewcgrass | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: unspecified
Keywords: | Platform: Linux
      Cpu: x86-64 |
----------------------+-----------------------------------------------------
On Fedora 14 using 04-Feb-2012 Generic GNU/Linux version of GRASS 7, I get
the following:

GRASS 7.0.svn (ns-nad83-utm-25m):~ > g.gui wxpython
Launching <wxpython> GUI in the background, please wait...
Traceback (most recent call last):
   File "/usr/local/grass7.0.svn-x86_64-unknown-linux-
gnu-04_02_2012/etc/gui/wxpython/wxgui.py", line 34, in <module>
     from lmgr.frame import GMFrame
   File "/usr/local/grass7.0.svn-x86_64-unknown-linux-
gnu-04_02_2012/etc/gui/wxpython/lmgr/frame.py", line 44, in <module>
     from lmgr.layertree import LayerTree, LMIcons
   File "/usr/local/grass7.0.svn-x86_64-unknown-linux-
gnu-04_02_2012/etc/gui/wxpython/lmgr/layertree.py", line 35, in <module>
     from mapdisp.frame import MapFrame
   File "/usr/local/grass7.0.svn-x86_64-unknown-linux-
gnu-04_02_2012/etc/gui/wxpython/mapdisp/frame.py", line 38, in <module>
     from vdigit.toolbars import VDigitToolbar
   File "/usr/local/grass7.0.svn-x86_64-unknown-linux-
gnu-04_02_2012/etc/gui/wxpython/vdigit/toolbars.py", line 27, in <module>
     from iclass.digit import IClassVDigit
   File "/usr/local/grass7.0.svn-x86_64-unknown-linux-
gnu-04_02_2012/etc/gui/wxpython/iclass/digit.py", line 22, in <module>
     from vdigit.wxdigit import IVDigit
   File "/usr/local/grass7.0.svn-x86_64-unknown-linux-
gnu-04_02_2012/etc/gui/wxpython/vdigit/wxdigit.py", line 33, in <module>
     from vdigit.wxdisplay import DisplayDriver, GetLastError
   File "/usr/local/grass7.0.svn-x86_64-unknown-linux-
gnu-04_02_2012/etc/gui/wxpython/vdigit/wxdisplay.py", line 70, in <module>
     errtype = CFUNCTYPE(UNCHECKED(c_int), String, c_int)
NameError: name 'CFUNCTYPE' is not defined

I have searched this error/bug on TracLinks but could not find it. I found
this same error in a general search of the internet ...on 09 Dec Martin
Landa stated "hopefully fixed in r49632" and on 23 Dec at
http://comments.gmane.org/gmane.comp.gis.grass.devel/46446 Martin Landa
stated "in r49880 GUI should not fail"

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1563&gt;
GRASS GIS <http://grass.osgeo.org>

#1563: wxGUI will not start
----------------------+-----------------------------------------------------
Reporter: ewcgrass | Owner: martinl
     Type: defect | Status: assigned
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: unspecified
Keywords: | Platform: Linux
      Cpu: x86-64 |
----------------------+-----------------------------------------------------
Changes (by martinl):

* cc: grass-dev@… (added)
  * owner: grass-dev@… => martinl
  * status: new => assigned

Comment:

Could you try r50671?

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1563#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#1563: wxGUI will not start
----------------------+-----------------------------------------------------
Reporter: ewcgrass | Owner: martinl
     Type: defect | Status: assigned
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: unspecified
Keywords: | Platform: Linux
      Cpu: x86-64 |
----------------------+-----------------------------------------------------

Comment(by ewcgrass):

Before applying changes, could only go to selecting mapset. Now with
changes applied, can advance one more step to show the splash screen
"Starting Grass GUI", buy then splash screen disappears with the following
in terminal:

[rick@localhost ~]$ grass70
Cleaning up temporary files...
Starting GRASS GIS...

           __________ ___ __________ _______________
          / ____/ __ \/ | / ___/ ___/ / ____/ _/ ___/
         / / __/ /_/ / /| | \__ \\_ \ / / __ / / \__ \
        / /_/ / _, _/ ___ |___/ /__/ / / /_/ // / ___/ /
        \____/_/ |_/_/ |_/____/____/ \____/___//____/

Welcome to GRASS 7.0.svn
GRASS homepage: http://grass.osgeo.org
This version running through: Bash Shell (/bin/bash)
Help is available with the command: g.manual -i
See the licence terms with: g.version -c
If required, restart the GUI with: g.gui wxpython
When ready to quit enter: exit

Launching <wxpython> GUI in the background, please wait...
GRASS 7.0.svn (ns-nad83-utm-25m):~ > 3D view mode:
/home/neteler/grass7_svn_head_bin_snapshot/trunk/dist.x86_64-unknown-
linux-gnu/lib/libgrass_raster.7.0.svn.so: cannot open shared object file:
No such file or directory
g.list: error while loading shared libraries:
/home/neteler/grass7_svn_head_bin_snapshot/trunk/dist.x86_64-unknown-
linux-gnu/lib/libgrass_raster.7.0.svn.so: cannot open shared object file:
No such file or directory
g.list: error while loading shared libraries:
/home/neteler/grass7_svn_head_bin_snapshot/trunk/dist.x86_64-unknown-
linux-gnu/lib/libgrass_raster.7.0.svn.so: cannot open shared object file:
No such file or directory
Traceback (most recent call last):
   File "/usr/local/grass7.0.svn-x86_64-unknown-linux-
gnu-04_02_2012/etc/gui/wxpython/wxgui.py", line 137, in <module>
     sys.exit(main())
   File "/usr/local/grass7.0.svn-x86_64-unknown-linux-
gnu-04_02_2012/etc/gui/wxpython/wxgui.py", line 130, in main
     app = GMApp(workspaceFile)
   File "/usr/local/grass7.0.svn-x86_64-unknown-linux-
gnu-04_02_2012/etc/gui/wxpython/wxgui.py", line 45, in __init__
     wx.App.__init__(self, False)
   File "/usr/lib64/python2.7/site-
packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7981, in __init__
     self._BootstrapApp()
   File "/usr/lib64/python2.7/site-
packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7555, in _BootstrapApp
     return _core_.PyApp__BootstrapApp(*args, **kwargs)
   File "/usr/local/grass7.0.svn-x86_64-unknown-linux-
gnu-04_02_2012/etc/gui/wxpython/wxgui.py", line 76, in OnInit
     workspace = self.workspaceFile)
   File "/usr/local/grass7.0.svn-x86_64-unknown-linux-
gnu-04_02_2012/etc/gui/wxpython/lmgr/frame.py", line 192, in __init__
     self.NewDisplay(show = False)
   File "/usr/local/grass7.0.svn-x86_64-unknown-linux-
gnu-04_02_2012/etc/gui/wxpython/lmgr/frame.py", line 1380, in NewDisplay
     showMapDisplay = show)
   File "/usr/local/grass7.0.svn-x86_64-unknown-linux-
gnu-04_02_2012/etc/gui/wxpython/lmgr/layertree.py", line 152, in __init__
     Map = self.Map)
   File "/usr/local/grass7.0.svn-x86_64-unknown-linux-
gnu-04_02_2012/etc/gui/wxpython/mapdisp/frame.py", line 81, in __init__
     Map = Map, auimgr = auimgr, name = name, **kwargs)
   File "/usr/local/grass7.0.svn-x86_64-unknown-linux-
gnu-04_02_2012/etc/gui/wxpython/gui_core/mapdisp.py", line 399, in
__init__
     self._initMap(Map = self.Map)
   File "/usr/local/grass7.0.svn-x86_64-unknown-linux-
gnu-04_02_2012/etc/gui/wxpython/gui_core/mapdisp.py", line 108, in
_initMap
     sys.exit(_("GRASS module '%s' not found. Unable to start map "
NameError: global name 'sys' is not defined

GRASS 7.0.svn (ns-nad83-utm-25m):~ >

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1563#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#1563: wxGUI will not start
----------------------+-----------------------------------------------------
Reporter: ewcgrass | Owner: martinl
     Type: defect | Status: assigned
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: unspecified
Keywords: | Platform: Linux
      Cpu: x86-64 |
----------------------+-----------------------------------------------------

Comment(by martinl):

Replying to [comment:2 ewcgrass]:

{{{
> File "/usr/local/grass7.0.svn-x86_64-unknown-linux-
gnu-04_02_2012/etc/gui/wxpython/gui_core/mapdisp.py", line 108, in
_initMap
> sys.exit(_("GRASS module '%s' not found. Unable to start map "
> NameError: global name 'sys' is not defined
}}}

could you try more recent version? Anyway the error you reported points to
broken `g.region`.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1563#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#1563: wxGUI will not start
-----------------------+----------------------------------------------------
  Reporter: ewcgrass | Owner: martinl
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: unspecified
Resolution: fixed | Keywords:
  Platform: Linux | Cpu: x86-64
-----------------------+----------------------------------------------------
Changes (by martinl):

  * status: assigned => closed
  * resolution: => fixed

Comment:

No response 9 months, closing. Please re-open if needed.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1563#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>