[GRASS-dev] [GRASS GIS] #1542: r.mapcalc

#1542: r.mapcalc
----------------------+-----------------------------------------------------
Reporter: malicera | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.2
Component: Default | Version: 6.4.2 RCs
Keywords: | Platform: MSWindows Vista
      Cpu: x86-32 |
----------------------+-----------------------------------------------------
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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1542&gt;
GRASS GIS <http://grass.osgeo.org>

#1542: r.mapcalc
-----------------------+----------------------------------------------------
Reporter: malicera | Owner: martinl
     Type: defect | Status: assigned
Priority: normal | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.2 RCs
Keywords: r.mapcalc | Platform: MSWindows Vista
      Cpu: x86-32 |
-----------------------+----------------------------------------------------
Changes (by martinl):

* cc: grass-dev@… (added)
  * keywords: => r.mapcalc
  * status: new => assigned
  * component: Default => wxGUI
  * owner: grass-dev@… => martinl

Comment:

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/

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1542#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#1542: r.mapcalc
-----------------------+----------------------------------------------------
Reporter: malicera | Owner: martinl
     Type: defect | Status: assigned
Priority: normal | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.2 RCs
Keywords: r.mapcalc | Platform: MSWindows Vista
      Cpu: x86-32 |
-----------------------+----------------------------------------------------

Comment(by martinl):

Replying to [ticket:1542 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...
}}}

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1542#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#1542: r.mapcalc
------------------------------+---------------------------------------------
  Reporter: malicera | Owner: martinl
      Type: defect | Status: closed
  Priority: normal | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.2 RCs
Resolution: fixed | Keywords: r.mapcalc
  Platform: MSWindows Vista | Cpu: x86-32
------------------------------+---------------------------------------------
Changes (by malicera):

  * status: assigned => closed
  * resolution: => fixed

Comment:

Replying to [comment:1 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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1542#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#1542: problem starting r.mapcalc from the wxGUI command prompt
------------------------------+---------------------------------------------
  Reporter: malicera | Owner: martinl
      Type: defect | Status: closed
  Priority: normal | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.2 RCs
Resolution: fixed | Keywords: r.mapcalc
  Platform: MSWindows Vista | Cpu: x86-32
------------------------------+---------------------------------------------

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1542#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>