[GRASS-user] Error using r.mapcalc

Pedro Roma pedroroma1982 at gmail.com
Tue Jun 15 13:30:11 EDT 2010


Hi

I tried to use r.mapcalc in my GRASS6.4.RC5 in Linux and I got this error at
terminal:
syntax error, unexpected '-', expecting NAME or STRING
Parse error

And the following in command output window:
Traceback (most recent call last):
  File "/usr/local/grass-6.4.0svn/etc/wxpython/wxgui.py",
line 473, in OnRunCmd

self.goutput.RunCmd(cmd, switchPage=False)
  File "/usr/local/grass-6.4.0svn/etc/wxpython/gui_modules/g
output.py", line 354, in RunCmd

menuform.GUI().ParseCommand(cmdlist, parentframe=self)
  File "/usr/local/grass-6.4.0svn/etc/wxpython/gui_modules/m
enuform.py", line 1828, in ParseCommand

xml.sax.parseString(getInterfaceDescription(cmd[0]),
  File "/usr/local/grass-6.4.0svn/etc/wxpython/gui_modules/m
enuform.py", line 1764, in getInterfaceDescription

raise IOError, _("Unable to fetch interface description for
command '%s'.") % cmd
IOError
:
Unable to fetch interface description for command
'r.mapcalc'.


Then I runned r.mapcalc at my GRASS OSGEO4w installation and I got the
following error:
Traceback (most recent call last):
  File "C:/osgeo4w/apps/grass/grass-6.4.0svn/etc/wxpython/wx
gui.py", line 473, in OnRunCmd

self.goutput.RunCmd(cmd, switchPage=False)
  File "C:\osgeo4w\apps\grass\grass-6.4.0svn\etc\wxpython\gu
i_modules\goutput.py", line 354, in RunCmd

menuform.GUI().ParseCommand(cmdlist, parentframe=self)
  File "C:\osgeo4w\apps\grass\grass-6.4.0svn\etc\wxpython\gu
i_modules\menuform.py", line 1863, in ParseCommand

xml.sax.parseString(getInterfaceDescription(cmd[0]).decode(e
nc).split('\n',1)[1].replace('', '<?xml version="1.0"
encoding="utf-8"?>\n', 1).encode("utf-8"),
  File "C:\osgeo4w\apps\grass\grass-6.4.0svn\etc\wxpython\gu
i_modules\menuform.py", line 1802, in
getInterfaceDescription

raise IOError, _("Unable to fetch interface description for
command '%s'.") % cmd
IOError
:
Unable to fetch interface description for command
'r.mapcalc'.

>From http://grass.itc.it/grass64/binary/mswindows/native/ I installed
WinGRASS6.4RC6-1 and I got exacly the same error.

Can anyone tell me if this is expected to happen? or if there is some sort
of "fix" for this?

Thanks

Best regards,
Pedro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20100615/091f46b3/attachment-0001.html


More information about the grass-user mailing list