Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR when installing system dependencies on debian sid: #255

Open
alebarra opened this issue Jul 2, 2013 · 5 comments
Open

ERROR when installing system dependencies on debian sid: #255

alebarra opened this issue Jul 2, 2013 · 5 comments

Comments

@alebarra
Copy link

alebarra commented Jul 2, 2013

This is from higher-level tools install, started today from fresh:

~/ros-underlay/build$ rosdep install -a

ERROR: Rosdep experienced an error: Path "/opt/ros/fuerte/share/rospack" is neither a directory containing a "package.xml" file nor a file
Please go to the rosdep page [1] and file a bug report with the stack trace below.
[1] : http://www.ros.org/wiki/rosdep

rosdep version: 0.10.19

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/rosdep2/main.py", line 118, in rosdep_main
exit_code = _rosdep_main(args)
File "/usr/local/lib/python2.7/dist-packages/rosdep2/main.py", line 263, in _rosdep_main
return _package_args_handler(command, parser, options, args)
File "/usr/local/lib/python2.7/dist-packages/rosdep2/main.py", line 347, in _package_args_handler
return command_handlers[command](lookup, packages, options)
File "/usr/local/lib/python2.7/dist-packages/rosdep2/main.py", line 512, in command_install
uninstalled, errors = installer.get_uninstalled(packages, implicit=options.recursive, verbose=options.verbose)
File "/usr/local/lib/python2.7/dist-packages/rosdep2/installers.py", line 401, in get_uninstalled
resolutions, errors = self.lookup.resolve_all(resources, installer_context, implicit=implicit)
File "/usr/local/lib/python2.7/dist-packages/rosdep2/lookup.py", line 364, in resolve_all
rosdep_keys = self.get_rosdeps(resource_name, implicit=implicit)
File "/usr/local/lib/python2.7/dist-packages/rosdep2/lookup.py", line 286, in get_rosdeps
return self.loader.get_rosdeps(resource_name, implicit=implicit)
File "/usr/local/lib/python2.7/dist-packages/rosdep2/rospkg_loader.py", line 131, in get_rosdeps
pkg = catkin_pkg.package.parse_package(path)
File "/usr/local/lib/python2.7/dist-packages/catkin_pkg/package.py", line 311, in parse_package
raise IOError('Path "%s" is neither a directory containing a "%s" file nor a file' % (path, PACKAGE_MANIFEST_FILENAME))
IOError: Path "/opt/ros/fuerte/share/rospack" is neither a directory containing a "package.xml" file nor a file

@dirk-thomas
Copy link
Member

Can you please describe in more detail what you did when you got the mentioned stacktrace?

On a first look it seems that you have mixed something up: you have a path pointing to Fuerte but expecting a package.xml file - that does not fit together. Please double check your environment.

@tfoote
Copy link
Member

tfoote commented Jul 2, 2013

What is your environment and workspace? You have a reference to /opt/ros/fuerte in your stack trace. Did you have it in the past but remove it?

@alebarra
Copy link
Author

alebarra commented Jul 2, 2013

This is the first time i install ros infrastructure, this is a new fresh install, so i never install it before.
I follow the procedure described at http://www.ros.org/wiki/fuerte/Installation/Debian, without error or warning, except one error, resolved in according with thread ros/ros_comm#10, I've edited recorder.cpp and after compiling works fine.

my env settings in bash are (with printenv | grep ros) :

ROS_ROOT=/opt/ros/fuerte/share/ros

ROS_PACKAGE_PATH=/home/alez/ros/navigation:/home/alez/ros/diagnostics:/home/alez/ros/common:/home/alez/ros/robot_model_tutorials:/home/alez/ros/laser_pipeline:/home/alez/ros/simulator_gazebo:/home/alez/ros/visualization_tutorials:/home/alez/ros/geometry:/home/alez/ros/pluginlib:/home/alez/ros/bullet:/home/alez/ros/robot_model:/home/alez/ros/xacro:/home/alez/ros/image_transport_plugins:/home/alez/ros/dynamic_reconfigure:/home/alez/ros/stage:/home/alez/ros/executive_smach:/home/alez/ros/driver_common:/home/alez/ros/physics_ode:/home/alez/ros/visualization_common:/home/alez/ros/python_qt_binding:/home/alez/ros/bond_core:/home/alez/ros/image_common:/home/alez/ros/geometry_visualization:/home/alez/ros/common_rosdeps:/home/alez/ros/diagnostics_monitors:/home/alez/ros/bfl:/home/alez/ros/image_pipeline:/home/alez/ros/common_tutorials:/home/alez/ros/robot_model_visualization:/home/alez/ros/geometry_experimental:/home/alez/ros/perception_pcl:/home/alez/ros/vision_opencv:/home/alez/ros/visualization:/home/alez/ros/executive_smach_visualization:/home/alez/ros/slam_gmapping:/home/alez/ros/filters:/home/alez/ros/orocos_kinematics_dynamics:/home/alez/ros/geometry_tutorials:/home/alez/ros/nodelet_core:/opt/ros/fuerte/stacks:/opt/ros/fuerte/share:/opt/ros/fuerte/share/ros

