start-jsk / rtmros_common

OpenRTM - ROS interoperability packages
http://wiki.ros.org/rtmros_common
12 stars 52 forks source link

hydro/catkinでrtshellのコマンドが使えない #322

Closed mmurooka closed 10 years ago

mmurooka commented 10 years ago

hydro/catkinでrtshellのコマンドが使えないです.

以下のようなエラーが出てpythonのrtcモジュールが見つからないようです.

の二択だと思うのですが,確認すべき点を教えていただけますでしょうか.

murooka@murooka-ThinkPad-T430:~/ros_catkin_ws/hydro$ rtls
Traceback (most recent call last):
  File "/home/murooka/ros_catkin_ws/hydro/install/share/rtshell/bin/rtls", line 24, in <module>
    from rtshell import rtls
  File "/home/murooka/ros_catkin_ws/hydro/install/lib/python2.7/dist-packages/rtshell/rtls.py", line 25, in <module>
    import rtctree.tree
  File "/home/murooka/ros_catkin_ws/hydro/install/lib/python2.7/dist-packages/rtctree/tree.py", line 27, in <module>
    from rtctree.exceptions import *
  File "/home/murooka/ros_catkin_ws/hydro/install/lib/python2.7/dist-packages/rtctree/exceptions.py", line 22, in <module>
    import RTC
ImportError: No module named RTC

PYTHONPATHは以下のようになっています.

murooka@murooka-ThinkPad-T430:~/ros_catkin_ws/hydro$ echo $PYTHONPATH
/home/murooka/ros_catkin_ws/hydro/devel/lib/python2.7/dist-packages:/opt/ros/hydro/lib/python2.7/dist-packages:/home/murooka/ros_catkin_ws/hydro/install/share/openrtm_aist_python/lib/python2.7/site-packages:/home/murooka/ros_catkin_ws/hydro/install/share/rtshell/lib/python2.7/site-packages:/home/murooka/ros_catkin_ws/hydro/install/share/rtctree/lib/python2.7/site-packages:/home/murooka/ros_catkin_ws/hydro/install/share/rtsprofile/lib/python2.7/site-packages:/home/murooka/ros_catkin_ws/hydro/install/share/openrtm_aist_python/lib/python2.7/site-packages:/home/murooka/ros_catkin_ws/hydro/install/share/rtshell/lib/python2.7/site-packages:/home/murooka/ros_catkin_ws/hydro/install/share/rtctree/lib/python2.7/site-packages:/home/murooka/ros_catkin_ws/hydro/install/share/rtsprofile/lib/python2.7/site-packages:/home/murooka/ros_catkin_ws/hydro/install/share/openrtm_aist_python/lib/python2.7/site-packages:/home/murooka/ros_catkin_ws/hydro/install/share/rtshell/lib/python2.7/site-packages:/home/murooka/ros_catkin_ws/hydro/install/share/rtctree/lib/python2.7/site-packages:/home/murooka/ros_catkin_ws/hydro/install/share/rtsprofile/lib/python2.7/site-packages:/home/murooka/ros_catkin_ws/hydro/install/share/openrtm_aist_python/lib/python2.7/site-packages:/home/murooka/ros_catkin_ws/hydro/install/share/rtshell/lib/python2.7/site-packages:/home/murooka/ros_catkin_ws/hydro/install/share/rtctree/lib/python2.7/site-packages:/home/murooka/ros_catkin_ws/hydro/install/share/rtsprofile/lib/python2.7/site-packages
130s commented 10 years ago

This issue is discussed here but hasn't been addressed yet.

Meanwhile if you can use non-installed version (ie. %CATKIN_WORKSPACE%/devel that's built with catkin_make without install option), you should be able to run rtshell commands.

garaemon commented 10 years ago

Meanwhile if you can use non-installed version (ie. %CATKIN_WORKSPACE%/devel that's built with catkin_make without install option), you should be able to run rtshell commands.

What should we do if we want to run in install version?

mmurooka commented 10 years ago

This is the same with the following issue: https://github.com/start-jsk/rtshell_core/issues/1