Ask Your Question
2

raise IOError("could not find %s on the ros package path" % msg_pkg_name). Ros is not capable to find a package in the ros_package_path

asked 2015-10-19 10:16:58 -0500

masihec gravatar image

updated 2015-10-20 03:48:19 -0500

gvdhoorn gravatar image

Hi,

I'm trying to build my catkin workspace on ROS Indigo, but now the package ericc_rosserial fail to build. I don't know why.

Can you help me to fix this problem.

Here is the output of my terminal :

[  0%] [  0%] Built target _ericc_rosserial_generate_messages_check_deps_ericc_trajectory_msg
Built target _ericc_rosserial_generate_messages_check_deps_ericc_single_pos
[  0%] Built target std_msgs_generate_messages_cpp
[  0%] Built target std_msgs_generate_messages_py
[  9%] Generating Java gradle project from ericc_rosserial
[  9%] Built target std_msgs_generate_messages_lisp
[ 18%] Generating Java gradle project from ericc_rosserial
WARNING: Package "ompl" does not follow the version conventions. It should not contain leading zeros (unless the number is 0).
WARNING: Package "ompl" does not follow the version conventions. It should not contain leading zeros (unless the number is 0).
Traceback (most recent call last):
  File "/opt/ros/indigo/share/genjava/cmake/../../../lib/genjava/genjava_gradle_project.py", line 14, in <module>
    genjava.main(sys.argv)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/genjava/genjava_main.py", line 82, in main
    gradle_project.create(args.package, args.output_dir)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/genjava/gradle_project.py", line 152, in create
    *****raise IOError("could not find %s on the ros package path" % msg_pkg_name)
IOError: could not find ericc_rosserial on the ros package path*****
make[2]: *** [ericc_rosserial/java/ericc_rosserial/build.gradle] Erreur 1
make[1]: *** [ericc_rosserial/CMakeFiles/ericc_rosserial_generate_messages_java.dir/all] Erreur 2
make[1]: *** Attente des tâches non terminées....
Traceback (most recent call last):
  File "/opt/ros/indigo/share/genjava/cmake/../../../lib/genjava/genjava_gradle_project.py", line 14, in <module>
    genjava.main(sys.argv)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/genjava/genjava_main.py", line 82, in main
    gradle_project.create(args.package, args.output_dir)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/genjava/gradle_project.py", line 152, in create
    raise IOError("could not find %s on the ros package path" % msg_pkg_name)
IOError: could not find ericc_rosserial on the ros package path
make[2]: *** [ericc_rosserial/java/ericc_rosserial/build.gradle] Erreur 1
make[1]: *** [ericc_rosserial/CMakeFiles/ericc_rosserial_generate_messages_java_gradle.dir/all] Erreur 2
make: *** [all] Erreur 2
Invoking "make -j2 -l2" failed
edit retag flag offensive close merge delete

Comments

Did you source your workspace's setup.bash?

dseifert gravatar image dseifert  ( 2015-10-20 03:18:37 -0500 )edit

Yes, i did but it doesn't make any changes! The error still appear.

masihec gravatar image masihec  ( 2015-10-20 08:46:56 -0500 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2017-01-09 21:47:30 -0500

ccxtum gravatar image

$ sudo apt-get remove ros-indigo-genjava

it works.

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

Question Tools

1 follower

Stats

Asked: 2015-10-19 10:16:58 -0500

Seen: 626 times

Last updated: Oct 20 '15