Opened 2 years ago

Closed 20 months ago

#2782 closed defect (fixed)

modeler problems with variable

Reported by: lucadelu Owned by: grass-dev@…
Priority: normal Milestone: 7.0.4
Component: wxGUI Version: unspecified
Keywords: modeler Cc:
CPU: Unspecified Platform: Unspecified

Description

Using the modeler I found two problems with names for new map when command are loop and it use %map variable:

  • using something like %map.new in the python tab the .new is not recognized and I get an error during validation
  • using something like %map.%new where new is defined as variable in the python code there are to many quotes after the name

You can see the problem in the attached png and try it using the gxm file and north carolina landsat dataset.

Attachments (2)

problems.gxm (2.5 KB) - added by lucadelu 2 years ago.
problems.png (30.4 KB) - added by lucadelu 2 years ago.

Download all attachments as: .zip

Change History (9)

Changed 2 years ago by lucadelu

Attachment: problems.gxm added

Changed 2 years ago by lucadelu

Attachment: problems.png added

comment:1 Changed 2 years ago by neteler

Milestone: 7.0.27.0.3

Ticket retargeted after milestone closed

comment:2 Changed 22 months ago by martinl

Both issues should be fixed in r67470 (trunk). Please test. When confirmed I will backport it.

Last edited 22 months ago by martinl (previous) (diff)

comment:3 Changed 21 months ago by neteler

Milestone: 7.0.3

Ticket retargeted after milestone closed

comment:4 Changed 21 months ago by neteler

Milestone: 7.0.4

Ticket retargeted after 7.0.3 milestone closed

comment:5 Changed 21 months ago by neteler

If tested, please backport r67470.

comment:6 Changed 20 months ago by lucadelu

Yes, it works, please backport

comment:7 Changed 20 months ago by martinl

Resolution: fixed
Status: newclosed

Done in r67835. Closing, feel free to reopen if needed.

Note: See TracTickets for help on using tickets.