Opened 8 years ago

Last modified 5 years ago

#3259 new defect

r.mapcalc graphical versio does not work with eval

Reported by: marisn Owned by: grass-dev@…
Priority: normal Milestone: 7.8.3
Component: wxGUI Version: svn-trunk
Keywords: r.mapcalc Cc:
CPU: Unspecified Platform: Unspecified

Description

When using r.mapcalc wxgui version, it is not possible to utilize eval functionality. A valid mapcalc expression working from cli and failing from gui:

eval(a=1)
out=a

The reason is actual mapcalc expression executed:

r.mapcalc --overwrite expression=out = eval(a=1) out=a                          
syntax error
Parse error
ERROR: parse error

Change History (9)

comment:1 by martinl, 8 years ago

Milestone: 7.2.17.2.2

comment:2 by neteler, 7 years ago

Milestone: 7.2.27.2.3

Ticket retargeted after milestone closed

comment:3 by martinl, 7 years ago

Milestone: 7.2.3

Ticket retargeted after milestone closed

comment:4 by martinl, 7 years ago

Milestone: 7.2.4

comment:5 by marisn, 5 years ago

Milestone: 7.2.47.8.1

Ahh. The fun of hitting a bug and then realising that I have reported it already some years a go. Bumping up milestone as it seems that no work on this is going on anyway.

comment:6 by annakrat, 5 years ago

I don't think the problem is eval, I was able to run eval in r.mapcalc gui. What causes the problem I think are the new lines in your example.

comment:7 by neteler, 5 years ago

Milestone: 7.8.17.8.2

Ticket retargeted after milestone closed

comment:8 by neteler, 5 years ago

Milestone: 7.8.2

Ticket retargeted after milestone closed

comment:9 by neteler, 5 years ago

Milestone: 7.8.3
Note: See TracTickets for help on using tickets.