[ros-users] [Discourse.ros.org] Problem with RVIZ and ROS fom source

Patrick José Pereira ros.discourse at gmail.com
Tue Nov 14 20:09:59 UTC 2017



I have successfully compiled ROS lunar in archlinux, already have done some PR in github to update the packages to python3.

Now I have a big problem with xacro and I don't know why..
```
... logging to /home/patrick/.ros/log/74169546-c973-11e7-82e7-f8da0c93ee61/roslaunch-dell-26975.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

Traceback (most recent call last):
  File "/mnt/hd/ros_ws/lunar/install_isolated/share/xacro/xacro.py", line 55, in <module>
    import xacro
  File "/mnt/hd/ros_ws/lunar/install_isolated/lib/python3.6/site-packages/xacro/__init__.py", line 35, in <module>
    import glob
  File "/usr/lib/python3.6/glob.py", line 5, in <module>
    import fnmatch
ModuleNotFoundError: No module named 'fnmatch'
Invalid <param> tag: Cannot load command parameter [robot_description]: command [/mnt/hd/ros_ws/lunar/install_isolated/share/xacro/xacro.py /mnt/hd/ros_ws/lunar/install_isolated/share/bluerov_ros_playground/model/BlueRov2.urdf.xacro] returned with code [1]. 

Param xml is <param command="$(find xacro)/xacro.py $(arg model)" name="robot_description"/>
The traceback for the exception was written to the log file
```

I can import xacro, fnmatch and glob in python2 and python3 after sourcing setup.zsh.
PYTHONPATH = /mnt/hd/ros_ws/lunar/install_isolated/lib/python3.6/site-packages
log: http://ix.io/Cgq





---
[Visit Topic](https://discourse.ros.org/t/problem-with-rviz-and-ros-fom-source/3181/1) or reply to this email to respond.




More information about the ros-users mailing list