dabo Commit
Revision 7009
Date: 2011-12-08 08:58:56 -0800 (Thu, 08 Dec 2011)
Author: Paul
Trac: http://trac.dabodev.com/changeset/7009
Changed:
U trunk/dabo/ui/uiwx/dForm.py
Log:
Received this error report from customer today:
Traceback (most recent call last):
File "C:\ss\build\pyi.win32\sbs_studio\outPYZ8.pyz/wx._misc", line 1358, in
Notify
File "C:\ss\build\pyi.win32\sbs_studio\outPYZ8.pyz/wx._core", line 14771, in
Notify
File "C:\ss\build\pyi.win32\sbs_studio\outPYZ8.pyz/dabo.ui.uiwx", line 316,
in ca_func
File "C:\ss\build\pyi.win32\sbs_studio\outPYZ8.pyz/dabo.ui.uiwx.dForm", line
132, in update
<type 'exceptions.TypeError'>: super(type, obj): obj must be an instance or
subtype of type
I think that it must have been called-after to a now-dead object, in which case
it's
appropriate to ignore.
Diff:
Modified: trunk/dabo/ui/uiwx/dForm.py
===================================================================
--- trunk/dabo/ui/uiwx/dForm.py 2011-12-07 22:39:16 UTC (rev 7008)
+++ trunk/dabo/ui/uiwx/dForm.py 2011-12-08 16:58:56 UTC (rev 7009)
@@ -129,7 +129,13 @@
if interval:
dabo.ui.callAfterInterval(interval, self.update, 0)
else:
- super(BaseForm, self).update()
+ try:
+ super(BaseForm, self).update()
+ except TypeError:
+ # I think I'm dealing with a deadobject error.
Sometimes getting:
+ # <type 'exceptions.TypeError'>: super(type,
obj): obj must be an instance
+ # or subtype of type
+ pass
def confirmChanges(self, bizobjs=None):
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]