[PyKDE] AttributeError: sipThis
Stephen Green
estebanverde at hotmail.com
Fri Jun 28 02:19:01 BST 2002
I get the following error when I'm trying to run the constructor of
QCanvasSprite from __setstate__() in my subclass. I'm trying to use pickle
to save the class, so since Qt classes can't be pickled, I'm using
__getstate__() and __setstate__().
File "/usr/lib/python2.2/pickle.py", line 592, in load
dispatch[key](self)
File "/usr/lib/python2.2/pickle.py", line 943, in load_build
setstate(value)
File "CanvasPoint.py", line 179, in __setstate__
QCanvasSprite.__init__(self, self.pixmapArray, canvas)
File "/usr/lib/python2.2/site-packages/qtcanvas.py", line 79, in __init__
libqtcanvasc.sipCallCtor(7,self,args)
AttributeError: sipThis
Does anybody know how this may be caused?
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
More information about the PyQt
mailing list