Ask Your Question
1

Exception AttributeError when starting roscore

asked 2012-06-08 06:09:29 -0500

sl0w gravatar image

updated 2012-06-08 06:45:30 -0500

joq gravatar image

I am new to ROS and am going through the tutorials. I have just attempted to start roscore and am receiving the following error:

*auto-starting new master
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[master]: started with pid [3719]
ROS_MASTER_URI=http://localhost:11311/
setting /run_id to 897134ae-b183-11e1-9fcb-00269ed0509d
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[rosout-1]: started with pid [3732]
started core service [/rosout]*

After this last line, it seems that the process hangs. I can input new commands but no output is displayed.

I also ran these commands before running the roscore command:

$ export ROS_HOSTNAME=localhost
$ export ROS_MASTER_URI=http://localhost:11311

Any suggestions would be appreciated.

edit retag flag offensive close merge delete

Comments

Despite the annoying error message, there is nothing apparently wrong here. Roscore is running, so you need to open another terminal window for other commands to have an immediate effect.

joq gravatar image joq  ( 2012-06-08 06:47:25 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2012-06-08 06:17:33 -0500

dornhege gravatar image

updated 2012-06-08 06:18:14 -0500

This seems to be the same as this and should be harmless.

edit flag offensive delete link more
0

answered 2012-06-08 06:31:56 -0500

sl0w gravatar image

updated 2012-06-08 06:51:04 -0500

It looks similar... but when I attempt to run commands, everything seems "hung". I've attempted to run $ rosnode info /rosout and rosrun turtlesim and have gotten no output at all.

edit Ok. To clarify, after running roscore, all subsequent commands must be run in a secondary terminal?

edit flag offensive delete link more

Comments

Yes, unless you start it in a background. Otherwise you can't enter commands.

dornhege gravatar image dornhege  ( 2012-06-08 07:07:59 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-06-08 06:09:29 -0500

Seen: 1,211 times

Last updated: Jun 08 '12