[Tutor] PyDeadObjectError: MainFrame deleted

Paul LaBerge paul at labergedaylight.com
Wed Jan 14 22:48:10 CET 2015


I was using a python script created GUI. The GUI locked up and produced the following message when I closed it. 
Can someone tell me if the “MainFrame” object is in the GUI or part of Python ? It looks like I need to reinstall something, but I’m not sure what that is from this message. 



Pauls:PaulSan ~$ cd '/Users/OpenDAQ/opendaq-gui-master/easy_daq/' && '/usr/local/bin/pythonw'  '/Users/OpenDAQ/opendaq-gui-master/easy_daq/main.py'  && echo Exit status: $? && exit 1

Error trying to stop. Retrying

Exception in thread Thread-1:

Traceback (most recent call last):

 File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_inner


 File "/Users/OpenDAQ/opendaq-gui-master/easy_daq/main.py", line 232, in run


 File "/usr/local/lib/wxPython-", line 16709, in __getattr__

   raise PyDeadObjectError(self.attrStr % self._name)

PyDeadObjectError: The C++ part of the MainFrame object has been deleted, attribute access no longer allowed.

Exit status: 0


[Process completed]

More information about the Tutor mailing list