Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.

Fix for Python threading error message bug.#17

Closed
hershwg wants to merge 1 commit intoros:masterfrom
hershwg:master
Closed

Fix for Python threading error message bug.#17
hershwg wants to merge 1 commit intoros:masterfrom
hershwg:master

Conversation

@hershwg
Copy link
Copy Markdown
Member

@hershwg hershwg commented Nov 5, 2012

This is a small patch to roslaunch/init.py which suppresses the message:

Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored

which Python 2.7.3 prints when using roslaunch.

See http://stackoverflow.com/questions/13193278/understand-python-threading-bug for details on the bug and this fix.

I know the "right" thing to do is wait for the Python people or the Ubuntu people to do another release, since it is already fixed in the Python source upstream, but who knows how long that will be. In the meantime the error message happens so frequently that it makes it hard to see where our real errors occur.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants