Opened 11 years ago

Closed 11 years ago

#2003 closed defect (fixed)

wxGUI carto composer: traceback on exit

Reported by: hamish Owned by: grass-dev@…
Priority: minor Milestone: 6.4.3
Component: wxGUI Version: svn-releasebranch64
Keywords: cartographic composer Cc:
CPU: x86-64 Platform: Linux

Description

Hi,

I notice a traceback when exiting the wx cartographic composer.

Traceback (most recent call last):
  File "/usr/lib64/python2.6/dist-
packages/wx-2.8-gtk2-unicode/wx/_misc.py", line 1342, in
Notify

self.notify()
  File "/usr/lib64/python2.6/dist-
packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14716, in
Notify

self.result = self.callable(*self.args, **self.kwargs)
  File "/home/hamish/src/grass/svn/relbr_6_4/dist.x86_64
-unknown-linux-gnu/etc/wxpython/psmap/frame.py", line 371,
in <lambda>

wx.CallLater(4000, lambda: self.SetStatusText("", 0))
  File "/usr/lib64/python2.6/dist-
packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14564, in
__getattr__

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

steps: start g.gui, select carto composer, make a map box, select a vector map (I chose a points map from PERMANENT), preview ">", then close the composer using the button on the far right. After a second the traceback then appears in the wxgui output tab. (sometimes I have to do that 2-3 times for it to show up)

Hamish

Change History (3)

comment:1 by annakrat, 11 years ago

Should be fixed in r56799 in grass 7. Please test.

in reply to:  1 ; comment:2 by hamish, 11 years ago

Replying to annakrat:

Should be fixed in r56799 in grass 7. Please test.

I tried applying the patch by hand in a linux 6.4.3svn build:

ran it twice without the patch, got the error both times; ran 5 times with the patch, no errors.

problem seems solved. thanks.

Hamish

in reply to:  2 comment:3 by annakrat, 11 years ago

Resolution: fixed
Status: newclosed

Replying to hamish:

Replying to annakrat:

Should be fixed in r56799 in grass 7. Please test.

I tried applying the patch by hand in a linux 6.4.3svn build:

ran it twice without the patch, got the error both times; ran 5 times with the patch, no errors.

problem seems solved. thanks.

backported in r56811-2.

Hamish

Note: See TracTickets for help on using tickets.