Opened 8 years ago

Closed 8 years ago

#2789 closed defect (fixed)

tplot doesnt unregistrate cursor(coor,cats)

Reported by: krejcmat Owned by: grass-dev@…
Priority: normal Milestone: 7.0.2
Component: wxGUI Version: unspecified
Keywords: g.gui.tplot Cc: lucadeluge@…
CPU: x86-64 Platform: Linux


In case of using cursor for selecting coor or cats interactively after close g.gui.tplot cursor is not unregistered from map display.

Traceback (most recent call last):
  File "/home/matt/grass_trunk/dist.i686-pc-linux-
gnu/gui/wxpython/gui_core/", line 177, in OnTool

  File "/home/matt/grass_trunk/dist.i686-pc-linux-
gnu/gui/wxpython/gui_core/", line 353, in

  File "/usr/lib/python2.7/dist-
packages/wx-2.8-gtk2-unicode/wx/lib/", line 537,
in SetToggle

  File "/usr/lib/python2.7/dist-
packages/wx-2.8-gtk2-unicode/wx/", line 14615, in

raise PyDeadObjectError(self.attrStr % self._name)
The C++ part of the ThemedGenBitmapToggleButton object has
been deleted, attribute access no longer allowed.

Fix diff is attached. Thanks Matej

Attachments (1)

tplot.diff (801 bytes ) - added by krejcmat 8 years ago.

Download all attachments as: .zip

Change History (3)

by krejcmat, 8 years ago

Attachment: tplot.diff added

comment:1 by neteler, 8 years ago

Keywords: g.gui.tplot added
Milestone: 7.0.2

comment:2 by lucadelu, 8 years ago

Resolution: fixed
Status: newclosed

Thanks Matej, applied in r66679.

Closing it

Note: See TracTickets for help on using tickets.