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

IOError: [Errno 2] No such file or directory: 'kit_c.xacro' #12

Closed
shuklam20 opened this issue Sep 26, 2017 · 9 comments
Closed

IOError: [Errno 2] No such file or directory: 'kit_c.xacro' #12

shuklam20 opened this issue Sep 26, 2017 · 9 comments

Comments

@shuklam20
Copy link

shuklam20 commented Sep 26, 2017

Hi,
I am trying to follow all the steps that you have mentioned, however when I enter (during the model Verification part)
rosrun xacro xacro.py kit_c.xacro -o /tmp/kit_c.urdf
I get an error:

Traceback (most recent call last):
File "/opt/ros/indigo/share/xacro/xacro.py", line 62, in
xacro.main()
File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro/init.py", line 673, in main
f = open(args[0])
IOError: [Errno 2] No such file or directory: 'kit_c.xacro'

and the next command:
check_urdf kit_c.urdf
gives:

Error: Error document empty.
at line 72 in /build/buildd/urdfdom-0.2.10+dfsg/urdf_parser/src/model.cpp
ERROR: Model Parsing the xml failed

Can you please help me with? Do I need to install something extra? I am using Ubuntu 14.04 Trusty version and a newbie to ROS.

@medhijk
Copy link

medhijk commented Oct 3, 2017

You have a missing file which is available in the ROS_quadrotor_simulator package. Please install it in your source directory of your catkin_workspace using $ git clone https://github.com/wilselby/ROS_quadrotor_simulator once and then build your catkin_workspace.

@wilselby
Copy link
Owner

wilselby commented Oct 5, 2017

Thanks for the head's up and I apologize for the confusion. I've updated the readme to make the process more clear. Thanks again!

@kylemanna
Copy link

Are you sure?

@hassankhalil766
Copy link

rosrun xacro xacro.py kit_c.xacro -o /tmp/kit_c.urdf
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

@wilselby
Copy link
Owner

wilselby commented Jun 2, 2021

Those look like warnings, not an error?

@hassankhalil766
Copy link

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
No such file or directory: kit_c.xacro None None

1 similar comment
@hassankhalil766
Copy link

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
No such file or directory: kit_c.xacro None None

@hassankhalil766
Copy link

Anyone help me with this ?

@hassankhalil766
Copy link

hassankhalil766 commented Jun 2, 2021 via email

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

5 participants