Opened 14 years ago

Closed 14 years ago

#1299 closed defect (fixed)

Provide user-friendly error message when trying to edit vectors in Windows

Reported by: marisn Owned by: martinl
Priority: normal Milestone: 6.4.1
Component: wxGUI Version: svn-releasebranch64
Keywords: wingrass, digitizer Cc: grass-dev@…
CPU: Unspecified Platform: MSWindows Vista

Description

WxGUI should provide some nice error message or completly disable "Start editing" for vector layers in Layer manager. Current backtrace is not user-friendly.

WinGRASS-6.4.SVN-r45559-1

Traceback (most recent call last):
  File "c:/osgeo4w/usr/src/grass64_release/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/layertree.py", line 539, in
OnStartEditing
  File "c:/osgeo4w/usr/src/grass64_release/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/mapdisp.py", line 333, in
AddToolbar
AttributeError
:
'MapFrame' object has no attribute 'mapdisplay'

Change History (3)

comment:1 by martinl, 14 years ago

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

Hopefully fixed in r45566.

comment:2 by hellik, 14 years ago

Keywords: wingrass added

comment:3 by martinl, 14 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.