From: Bill B. <bi...@kg...> - 2002-03-30 17:27:54
|
Working thru the tutorial and got the following error message when adding wxMenu to data view. Happens each time I select the widget. It does appear, however, in the data view window The error message is repeated when selecting the menu entry in data view. The inspector does not come up. Dead in the water at this point. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> TypeError: unbound method properties() must be called with CollectionDTC instance as first argument (got MenuDTC instance instead) Traceback (most recent call last): TypeError: unbound method properties() must be called with CollectionDTC instance as first argument (got MenuDTC instance instead) File "Views/DataView.py", line 197, in OnObjectSelect self.updateSelection() File "Views/DataView.py", line 190, in updateSelection self.inspector.selectObject(self.objects[self.selection[0][0]][]0], false) File "Inspector.py", in line 222, in selectObject c_p = compn.getPropList() File "Companions/BaseCompanions.py", line 138, in getPropList propList = RTTI.getPropList(self.control, self) File "RTTI.py", line 145, in getPropList xtraProps = cmp.properties() File "Companions/UtilCompanions.py", line 220,in properties props = CollectionDTC.properties(self) TypeError: unbound method properties() must be called with CollectionDTC instance as first argument (got MenuDTC instance instead >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> TIA -Bill |