By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,675 Members | 2,270 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,675 IT Pros & Developers. It's quick & easy.

Strange errors on exit

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.