Orange Forum • View topic - OWBaseWidget.py RuntimeError: underlying C/C++ ... deleted

OWBaseWidget.py RuntimeError: underlying C/C++ ... deleted

Report bugs (or imagined bugs).
(Archived/read-only, please use our ticketing system for reporting bugs and their discussion.)
Forum rules
Archived/read-only, please use our ticketing system for reporting bugs and their discussion.

OWBaseWidget.py RuntimeError: underlying C/C++ ... deleted

Postby spcshpopr8r » Wed Feb 23, 2011 23:41

when I run: python2 -vi /usr/lib/python2.7/site-packages/orange/OrangeCanvas/orngCanvas.pyw

I get:

Unhandled exception of type RuntimeError occured at 14:39:08:
Traceback:
File: orngCanvas.pyw, line 900 in <module>
Code: sys.exit(main())
File: orngCanvas.pyw, line 890 in main
Code: dlg = OrangeCanvasDlg(app)
File: orngCanvas.pyw, line 200 in __init__
Code: self.reportWindow = OWReport.ReportWindow()
File: OWBaseWidget.py, line 124 in __new__
Code: self.currentContexts = {} # the "currentContexts" MUST be the first thing assigned to a widget
File: OWBaseWidget.py, line 895 in __setattr__
Code: return unisetattr(self, name, value, QDialog)
File: OWBaseWidget.py, line 53 in unisetattr
Code: controlledAttributes = getattr(self, "controlledAttributes", None)
RuntimeError: underlying C/C++ object has been deleted

I'm on Arch linux and I'm pretty sure I've got all the dependencies installed and working properly. I'm kind of at a loss as to how to solve this problem and I'd really like to get orange-canvas running on my box (my friend got it working gentoo and I'm jealous). Any help would be much appreciated.

Re: OWBaseWidget.py RuntimeError: underlying C/C++ ... delet

Postby Mitar » Thu Feb 24, 2011 11:50

This might be because you are mixing your Python versions. So for which Python version has you compiled our C code and with which do you run it?


Return to Bugs