471,347 Members | 1,741 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,347 software developers and data experts.

Strange errors on exit

When I close my (gtk) program, I get errors like the below.
It seams that when the interpreter shuts down, it sets every variable to
None, but continues running the threads, (seems only in cases where
they've just been asleep)
I don't think this would be intended behavior?

Exception in thread Thread-4 (most likely raised during interpreter
shutdown):
Traceback (most recent call last):
File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap
File "/home/thomas/Programmering/python/skak/0.7/lib/pychess/System/
ThreadPool.py", line 49, in run
File "/usr/lib/python2.4/Queue.py", line 89, in put
File "/usr/lib/python2.4/threading.py", line 237, in notify
exceptions.TypeError: exceptions must be classes, instances, or strings
(deprecated), not NoneType
Unhandled exception in thread started by
Error in sys.excepthook:

Original exception was:
Jun 5 '07 #1
1 1280
En Tue, 05 Jun 2007 17:59:18 -0300, Thomas Dybdahl Ahle <lo****@gmail.com>
escribió:
When I close my (gtk) program, I get errors like the below.
It seams that when the interpreter shuts down, it sets every variable to
None, but continues running the threads, (seems only in cases where
they've just been asleep)
I don't think this would be intended behavior?

Exception in thread Thread-4 (most likely raised during interpreter
shutdown):
Traceback (most recent call last):
File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap
File "/home/thomas/Programmering/python/skak/0.7/lib/pychess/System/
ThreadPool.py", line 49, in run
File "/usr/lib/python2.4/Queue.py", line 89, in put
File "/usr/lib/python2.4/threading.py", line 237, in notify
exceptions.TypeError: exceptions must be classes, instances, or strings
(deprecated), not NoneType
Unhandled exception in thread started by
Error in sys.excepthook:

Original exception was:
Looks similar to this reported bug:
http://sourceforge.net/tracker/index...70&atid=105470
--
Gabriel Genellina

Jun 6 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Mahesh Hardikar | last post: by
24 posts views Thread by LineVoltageHalogen | last post: by
6 posts views Thread by Edd Dawson | last post: by
9 posts views Thread by sylsau | last post: by
28 posts views Thread by charlie | last post: by
2 posts views Thread by Andy Carlson | last post: by
9 posts views Thread by Keith G Hicks | last post: by
reply views Thread by Ronak mishra | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.