{"action":"created","issue":{"url":"https://api.github.com/repos/ros/ros-overlay/issues/736","repository_url":"https://api.github.com/repos/ros/ros-overlay","labels_url":"https://api.github.com/repos/ros/ros-overlay/issues/736/labels{/name}","comments_url":"https://api.github.com/repos/ros/ros-overlay/issues/736/comments","events_url":"https://api.github.com/repos/ros/ros-overlay/issues/736/events","html_url":"https://github.com/ros/ros-overlay/issues/736","id":392644706,"node_id":"MDU6SXNzdWUzOTI2NDQ3MDY=","number":736,"title":"Python version (I think) problems","user":{"login":"flabrosse","id":16017784,"node_id":"MDQ6VXNlcjE2MDE3Nzg0","avatar_url":"https://avatars1.githubusercontent.com/u/16017784?v=4","gravatar_id":"","url":"https://api.github.com/users/flabrosse","html_url":"https://github.com/flabrosse","followers_url":"https://api.github.com/users/flabrosse/followers","following_url":"https://api.github.com/users/flabrosse/following{/other_user}","gists_url":"https://api.github.com/users/flabrosse/gists{/gist_id}","starred_url":"https://api.github.com/users/flabrosse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flabrosse/subscriptions","organizations_url":"https://api.github.com/users/flabrosse/orgs","repos_url":"https://api.github.com/users/flabrosse/repos","events_url":"https://api.github.com/users/flabrosse/events{/privacy}","received_events_url":"https://api.github.com/users/flabrosse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-12-19T15:10:35Z","updated_at":"2018-12-20T11:50:19Z","closed_at":null,"author_association":"NONE","body":"We have ROS running on several of our computers and robots.  Two of the robots have lunar on.  Following an update, one of them refuses to work (for example, I can't run roscore).  The initial problem was a syntax error in yaml, indicating that the wrong python interpreter was used with the wrong files, according to google.\r\n\r\nI compared the non-working install with the working install and noticed that some of the non-essential packages (not needed to run roscore) on the working install are older, but the essential stuff is at the same version on both computers, and both use the same set of python interpreters.  But no joy.\r\n\r\nI removed the whole of ROS including dependencies from the non working install and reinstalled with the same settings as with the working install.  Still no joy!\r\n\r\nI reinstalled the whole of it with only python2_7.  I can now run roscore!  But catkin make complains that  argparse is not found.  The interesting bit is that it is setuptools that complains, running python3_5!  and argparse is in all versions of python (2_7, 3_5 and 3_6) installed on that computer.\r\n\r\nI'm running out of ideas.  It seems that the whole thing is a bit fragile when it comes to multiple slotted python versions, but I don't think I can only have python2_7 on gentoo any more.\r\n\r\nAny suggestions?"},"comment":{"url":"https://api.github.com/repos/ros/ros-overlay/issues/comments/448972407","html_url":"https://github.com/ros/ros-overlay/issues/736#issuecomment-448972407","issue_url":"https://api.github.com/repos/ros/ros-overlay/issues/736","id":448972407,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODk3MjQwNw==","user":{"login":"flabrosse","id":16017784,"node_id":"MDQ6VXNlcjE2MDE3Nzg0","avatar_url":"https://avatars1.githubusercontent.com/u/16017784?v=4","gravatar_id":"","url":"https://api.github.com/users/flabrosse","html_url":"https://github.com/flabrosse","followers_url":"https://api.github.com/users/flabrosse/followers","following_url":"https://api.github.com/users/flabrosse/following{/other_user}","gists_url":"https://api.github.com/users/flabrosse/gists{/gist_id}","starred_url":"https://api.github.com/users/flabrosse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flabrosse/subscriptions","organizations_url":"https://api.github.com/users/flabrosse/orgs","repos_url":"https://api.github.com/users/flabrosse/repos","events_url":"https://api.github.com/users/flabrosse/events{/privacy}","received_events_url":"https://api.github.com/users/flabrosse/received_events","type":"User","site_admin":false},"created_at":"2018-12-20T11:50:19Z","updated_at":"2018-12-20T11:50:19Z","author_association":"NONE","body":"catkin and catkin_pkg are installed with only 2.7 support:\r\n```\r\n$ eix -I catkin\r\n[I] dev-python/catkin_pkg\r\n     Available versions:  (~)0.4.6[1] ~0.4.7 ~0.4.8 ~0.4.9 **9999 {test PYTHON_TARGETS=\"pypy pypy3 python2_7 python3_4 python3_5 python3_6\"}\r\n     Installed versions:  0.4.6[1](14:47:09 19/12/18)(PYTHON_TARGETS=\"python2_7 -python3_4 -python3_5\")\r\n     Homepage:            http://wiki.ros.org/catkin_pkg\r\n     Description:         Standalone Python library for the catkin package system\r\n\r\n[I] ros-lunar/catkin [1]\r\n     Available versions:  (~)0.7.14 {test PYTHON_TARGETS=\"python2_7 python3_5 python3_6\"}\r\n     Installed versions:  0.7.14(14:47:24 19/12/18)(-test PYTHON_TARGETS=\"python2_7 -python3_5 -python3_6\")\r\n     Homepage:            http://www.ros.org/wiki/catkin\r\n     Description:         Low-level build system macros and infrastructure for ROS.\r\n\r\n[1] \"ros-overlay\" /var/lib/layman/ros-overlay\r\n\r\nFound 2 matches\r\n```\r\nInstalling ros_base is what I did with all ros packages and all python-dev required by ros-lunar packages with only python2.7 allowed:\r\n```\r\nros-*/* PYTHON_TARGETS: -* python2_7\r\nros-*/* PYTHON_SINGLE_TARGET: -* python2_7\r\ndev-python/rosdep PYTHON_TARGETS: -* python2_7\r\ndev-python/rospkg PYTHON_TARGETS: -* python2_7\r\ndev-python/rosinstall_generator PYTHON_TARGETS: -* python2_7\r\ndev-python/rosdistro PYTHON_TARGETS: -* python2_7\r\ndev-python/catkin_pkg PYTHON_TARGETS: -* python2_7\r\ndev-python/pyyaml PYTHON_TARGETS: -* python2_7\r\ndev-python/wstool PYTHON_TARGETS: -* python2_7\r\ndev-python/vcstools PYTHON_TARGETS: -* python2_7\r\n```\r\nAnd the python trace only refers to 2.7 now.  My environment only refers to python2.7 (in PYTHONPATH).\r\n\r\nI just created a new catkin_ws, starting from scratch. Same problem."}}
{"actor":{"display_login":"flabrosse"}}