[wingide-users] atexit and WingIDE?
Russell E. Owen
rowen at cesmail.net
Tue Apr 26 16:27:33 EDT 2005
Any hints on using the atexit module with WingIDE?
I find that my exit handler fails when run under WingIDE; it appears
that the "os" module has been purged. For example:
gcam exit handler running
Error in sys.exitfunc (called from debugger core):
Traceback (most recent call last):
File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/a
texit.py", line 20, in _run_exitfuncs
func(*targs, **kargs)
File "/Users/rowen/TUIRoot/TUI/Guide/GuideWdg.py", line 1125, in
_exitHandler
imObj.__del__()
File "/Users/rowen/TUIRoot/TUI/Guide/GuideWdg.py", line 188, in __del__
locPath = self.getLocalPath()
File "/Users/rowen/TUIRoot/TUI/Guide/GuideWdg.py", line 132, in
getLocalPath
return os.path.join(self.baseDir, self.imageName)
AttributeError: 'NoneType' object has no attribute 'path'
-- Russell
More information about the wingide-users
mailing list