[GRASS-dev] Re: [GRASS GIS] #502: wxgui / osgeo4w: db.describe
execution failed
GRASS GIS
trac at osgeo.org
Sun Feb 22 04:58:12 EST 2009
#502: wxgui / osgeo4w: db.describe execution failed
---------------------------+------------------------------------------------
Reporter: hamish | Owner: martinl
Type: defect | Status: assigned
Priority: major | Milestone: 6.4.0
Component: Database | Version: 6.4.0 RCs
Resolution: | Keywords: osgeo4w
Platform: MSWindows XP | Cpu: x86-32
---------------------------+------------------------------------------------
Comment (by hamish):
Hi,
attempting to try out these changes by copying in wxgui.py, gis_set.py,
and the gui_modules/ dir from SVN over the top of the OSGeo4W 6.4.0rc3
files on the Windows machine. When I try to start GRASS I get this error:
{{{
Traceback (most recent call last):
File "C:/OSGeo4W/apps/grass/grass-6.4.0RC3/etc/wxpython/gis_set.py",
line 816,
in <module>
GRASSStartUp = StartUp(0)
File "C:\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8-msw-
unicode\wx\_core.py", line 7935, in __init__
self._BootstrapApp()
File "C:\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8-msw-
unicode\wx\_core.py", line 7509, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "C:/OSGeo4W/apps/grass/grass-6.4.0RC3/etc/wxpython/gis_set.py",
line 799,
in OnInit
StartUp = GRASSStartup()
File "C:/OSGeo4W/apps/grass/grass-6.4.0RC3/etc/wxpython/gis_set.py",
line 156,
in __init__
self._set_properties()
File "C:/OSGeo4W/apps/grass/grass-6.4.0RC3/etc/wxpython/gis_set.py",
line 195,
in _set_properties
self.OnSetDatabase(None)
File "C:/OSGeo4W/apps/grass/grass-6.4.0RC3/etc/wxpython/gis_set.py",
line 639,
in OnSetDatabase
self.OnSelectLocation(None)
File "C:/OSGeo4W/apps/grass/grass-6.4.0RC3/etc/wxpython/gis_set.py",
line 604,
in OnSelectLocation
self.listOfLocations[self.lblocations.GetSelection()]))
File "C:/OSGeo4W/apps/grass/grass-6.4.0RC3/etc/wxpython/gis_set.py",
line 574,
in UpdateMapsets
for line in mapsets.ReadStdOutput():
AttributeError: Command instance has no attribute 'ReadStdOutput'
Traceback (most recent call last):
File "C:/OSGeo4W/apps/grass/grass-6.4.0RC3/etc/wxpython/wxgui.py", line
70, in
<module>
import gui_modules.wxgui_utils as wxgui_utils
File
"C:\OSGeo4W\apps\grass\grass-6.4.0RC3\etc\wxpython\gui_modules\wxgui_utils.py",
line 38, in <module>
import mapdisp
File
"C:\OSGeo4W\apps\grass\grass-6.4.0RC3\etc\wxpython\gui_modules\mapdisp.py",
line 54, in <module>
import toolbars
File
"C:\OSGeo4W\apps\grass\grass-6.4.0RC3\etc\wxpython\gui_modules\toolbars.py",
line 36, in <module>
from icon import Icons as Icons
File "C:\OSGeo4W\apps\grass\grass-6.4.0RC3\etc\wxpython\icons\icon.py",
line 31, in <module>
import grassenv
ImportError: No module named grassenv
Press any key to continue . . .
}}}
?
Hamish
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/502#comment:2>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list