Opened 3 years ago

Last modified 12 days 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.2
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 (7)

comment:1 Changed 3 years ago by martinl

Milestone: 7.2.17.2.2

comment:2 Changed 2 years ago by neteler

Milestone: 7.2.27.2.3

Ticket retargeted after milestone closed

comment:3 Changed 20 months ago by martinl

Milestone: 7.2.3

Ticket retargeted after milestone closed

comment:4 Changed 20 months ago by martinl

Milestone: 7.2.4

comment:5 Changed 5 weeks ago by marisn

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 Changed 3 weeks ago by annakrat

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 Changed 12 days ago by neteler

Milestone: 7.8.17.8.2

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.