[GRASS-dev] Re: GRASS 6.4.2RC3 released: mapcalc problem
hmitaso at ncsu.edu
Sun Jan 15 21:26:24 EST 2012
On Jan 15, 2012, at 12:41 PM, Markus Neteler wrote:
> On Sun, Jan 15, 2012 at 4:42 AM, Helena Mitasova <hmitaso at ncsu.edu> wrote:
>> 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.
> Did you try with white space around the "="? I darkly remember
> some issue, but maybe that's unrelated.
that is an issue for MSWin in 6.4.1 but not on Mac.
Anyway, but I tried couple more alternatives and compared with 6.4.1
this is what I am getting
in GRASS 6.4.2RC3 r.mapcalc runs only in linux shell
The expressions below, when pasted into command console give all the same error message :
r.mapcalc diff = elev_ned10m_bil-elev_ned10m_bic
r.mapcalc diff = elev_ned10m_bil - elev_ned10m_bic
r.mapcalc 'diff = elev_ned10m_bil - elev_ned10m_bic'
r.mapcalc diff = "elev_ned10m_bil-elev_ned10m_bic"
- the expression does not run in calculator GUI either with our without spaces
in GRASS6.4.1 the following runs from command console without any trouble:
but problems were reported for r.mapcalc in console on MS windows if spaces were not included.
I am guessing that r.mapcalc runs from wxgui on linux and only Mac and MSwindows are the problem?
Traceback (most recent call last):
line 1105, in OnKeyPressed
line 521, in RunCmd
task = menuform.GUI(show = None).ParseCommand(command)
line 1732, in ParseCommand
blackList = _blackList)
460, in parse_interface
tree = etree.fromstring(get_interface_description(name))
/2.6/lib/python2.6/xml/etree/ElementTree.py", line 964, in
/2.6/lib/python2.6/xml/etree/ElementTree.py", line 1254, in
self._parser.Parse("", 1) # end of data
no element found: line 1, column 0
More information about the grass-dev