[GRASS-dev] Re: [GRASS GIS] #1015: WinGrass7: starting grass by grass70.py fails

GRASS GIS trac at osgeo.org
Fri Mar 19 11:33:18 EDT 2010


#1015: WinGrass7: starting grass by grass70.py fails
------------------------------+---------------------------------------------
  Reporter:  hellik           |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect           |      Status:  new                      
  Priority:  normal           |   Milestone:  7.0.0                    
 Component:  wxGUI            |     Version:  svn-trunk                
Resolution:                   |    Keywords:  wingrass, wx-gui, python 
  Platform:  MSWindows Vista  |         Cpu:  x86-32                   
------------------------------+---------------------------------------------
Comment (by hellik):

 Replying to [ticket:1015 hellik]:
 > Try r41475.

 trying r41475 i get one step further, layer manager and map display are
 starting.

 but adding a raster

 {{{
 Traceback (most recent call last):
   File "c:\osgeo4w\usr\src\grass_trunk\dist.i686-pc-
 mingw32\etc\wxpython\wxgui.py", line 1200, in OnAddRaster

 self.AddRaster(event)
   File "c:\osgeo4w\usr\src\grass_trunk\dist.i686-pc-
 mingw32\etc\wxpython\wxgui.py", line 1325, in AddRaster

 self.curr_page.maptree.AddLayer('raster')
   File "c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc-
 mingw32/etc/wxpython/gui_modules/wxgui_utils.py", line 792,
 in AddLayer

 self.PropertiesDialog(layer, show=True)
   File "c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc-
 mingw32/etc/wxpython/gui_modules/wxgui_utils.py", line 860,
 in PropertiesDialog

 parentframe=self)
   File "c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc-
 mingw32/etc/wxpython/gui_modules/menuform.py", line 1948, in
 ParseCommand

 self.grass_task = self.ParseInterface(cmd)
   File "c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc-
 mingw32/etc/wxpython/gui_modules/menuform.py", line 1918, in
 ParseInterface

 tree = etree.fromstring(getInterfaceDescription(cmd[0]))
   File "c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc-
 mingw32/etc/wxpython/gui_modules/menuform.py", line 1876, in
 getInterfaceDescription

 cmdout = p.sub(globalvar.ETCDIR + r'/grass-interface.dtd',
 cmdout)
   File "C:\OSGeo4W\apps\Python25\lib\re.py", line 269, in
 _subx

 template = _compile_repl(template, pattern)
   File "C:\OSGeo4W\apps\Python25\lib\re.py", line 256, in
 _compile_repl

 raise error, v # invalid expression
 sre_constants
 .
 error
 :
 bad group name
 }}}

 or vector

 {{{
 Traceback (most recent call last):
   File "c:\osgeo4w\usr\src\grass_trunk\dist.i686-pc-
 mingw32\etc\wxpython\wxgui.py", line 1200, in OnAddRaster

 self.AddRaster(event)
   File "c:\osgeo4w\usr\src\grass_trunk\dist.i686-pc-
 mingw32\etc\wxpython\wxgui.py", line 1325, in AddRaster

 self.curr_page.maptree.AddLayer('raster')
   File "c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc-
 mingw32/etc/wxpython/gui_modules/wxgui_utils.py", line 792,
 in AddLayer

 self.PropertiesDialog(layer, show=True)
   File "c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc-
 mingw32/etc/wxpython/gui_modules/wxgui_utils.py", line 860,
 in PropertiesDialog

 parentframe=self)
   File "c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc-
 mingw32/etc/wxpython/gui_modules/menuform.py", line 1948, in
 ParseCommand

 self.grass_task = self.ParseInterface(cmd)
   File "c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc-
 mingw32/etc/wxpython/gui_modules/menuform.py", line 1918, in
 ParseInterface

 tree = etree.fromstring(getInterfaceDescription(cmd[0]))
   File "c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc-
 mingw32/etc/wxpython/gui_modules/menuform.py", line 1876, in
 getInterfaceDescription

 cmdout = p.sub(globalvar.ETCDIR + r'/grass-interface.dtd',
 cmdout)
   File "C:\OSGeo4W\apps\Python25\lib\re.py", line 269, in
 _subx

 template = _compile_repl(template, pattern)
   File "C:\OSGeo4W\apps\Python25\lib\re.py", line 256, in
 _compile_repl

 raise error, v # invalid expression
 sre_constants
 .
 error
 :
 bad group name
 }}}

 {{{
 g.gisenv -n
 MAPSET=g7
 GISDBASE=C:\gisdata\grassdata
 LOCATION_NAME=nc_spm_08
 GRASS_GUI=wxpython
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1015#comment:1>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list