20.04 / noetic tutorial local install - python/python3 issue

オープン
#385 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
linux, python, ubuntu, unity

調査の方向性

Start with tutorials/pick_and_place/ROS/src/ros_tcp_endpoint/src/ros_tcp_endpoint/default_server_endpoint.py and reproduce the issue using roslaunch niryo_moveit part_3.launch on Ubuntu 20.04 with ROS Noetic. Check the tutorial documentation for setup guidance; done means the endpoint starts without the missing-python error or restart loop.

索引モデルが issue の本文から書いたものです。

説明

Describe the bug
ros code errors ad infinitum when running on a local 20.04 / noetic install due to python not referenced correctly.

To Reproduce
Steps to reproduce the behavior:
Install local ROS noetic / Ubuntu 20.04 build
Run pick_and_place tutorial quick_demo - roslaunch niryo_moveit part_3.launch

Console logs / stack traces

/usr/bin/env: ‘python’: No such file or directory
[server_endpoint-2] process has died [pid 3112762, exit code 127, cmd /home/XXXXX/Projects/Tutorials/unity_ros/Unity-Robotics-Hub/tutorials/pick_and_place/ROS/src/ros_tcp_endpoint/src/ros_tcp_endpoint/default_server_endpoint.py --wait __name:=server_endpoint __log:=/home/pring5/.ros/log/aa238388-69b9-11ed-8f04-2db1b1a60ac8/server_endpoint-2.log].
log file: /home/pring5/.ros/log/aa238388-69b9-11ed-8f04-2db1b1a60ac8/server_endpoint-2*.log
[server_endpoint-2] restarting process
process[server_endpoint-2]: started with pid [3112763]

^ ad infinitum

Expected behavior
Code should run without errors

Environment (please complete the following information, where applicable):

  • Unity Version: n/a
  • Unity machine OS + version: n/a
  • ROS machine OS + version: 20.04 / noetic
  • ROS–Unity communication: n/a
  • Branch or version: v0.7.0

Additional context
Ubuntu 20.04 does not come with python as a command. Need to specify version.
Suggestions to solve: include a symlink or install the python-is-python3 package as outlined below. At minimum, add a note to do this in a readme.
https://stackoverflow.com/questions/3655306/ubuntu-usr-bin-env-python-no-such-file-or-directory/65059966#65059966

主要言語
C#
スター
2.6k
フォーク
473
PR マージ指標
30日以内にマージされた PR はありません

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Unity-Technologies/Unity-Robotics-Hub のほかの issue

Unity-Technologies/Unity-Robotics-Hub の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。