#1542 closed defect (fixed)
problem starting r.mapcalc from the wxGUI command prompt
Reported by: | malicera | Owned by: | martinl |
---|---|---|---|
Priority: | normal | Milestone: | 6.4.2 |
Component: | wxGUI | Version: | 6.4.2 RCs |
Keywords: | r.mapcalc | Cc: | grass-dev@… |
CPU: | x86-32 | Platform: | MSWindows Vista |
Description
When I try to run an operation in r.mapcalc it fails.
I think there is a wrong path somewhere in the RC3, because it look for some "C:/osgeo4w/..." which is not in my system.
In my computere I have also Qgis with grass 6.4.2RC2 which has no problem with this operation.
The message in the command console is:
Settings: unable to get value 'workspace:posManager:enabled' Settings: unable to get value 'workspace:posDisplay:enabled' Traceback (most recent call last):
File "c:/osgeo4w/usr/src/grass-6.4.2RC3/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/mcalc_builder.py", line 453, in OnMCalcRun
File "C:\Program Files\GRASS
6.4\etc\wxpython\gui_modules\goutput.py", line 521, in RunCmd
task = menuform.GUI(show = None).ParseCommand(command)
File "c:/osgeo4w/usr/src/grass-6.4.2RC3/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/menuform.py", line 1732, in ParseCommand
File "C:\Program Files\GRASS
6.4\etc\python\grass\script\task.py", line 460, in parse_interface
tree = etree.fromstring(get_interface_description(name))
File "C:\Program Files\GRASS
6.4\Python25\lib\xml\etree\ElementTree.py", line 964, in XML
return parser.close()
File "C:\Program Files\GRASS
6.4\Python25\lib\xml\etree\ElementTree.py", line 1254, in close
self._parser.Parse("", 1) # end of data xml.parsers.expat . ExpatError : no element found: line 1, column 0
Change History (4)
follow-up: 3 comment:1 by , 13 years ago
Cc: | added |
---|---|
Component: | Default → wxGUI |
Keywords: | r.mapcalc added |
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 13 years ago
Replying to malicera:
I think there is a wrong path somewhere in the RC3, because it look for some "C:/osgeo4w/..." which is not in my system.
it's unrelated. The path points to the real path when compiling python files
The message in the command console is:
please next time consider to use preformatted text
output...
comment:3 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 by , 13 years ago
Summary: | r.mapcalc → problem starting r.mapcalc from the wxGUI command prompt |
---|
Please could you try recent version from SVN (pre-build binaries available at (1)). This bug has been recently fixed (r50212).
(1) http://wingrass.fsv.cvut.cz/grass64/