Ask Your Question
3

Catkin BFL build fails - 'NoneType' object has no attribute 'rfind'

asked 2013-03-04 00:27:16 -0500

ND Guthrie gravatar image

updated 2013-03-04 04:23:55 -0500

KruseT gravatar image

Hi guys,

Thanks for reading my question.

I'm attempting to install ROS on Ubuntu 12.04 on a Pandaboard ES REV B.

I've followed the manual here to install from source.

At the moment, I am at step 3.1.3 Building the Catkin Workspace. I run the command

$ sudo ./src/catkin/bin/catkin_make_isolated --install-space /opt/ros/groovy

from my directory:

$ /opt/ros/groovy/ros_catkin_ws 


pandaboardalpha@pandaboardalpha:/opt/ros/groovy/ros_catkin_ws$ sudo ./src/catkin/bin/catkin_make_isolated  --install-space /opt/ros/groovy
Base path: /opt/ros/groovy/ros_catkin_ws
Source space: /opt/ros/groovy/ros_catkin_ws/src
Build space: /opt/ros/groovy/ros_catkin_ws/build_isolated
Devel space: /opt/ros/groovy/ros_catkin_ws/devel_isolated
Install space: /opt/ros/groovy
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  traversing packages in topological order:
~~  - bfl (plain cmake)
~~  - catkin
[..]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Warning: packages or cmake arguments have changed, forcing cmake
==> Processing plain cmake package: 'bfl'
==> Creating build directory: 'build_isolated/bfl'
==> cmake /opt/ros/groovy/ros_catkin_ws/src/bfl -DCMAKE_INSTALL_PREFIX=/opt/ros/groovy
/ros_catkin_ws/devel_isolated/bfl
==> make -j2 -l2 in '/opt/ros/groovy/ros_catkin_ws/build_isolated/bfl'
==> make install in '/opt/ros/groovy/ros_catkin_ws/build_isolated/bfl'
==> Generating an env.sh
<== Failed to process package 'bfl': 
  'NoneType' object has no attribute 'rfind'
Command failed, exiting.
pandaboardalpha@pandaboardalpha:/opt/ros/groovy/ros_catkin_ws$

I just wondered if anyone else had this error. The bfl package actually installs properly, since I found it in /opt/ros/groovy/ros_catkin_ws/build_isolated.

I guess the problem is in the generation of "env.sh", but I don't know enough about it to know.

The end goal is to install openni on the board an interface with the Kinect, so if there's a simpler better way to go about it, I'm all ears!

Thank you for reading this far!!!

Best, Nathan

edit retag flag offensive close merge delete

5 Answers

Sort by ยป oldest newest most voted
2

answered 2013-03-04 04:42:41 -0500

Vincent Rabaud gravatar image

ok, the bug is actually in catkin 0.5.63, we're about to release a fix I think.

edit flag offensive delete link more

Comments

Also follow this issue maybe, in case you get the same problem: https://github.com/ros/catkin/issues/374

KruseT gravatar image KruseT  ( 2013-03-04 10:30:29 -0500 )edit

YES - I have 'build' and 'devel' folders appear also. Will run more tests and update soon. Thanks!

ND Guthrie gravatar image ND Guthrie  ( 2013-03-04 10:52:47 -0500 )edit
0

answered 2015-01-20 07:21:22 -0500

same problem installing groovy on OS X yosemite

edit flag offensive delete link more
0

answered 2013-03-08 08:23:15 -0500

Josh gravatar image

FYI, I just ran into the same problem installing ROS on Raspian.

edit flag offensive delete link more

Comments

Same issue here trying to install ROS groovy on a Mac with Homebrew

ubuntuslave gravatar image ubuntuslave  ( 2013-03-17 15:59:07 -0500 )edit
0

answered 2013-03-23 07:41:05 -0500

berkeley110 gravatar image

Same problem installing groovy on Beaglebone with Ubuntu 12.10

edit flag offensive delete link more
0

answered 2013-03-23 20:23:08 -0500

FranciscoD gravatar image

I replaced the catkin that wstool had downloaded with the git clone:

$ cd ros_catkin_ws/src/
$ rm -rf catkin
$ git clone https://github.com/ros/catkin.git
$ cd ../
$ ./src/catkin/bin/catkin_make_isolated --install -DSETUPTOOLS_DEB_LAYOUT=OFF

It's running now. Didn't get hung on bfl

edit flag offensive delete link more

Comments

Failed to process package 'catkin':

Masoume25 gravatar image Masoume25  ( 2015-01-20 09:03:05 -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

2 followers

Stats

Asked: 2013-03-04 00:27:16 -0500

Seen: 661 times

Last updated: Mar 23 '13