[GRASS-dev] [GRASS GIS] #2188: GRASS fails to start on Windows since r58807
GRASS GIS
trac at osgeo.org
Tue Feb 4 19:13:51 PST 2014
#2188: GRASS fails to start on Windows since r58807
---------------------------+------------------------------------------------
Reporter: annakrat | Owner: grass-dev@…
Type: defect | Status: new
Priority: critical | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: pygrass, tgis | Platform: Unspecified
Cpu: Unspecified |
---------------------------+------------------------------------------------
Adding temporal vector algebra (r58807) broke compilation on Windows and
some Ubuntu machines. During start up it fails:
{{{
Cleaning up temporary files...
Starting GRASS GIS...
Traceback (most recent call last):
File "C:\Program Files (x86)\GRASS GIS
7.0.svn\etc\gui\wxpython\gis_set.py", l
ine 48, in <module>
from gui_core.dialogs import TextEntryDialog
File "C:\Program Files (x86)\GRASS GIS
7.0.svn\etc\gui\wxpython\gui_core\dialo
gs.py", line 49, in <module>
from gui_core.gselect import LocationSelect, MapsetSelect, Select, \
File "C:\Program Files (x86)\GRASS GIS
7.0.svn\etc\gui\wxpython\gui_core\gsele
ct.py", line 59, in <module>
import grass.temporal as tgis
File "C:\Program Files (x86)\GRASS GIS
7.0.svn\etc\python\grass\temporal\__ini
t__.py", line 29, in <module>
from temporal_vector_algebra import *
File "C:\Program Files (x86)\GRASS GIS
7.0.svn\etc\python\grass\temporal\tempo
ral_vector_algebra.py", line 436, in <module>
m_overlay = pygrass.Module('v.overlay', quiet=True, run_=False)
File "C:\Program Files (x86)\GRASS GIS
7.0.svn\etc\python\grass\pygrass\module
s\interface\module.py", line 247, in __init__
raise GrassError(str_err % self.name)
grass.pygrass.errors.GrassError: "Module 'v.overlay' not found, please
check tha
t the module exist"
Error in GUI startup. If necessary, please report this error to the GRASS
develo
pers.
}}}
I will move the tgis import to the places where it's actually needed, so
it won't be imported when the gui starts. But still I am not sure about
the other imports in temporal_vector_algebra.py. Can tgis be used without
pygrass? Is pygrass needed for temporal vector algebra only? The imports
should be more careful. Also it would be good to understand what's the
problem with pygrass.Module v.overlay.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2188>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list