Ask Your Question
1

Setup.bash and Arch Linux

asked 2012-03-30 02:37:29 -0500

Andrea gravatar image

updated 2014-01-28 17:11:48 -0500

ngrennan gravatar image

Hello, I'm a new Ros-user. I installed it with success, but I have a problem. When I give in input in my shell source ~/ros/setup.bash I obtain as answer this:

Traceback (most recent call last): File "<stdin>", line 17, in <module> File "<stdin>", line 17, in <listcomp> TypeError: 'dict_keys' object does not support indexing rospack could not be found, you cannot have rosbash features until you bootstrap ros

And nothing works. If I type the command again all works and I don't receive any error messages.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2012-03-30 11:57:11 -0500

kwc gravatar image

IIRC, Arch Linux has Python 3 by default, which creates compatibility issues with ROS. I am not an Arch user, but I imagine some bug tickets (and patches) are necessary to be compatible with Arch in this case.

edit flag offensive delete link more
1

answered 2012-05-13 19:40:43 -0500

Erwin Lopez gravatar image

I experienced similar problems. The solution, at least for setup.sh, is change line 13 to point python2 instead of python3, just by changing that line to this

export _PARSED_CONFIG=`/usr/bin/env python2 << EOPYTHON
edit flag offensive delete link more

Your Answer

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

Add Answer

[hide preview]

Stats

Asked: 2012-03-30 02:37:29 -0500

Seen: 430 times

Last updated: May 13 '12