Ticket #86 (new defect)

Opened 4 years ago

Last modified 4 months ago

d.rast.edit.tcl: doesn't start from wxPython without aspect map

Reported by: hamish Owned by: grass-dev@…
Priority: major Milestone: 6.4.3
Component: wxGUI Version: 6.4.0 RCs
Keywords: d.rast.edit, wingrass Cc:
Platform: MSWindows XP CPU: Unspecified

Description

this was doc issue # 406 on the old Gforge tracker. Moving it here

Hi,

there's a fancy new Tcl d.rast.edit module in CVS, but its scripts/d.rast.edit/description.html file is mostly empty.

The relevant bits need to be "ported" from the old C version, in display/d.rast.edit/description.html. Lots of that will be irrelevant, so a straight copy is no good.

e.g. explain what the aspect option is used for.

thanks,

Hamish

Change History

Changed 4 years ago by hamish

  • type changed from defect to task

Changed 3 years ago by hamish

  • component changed from Docs to Tcl
  • summary changed from d.rast.edit: new script needs docs ported from old C module to d.rast.edit.tcl: doesn't start from wxPython without aspect map
  • platform set to Unspecified
  • version changed from unspecified to 6.4.0 RCs
  • type changed from task to defect
  • cpu set to Unspecified

help page edits done in r36170 etc. grass7 wxpython version of d.rast.edit needs to be checked for compatibility.

from the wxpython gui in 6.4.0rc3 WinGrass, trying to launch d.rast.edit.tcl gives an error:

Error in startup script
no such variable
(read trace on "env(GIS_OPT_ASPECT)")
invoked from within "set aspect $env(GIS_OPT_ASPECT)"
(file "C:/OSGeo4W/.../etc/d.rast.edit.tcl line 15)
[OK]

aspect= should be optional.

Hamish

Changed 4 months ago by hamish

  • keywords d.rast.edit, wingrass added
  • platform changed from Unspecified to MSWindows XP
  • milestone changed from 6.4.0 to 6.4.3

in the 6.4.2rc3 standalone wingrass installer Raster -> Change cat values and labels -> Interactively edit cat values (launches Glynn's tcl/tk d.rast.edit tool) still gives the same "aspect map" error. if you give it an aspect map then it starts up ok.

it works ok for me on linux.

Hamish

Changed 4 months ago by hamish

  • component changed from Tcl/Tk to wxGUI
Note: See TracTickets for help on using tickets.