[GRASS-dev] Re: GRASS 6.4.2RC3 released: mapcalc problem

Helena Mitasova hmitaso at ncsu.edu
Sat Jan 14 22:42:06 EST 2012


I can confirm it on Mac. A simple expression like this:

r.mapcalc diff=elev_ned10m_bil-elev_ned10m_bic

runs in linux shell, but fails in wxgui command console and 
in the map calculator. I am getting the same error 

Traceback (most recent call last):
  File "/Users/helena/grassrel6/grass64_release/dist.i386
-apple-
darwin10.8.0/etc/wxpython/gui_modules/mcalc_builder.py",
line 453, in OnMCalcRun

self.log.RunCmd(cmd, onDone = self.OnDone)
  File "/Users/helena/grassrel6/grass64_release/dist.i386
-apple-darwin10.8.0/etc/wxpython/gui_modules/goutput.py",
line 521, in RunCmd

task = menuform.GUI(show = None).ParseCommand(command)
  File "/Users/helena/grassrel6/grass64_release/dist.i386
-apple-darwin10.8.0/etc/wxpython/gui_modules/menuform.py",
line 1732, in ParseCommand

blackList = _blackList)
  File "/Users/helena/grassrel6/grass64_release/dist.i386
-apple-darwin10.8.0/etc/python/grass/script/task.py", line
460, in parse_interface

tree = etree.fromstring(get_interface_description(name))
  File "/System/Library/Frameworks/Python.framework/Versions
/2.6/lib/python2.6/xml/etree/ElementTree.py", line 964, in
XML

return parser.close()
  File "/System/Library/Frameworks/Python.framework/Versions
/2.6/lib/python2.6/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

Helena



Helena Mitasova
Associate Professor
Department of Marine, Earth, and Atmospheric Sciences
2800 Faucette Drive, Rm. 1125 Jordan Hall
North Carolina State University
Raleigh, NC 27695-8208
hmitaso at ncsu.edu



On Jan 12, 2012, at 5:34 PM, Helmut Kudrnovsky wrote:

>> A third and final release candidate of GRASS 6.4.2 is now available. 
>> [...]
>> Please join us in testing this release candidate for the final release. 
> 
> the wx-r.mapcalculator isn't working, tested with a simple calculation
> 
> elevation at PERMANENT / elevation at PERMANENT  
> 
> it's in WinGRASS-6.4.2RC3-1-Setup, osgeo4w-WinGRASS-6.4.2RC3 and also
> in WinGRASS-6.5.svn:
> 
> Traceback (most recent call last):
>  File "C:\OSGeo4W\apps\grass\grass-6.4.2RC3\etc\wxpython\gu
> i_modules\mcalc_builder.py", line 453, in OnMCalcRun
> 
> self.log.RunCmd(cmd, onDone = self.OnDone)
>  File "C:\OSGeo4W\apps\grass\grass-6.4.2RC3\etc\wxpython\gu
> i_modules\goutput.py", line 521, in RunCmd
> 
> task = menuform.GUI(show = None).ParseCommand(command)
>  File "c:/osgeo4w/usr/src/release_20120112_grass_6_4_2RC3/d
> ist.i686-pc-mingw32/etc/wxpython/gui_modules/menuform.py",
> line 1732, in ParseCommand
>  File "c:/osgeo4w/usr/src/release_20120112_grass_6_4_2RC3/d
> ist.i686-pc-mingw32/etc/python/grass/script/task.py", line
> 460, in parse_interface
>  File
> "c:\OSGeo4W\apps\Python25\lib\xml\etree\ElementTree.py",
> line 964, in XML
> 
> return parser.close()
>  File
> "c:\OSGeo4W\apps\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
> 
> Helmut
> 
> 
> 
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/GRASS-6-4-2RC3-released-tp7180383p7182079.html
> Sent from the Grass - Dev mailing list archive at Nabble.com.
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev



More information about the grass-dev mailing list