fzi-forschungszentrum-informatik / ros2_ros_bt_py

This is a Behavior Tree library meant to be an alternative to SMACH, FlexBE and the like. It includes a ReactJS-based web GUI and all the building blocks you need to build moderately advanced mission control Behavior Trees without writing a single line of code!
BSD 3-Clause "New" or "Revised" License
24 stars 6 forks source link

🐛 [BUG] - WebGUI launch failed #60

Closed nspielbau closed 6 months ago

nspielbau commented 6 months ago

Description

[show_editor_url.py-4] /usr/bin/env: ‘python’: No such file or directory

Fix: sudo apt install python-is-python3

Reproduction URL

https://github.com/fzi-forschungszentrum-informatik

Reproduction steps

1. Launch Webgui

Screenshots

No response

Logs

→ ros2 launch ros_bt_py_web_gui ros_bt_py_web_gui.launch.py web_server_port:=8085 web_server_address:=0.0.0.0
[INFO] [launch]: All log files can be found below /home/keller/.ros/log/2024-02-22-10-06-36-956152-sinkbrettle-26949
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [html 8085-1]: process started with pid [26950]
[INFO] [rosbridge_websocket-2]: process started with pid [26952]
[INFO] [rosapi_node-3]: process started with pid [26955]
[INFO] [show_editor_url.py-4]: process started with pid [26957]
[show_editor_url.py-4] /usr/bin/env: ‘python’: No such file or directory
[ERROR] [show_editor_url.py-4]: process has died [pid 26957, exit code 127, cmd ‘/home/keller/checkout/cordenka/colcon_ws/install/ros_bt_py_web_gui/lib/ros_bt_py_web_gui/show_editor_url.py --ros-args -r __node:=show_editor_url -r __ns:=/ros_bt_py_web_gui --params-file /tmp/launch_params_za5taa4p --params-file /tmp/launch_params_zujn57a5’].
[rosbridge_websocket-2] [INFO] [1708592798.318226208] [rosbridge_websocket]: Rosbridge WebSocket server started on port 9090
^C[WARNING] [launch]: user interrupted with ctrl-c (SIGINT)
[rosbridge_websocket-2] registered capabilities (classes):
[rosbridge_websocket-2] - <class ‘rosbridge_library.capabilities.call_service.CallService’>
[rosbridge_websocket-2] - <class ‘rosbridge_library.capabilities.advertise.Advertise’>
[rosbridge_websocket-2] - <class ‘rosbridge_library.capabilities.publish.Publish’>
[rosbridge_websocket-2] - <class ‘rosbridge_library.capabilities.subscribe.Subscribe’>
[rosbridge_websocket-2] - <class ‘rosbridge_library.capabilities.defragmentation.Defragment’>
[rosbridge_websocket-2] - <class ‘rosbridge_library.capabilities.advertise_service.AdvertiseService’>
[rosbridge_websocket-2] - <class ‘rosbridge_library.capabilities.service_response.ServiceResponse’>
[rosbridge_websocket-2] - <class ‘rosbridge_library.capabilities.unadvertise_service.UnadvertiseService’>
[rosbridge_websocket-2] Exiting due to SIGINT
[ERROR] [html 8085-1]: process has died [pid 26950, exit code -2, cmd ‘python3 -m http.server -b 0.0.0.0 -d /home/keller/checkout/cordenka/colcon_ws/install/ros_bt_py_web_gui/share/ros_bt_py_web_gui/html 8085’].
[INFO] [rosapi_node-3]: process has finished cleanly [pid 26955]
[INFO] [rosbridge_websocket-2]: process has finished cleanly [pid 26952]

ROS2 Version

Humble

OS

Ubuntu 22.04