[QGIS-trac] Re: [Quantum GIS] #1748: GRASS shell non functional on
Windows
Quantum GIS
qgis at qgis.org
Thu Aug 13 08:06:29 EDT 2009
#1748: GRASS shell non functional on Windows
-----------------------------------------------------+----------------------
Reporter: pcav | Owner: nobody
Type: bug | Status: new
Priority: major: does not work as expected | Milestone: Version 1.2.0
Component: GRASS | Version: HEAD
Resolution: | Keywords:
Platform_version: | Platform: Windows
Must_fix: No | Status_info: 0
-----------------------------------------------------+----------------------
Comment (by lutra):
Made a further test with the osgeo4w installer (using qgis 1.2) on windows
xp.
A first try to use a grass command in the shell returned the following
{{{
C:\>v.in.ogr
Traceback (most recent call last):
File
"C:\OSGeo4W\apps\grass\GRASS-~1.0SV/etc/wxpython/gui_modules/menuform.py"
, line 1933, in <module>
GrassGUIApp( grassTask( sys.argv[1] ) ).MainLoop()
File
"C:\OSGeo4W\apps\grass\GRASS-~1.0SV/etc/wxpython/gui_modules/menuform.py"
, line 336, in __init__
xml.sax.parseString( getInterfaceDescription( grassModule ) ,
processTask( s
elf ) )
File
"C:\OSGeo4W\apps\grass\GRASS-~1.0SV/etc/wxpython/gui_modules/menuform.py"
, line 1753, 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
}}}
as it seemed to try use the wxpyhton interface, then I uninstalled
everything and reinstalled without wx-pyhton. This way the GRASS tcltk
interface still works, but this time the grass shell under qgis does
nothing
{{{
C:\>v.in.ogr
C:\>
}}}
but it is still able to recognize wrong commands.
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1748#comment:4>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list