[GRASS-user] Re: Error using r.mapcalc
Pedro Roma
pedroroma1982 at gmail.com
Wed Jun 23 04:38:01 EDT 2010
I have sent this email to the mailing list but I obtained no asnswers. Can
anyone please help me?
On Tue, Jun 15, 2010 at 6:30 PM, Pedro Roma <pedroroma1982 at gmail.com> wrote:
> 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/20100623/f5ad36ca/attachment.html
More information about the grass-user
mailing list