Opened 16 years ago

Closed 16 years ago

#408 closed defect (worksforme)

Profile tool does not work

Reported by: jachym Owned by: martinl
Priority: major Milestone: 6.4.0
Component: wxGUI Version: unspecified
Keywords: Cc: grass-dev@…
CPU: Unspecified Platform: Linux

Description

When trying the profile tool in wxPython GUI, I got

Traceback (most recent call last):
  File "/home/jachym/usr/src/grass/grass-6.4.0/dist.i686-pc-
linux-gnu/etc/wxpython/gui_modules/mapdisp.py", line 3728,
in Profile

style=wx.DEFAULT_FRAME_STYLE, rasterList=raster)
  File "/home/jachym/usr/src/grass/grass-6.4.0/dist.i686-pc-
linux-gnu/etc/wxpython/gui_modules/profile.py", line 155, in
__init__

if self.parent.projinfo['units'] != '':
AttributeError
:
'MapFrame' object has no attribute 'projinfo'

NOTE: testing in new 6.4. branch

Change History (2)

comment:1 by martinl, 16 years ago

Cc: grass-dev@… added
Owner: changed from grass-dev@… to martinl
Status: newassigned

Hopefully fixed in r34966 (relbr64) r34970 (devbr6) r34971 (trunk). Note that you have to set up computational region before drawing profile.

comment:2 by cmbarton, 16 years ago

Resolution: worksforme
Status: assignedclosed

I think that profile is fixed now in all active branches (>= 6.4). Please test.

Note: See TracTickets for help on using tickets.