[Tutor] PyDeadObjectError: MainFrame deleted

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


Hello,

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. 

Thanks,
Paul

____________

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

   self.run()

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

   frame.daq.flush()

 File "/usr/local/lib/wxPython-3.0.1.1/lib/python2.7/site-packages/wx-3.0-osx_cocoa/wx/_core.py", 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

logout

[Process completed]
____________


More information about the Tutor mailing list