roslaunch error

asked 2018-01-15 04:11:19 -0500

Minji gravatar image

updated 2018-01-15 04:59:53 -0500

I tried to run roslaunch excavator_gazebo gazebo.launch (using kinetic)

But I got this error :

xacro: Traditional processing is deprecated. Switch to --inorder processing!
To check for compatibility of your document, use option --check-order.
For more infos, see http://wiki.ros.org/xacro#Processing_Order

XML parsing error: unbound prefix: line 5, column 2
when processing file: /home/kmj/catkin_ws/src/excavator_description/urdf/excavator.xacro

Check that:

 - Your XML is well-formed
 - You have the xacro xmlns declaration: xmlns:xacro="http://www.ros.org/wiki/xacro"


Invalid <param> tag: Cannot load command parameter [description]: command [/opt/ros/kinetic/share/xacro/xacro.py '/home/kmj/catkin_ws/src/excavator_description/urdf/excavator.xacro'] returned with code [2]. 

Param xml is <param command="$(find xacro)/xacro.py '$(find excavator_description)/urdf/excavator.xacro'" name="description"/>
The traceback for the exception was written to the log file

I have no idea to solve this problem.

Do you know how to fix this?

edit retag flag offensive close merge delete

Comments

1

Can you please post the xacro file where the error occurred, or we won't be able to help you with this. Thanks.

PeteBlackerThe3rd gravatar imagePeteBlackerThe3rd ( 2018-01-15 04:48:52 -0500 )edit
1

Well, there is an error in line 5, column 2 of your file /home/kmj/catkin_ws/src/excavator_description/urdf/excavator.xacro, and it has something to do with an unbound prefix.

If you want more help, provide more info, i.e. paste the file here.

mgruhler gravatar imagemgruhler ( 2018-01-15 04:49:59 -0500 )edit