Opened 15 years ago

Closed 12 years ago

#1017 closed defect (fixed)

WinGrass7 - wxgui error

Reported by: hellik Owned by: grass-dev@…
Priority: normal Milestone: 7.0.0
Component: wxGUI Version: svn-trunk
Keywords: wingrass, wxgui Cc:
CPU: x86-32 Platform: MSWindows Vista

Description

self compiled grass7 within the osgeo4w-stack (svn r41475)

adding a raster/vector in the wx-gui or giving a command in the wx-gui-command-line, there are error messages like this:

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

Change History (5)

comment:1 by hellik, 15 years ago

Summary: WinGrass7 -WinGrass7 - wxgui error

in reply to:  description comment:2 by hellik, 15 years ago

Replying to hellik:

self compiled grass7 within the osgeo4w-stack (svn r41475)

additional information: grass started by grass70.py in the (osgeo4w)-windows-commandline

comment:3 by neteler, 14 years ago

Traceback (most recent call last):
  File "c:\osgeo4w\usr\src\grass_trunk\dist.i686-pc-
mingw32\etc\wxpython\wxgui.py", line 1200, in OnAddRaster
...
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

See #1137 for explanation.

comment:4 by neteler, 12 years ago

Keywords: wxgui added; wx-gui removed

Is this problem solved?

in reply to:  4 comment:5 by annakrat, 12 years ago

Resolution: fixed
Status: newclosed

Replying to neteler:

Is this problem solved?

Most probably yes. Reopen if needed.

Note: See TracTickets for help on using tickets.