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

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Mikael Arguedas via ros-users


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
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

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

Mikael Arguedas via ros-users


Thanks @patrickelectric for the report. However we ask that you please ask questions on http://answers.ros.org following our support guidelines: http://wiki.ros.org/Support

ROS Discourse is for news and general interest discussions. [ROS Answers](http://answers.ros.org) provides a forum which can be filtered by tags to make sure the relevant people can find and/or answer the question, and not overload everyone with hundreds of posts.

(To reproduce manually with a minimal example you can try to source your workspace and run `rospack find xacro` and if it fails look at if you can import it with the resulting `PYTHONPATH`)





---
[Visit Topic](https://discourse.ros.org/t/problem-with-rviz-and-ros-fom-source/3181/2) 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
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

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

Mikael Arguedas via ros-users
In reply to this post by Mikael Arguedas via ros-users


Sorry for that, thanks @marguedas, I'll ask there.





---
[Visit Topic](https://discourse.ros.org/t/problem-with-rviz-and-ros-fom-source/3181/3) 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
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>