Opened 13 years ago

Closed 12 years ago

#1563 closed defect (fixed)

wxGUI will not start

Reported by: ewcgrass Owned by: martinl
Priority: normal Milestone: 7.0.0
Component: wxGUI Version: unspecified
Keywords: Cc: grass-dev@…
CPU: x86-64 Platform: Linux

Description

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"

Change History (4)

comment:1 by martinl, 13 years ago

Cc: grass-dev@… added
Owner: changed from grass-dev@… to martinl
Status: newassigned

Could you try r50671?

comment:2 by ewcgrass, 13 years ago

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_.PyAppBootstrapApp(*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):~ >

in reply to:  2 comment:3 by martinl, 12 years ago

Replying to 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.

comment:4 by martinl, 12 years ago

Resolution: fixed
Status: assignedclosed

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

Note: See TracTickets for help on using tickets.