rospack find throws exception error
rospack find
is giving runtime errors on my beaglebone board. Other rospack commands are running fine like rospack depends.
and here is the error message :
debian@beaglebone:~/catkin_ws$ rospack find
terminate called after throwing an instance of 'rospack::Exception'
what(): error parsing manifest of package class_loader at /home/debian/ros_catkin_ws/install_isolated/share/class_loader/package.xml
Aborted
also after writing $rosrun and pressing tab it is throwing exception error written below :
debian@beaglebone:~/catkin_ws$ rosrun terminate called after throwing an instance of 'rospack::Exception'
what(): error parsing manifest of package class_loader at /home/debian/ros_catkin_ws/install_isolated/share/class_loader/package.xml
although $ rosrun <pkg_name> <node_name> is running completely fine when typing the whole command without using tab with using tab the console is like this ;
debian@beaglebone:~/catkin_ws$ rosrun ros_o3d_wall_f find: '': No such file or directory
o3d-find: '': No such file or directory
find: '': No such file or directory
o3d-pub o3d-sub
here i pressed tab after $rosrun ros_o3d_wall_f . And then there was this line added find: no such file or directory
then again i pressed tab and line added was o3d-find: no such file or directory
and when i pressed tab for the third time it should me the two nodes o3d -pub and o3d-sub.
can someone explain me this anomalous behavior.
i have installed ros on my board from source files as apt-get repository was unable to find it.
I used the http://wiki.ros.org/lunar/Installatio... tutorial to install ros-desktop-full from source files. for my beaglebone board. Although its running fine on my desktop but on the board its throwing error.
Should i build the package again to avoid this error and if so what other packages and dependencies i need to update . Also i don't know how to remove the installed package as i used $catkin_make_install_isolated
command and not the $catkin build
command to build the work space so $catkin clean
won't work.
Here are the contents of the package.xml file mentioned above in the error.
<?xml version="1.0"?>
<?xml-model href="http://download.ros.org/schema/package_format2.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="2">
<name>class_loader</name>
<version>0.3.8</version>
<description>
The class_loader package is a ROS-independent package for loading plugins during runtime and the foundation of the higher level ROS "pluginlib" library. class_loader utilizes the host operating system's runtime loader to open runtime libraries (e.g. .so/.dll files), introspect the library for exported plugin classes, and allows users to instantiate objects of said exported classes without the explicit declaration (i.e. header file) for those classes.
</description>
<maintainer email="mikael@osrfoundation.org">Mikael Arguedas</maintainer>
<author>Mirza Shah</author>
<license>BSD</license>
<url type="website">http://ros.org/wiki/class_loader</url>
<url type="bugtracker">https://github.com/ros/class_loader/issues</url>
<url type="repository">https://github.com/ros/class_loader</url>
<buildtool_depend version_gte="0.5.68">catkin</buildtool_depend>
<build_depend version_gte="0.3.3">cmake_modules</build_depend>
<depend>boost</depend>
<depend>libconsole-bridge-dev</depend>
<depend>libpoco-dev</depend>
</package>
I've re-formatted to make your output more readable ;). Then, it may worth running
rospack profile
command after building (ref).Please do not double post your question. You have already asked the same question here: https://github.com/ros/rospack/issues/86 In that ticket you have also been asked to provide specific information. Please do so otherwise others can't help you with your question.
rospack profile is also giving the same error as mentioned above @130s
if somebody could explain me that when these exception error occurs maybe then i'll get my way @Dirk Thomas
The error you're getting usually means that the package.xml file has an error. Now that you've added it to you question, I don't see anything obviously wrong with it. I suppose this could be an issue with the permissions on that file, or it could be an issue with the XML format headers.
It's a bit of a shot in the dark, but you might want to try removing the first two lines from this package.xml to see if that helps. (If it does, that indicates a bug in rospack or the package.xml).
?
i tried commenting the top two lines and interestingly now the parse error exception is not on that file. It came from file at smclib package and after resolving that on bondpy, pluginlib, actionlib one by one. Now i cannot uncomment from all package.xml files. Could it be version error. @ahendrix