[ros-users] [Discourse.ros.org] Problem with RVIZ and ROS fo…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Patrick José Pereira via ros-users
Date:  
To: ros-users
CC: Patrick José Pereira
Subject: [ros-users] [Discourse.ros.org] Problem with RVIZ and ROS fom source


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.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list

http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>