KelSolaar/sIBL_GUI — Issue #148: Fix drag'n'drop in "collectionsOutliner" Component.
Author: KelSolaar
Created: 2012-01-12 19:05:24+00:00
State: open
Labels: Defect, Overall

Drag'n'drop is broken in "collectionsOutliner" Component because the "foundations.dataStructures.Structure" class is not pickable since the memory leak issue.

Traceback (most recent call last):
File "sIBL_GUI.py", line 288, in
("core.databaseBrowser",))
File "/Users/KelSolaar/Documents/Developement/sIBL_GUI/src/umbra/engine.py", line 1661, in run
return sys.exit(RuntimeGlobals.application.exec_())
File "/Users/KelSolaar/Documents/Developement/sIBL_GUI/src/sibl_gui/components/core/collectionsOutliner/views.py", line 196, in dropEvent
nodes = pickle.loads(event.mimeData().data("application/x-umbragraphmodeldatalist"))
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py", line 1382, in loads
return Unpickler(file).load()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py", line 858, in load
dispatch[key](self)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py", line 1215, in load_build
setstate = getattr(inst, "__setstate__", None)
File "/Users/KelSolaar/Documents/Developement/sIBL_GUI/src/foundations/dataStructures.py", line 144, in __getattr__
return self[attribute]
KeyError: '__setstate__'