Traceback (most recent call last): File “/usr/local/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py”, line 14614, in
File “/usr/local/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/lib/scrolledpanel.py”, line 74, in _SetupAfter
File “/usr/local/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py”, line 14564, in getattr
wx._core.PyDeadObjectError: The C++ part of the ScrolledPanel object has been deleted, attribute access no longer allowed.
In my app, there is a scrolledpanel which is created and deleted at run time. Neither I am able to reproduce this bug (reported by user) nor I know the python line
which is producing this error in my app.
Don't destroy the scrolledpanel until there are no more pending events (or pending CallAfter's) for it.
···
On 10/15/11 4:21 AM, King wrote:
Hi,
python 2.6.2
wxpython 2.8.10.1
win and linux
This is the traceback:
Traceback (most recent call last): File
"/usr/local/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line
14614, in <lambda>
File
"/usr/local/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/lib/scrolledpanel.py",
line 74, in _SetupAfter
File
"/usr/local/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line
14564, in __getattr__
wx._core.PyDeadObjectError: The C++ part of the ScrolledPanel object has
been deleted, attribute access no longer allowed.
In my app, there is a scrolledpanel which is created and deleted at run
time. Neither I am able to reproduce this bug (reported by user) nor I
know the python line
which is producing this error in my app.