robmcmullen/peppy — Issue #816: debug log sidebar dead object
Author: robmcmullen
Created: 2012-02-21 06:13:30+00:00
State: open
Labels: application

*[Trac time 20100106 050445Z]* Uncertain if I can reproduce this, but I closed a window that had multiple tabs, then opened a new window by using the send to other instance method.

Produced a new window and loaded the new file, but every subsequent file load raised an exception:
```
Traceback (most recent call last):
File "/usr/lib64/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14614, in
lambda event: event.callable(*event.args, **event.kw) )
File "/usr/lib64/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/lib/pubsub.py", line 811, in sendMessage
self.__topicTree.sendMessage(aTopic, message, onTopicNeverCreated)
File "/usr/lib64/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/lib/pubsub.py", line 498, in sendMessage
deliveryCount += node.sendMessage(message)
File "/usr/lib64/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/lib/pubsub.py", line 336, in sendMessage
listener(message)
File "/home/rob/src/peppy/peppy/plugins/error_log.py", line 180, in showError
if self.frame == frame:
File "/usr/lib64/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14564, in __getattr__
raise PyDeadObjectError(self.attrStr % self._name)
PyDeadObjectError: The C++ part of the DebugLogSidebar object has been deleted, attribute access no longer allowed.
```