ROSLISP_PACKAGE_DIRECTORY=/opt/ros/fuerte/share/common-lisp/ros

ROS_MASTER_URI=http://localhost:11311

ROSLISP_PACKAGE_DIRECTORY=/opt/ros/fuerte/share/common-lisp/ros

OLDPWD=/home/alez/ros-underlay

ROS_WORKSPACE=/home/alez/ros

LD_LIBRARY_PATH=/opt/ros/fuerte/lib:/opt/ros/fuerte/lib:/opt/ros/fuerte/lib:/opt/ros/fuerte/lib:/opt/ros/fuerte/lib:/opt/ros/fuerte/lib:/opt/ros/fuerte/lib:/opt/ros/fuerte/lib:/opt/ros/fuerte/lib:

PATH=/opt/ros/fuerte/bin:/opt/ros/fuerte/bin:/opt/ros/fuerte/bin:/opt/ros/fuerte/bin:/opt/ros/fuerte/bin:/opt/ros/fuerte/bin:/opt/ros/fuerte/bin:/opt/ros/fuerte/bin:/opt/ros/fuerte/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/alez/cuda/cuda-5.0/bin:~/bin

PWD=/home/alez/ros-underlay/build

ROS_DISTRO=fuerte

PYTHONPATH=/opt/ros/fuerte/lib/python2.7/dist-packages:/opt/ros/fuerte/lib/python2.7/dist-packages:/opt/ros/fuerte/lib/python2.7/dist-packages:/opt/ros/fuerte/lib/python2.7/dist-packages:/opt/ros/fuerte/lib/python2.7/dist-packages:/opt/ros/fuerte/lib/python2.7/dist-packages:/opt/ros/fuerte/lib/python2.7/dist-packages:/opt/ros/fuerte/lib/python2.7/dist-packages:/opt/ros/fuerte/lib/python2.7/dist-packages:

PKG_CONFIG_PATH=/opt/ros/fuerte/lib/pkgconfig:/opt/ros/fuerte/lib/pkgconfig:/opt/ros/fuerte/lib/pkgconfig:/opt/ros/fuerte/lib/pkgconfig:/opt/ros/fuerte/lib/pkgconfig:/opt/ros/fuerte/lib/pkgconfig:/opt/ros/fuerte/lib/pkgconfig:/opt/ros/fuerte/lib/pkgconfig:/opt/ros/fuerte/lib/pkgconfig:

CMAKE_PREFIX_PATH=/opt/ros/fuerte/share/catkin/cmake/Modules:/opt/ros/fuerte:/opt/ros/fuerte/share/catkin/cmake/Modules:/opt/ros/fuerte:/opt/ros/fuerte/share/catkin/cmake/Modules:/opt/ros/fuerte:/opt/ros/fuerte/share/catkin/cmake/Modules:/opt/ros/fuerte:/opt/ros/fuerte/share/catkin/cmake/Modules:/opt/ros/fuerte:/opt/ros/fuerte/share/catkin/cmake/Modules:/opt/ros/fuerte:/opt/ros/fuerte/share/catkin/cmake/Modules:/opt/ros/fuerte:/opt/ros/fuerte/share/catkin/cmake/Modules:/opt/ros/fuerte:/opt/ros/fuerte/share/catkin/cmake/Modules:/opt/ros/fuerte:

ROS_ETC_DIR=/opt/ros/fuerte/etc/ros

@nicmel
Copy link

nicmel commented Aug 30, 2013

I have exactly the same issue trying to install fuerte on debian 6.
I guess it's looking for the bad .xml file, but I can't find out why

@nicmel
Copy link

nicmel commented Aug 30, 2013

A remove the line from the file /opt/ros/fuerte/share/rospack/manifest.xml

Now it's better but I have others errors for a series of packets: "No definition of [eigen] for OS version [] "

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants