Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#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)

comment:1 Changed 8 years ago by martinl

Cc: grass-dev@… added
Component: DefaultwxGUI
Keywords: r.mapcalc added
Owner: changed from grass-dev@… to martinl
Status: newassigned

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/

comment:2 in reply to:  description Changed 8 years ago by martinl

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 in reply to:  1 Changed 8 years ago by malicera

Resolution: fixed
Status: assignedclosed

Replying to martinl:

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/

I tried svn r50212 and it worked.

thanks

comment:4 Changed 8 years ago by hamish

Summary: r.mapcalcproblem starting r.mapcalc from the wxGUI command prompt
Note: See TracTickets for help on using tickets.