Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

start_gui_tools not working #79

Open
DaBjork opened this issue Apr 4, 2021 · 4 comments
Open

start_gui_tools not working #79

DaBjork opened this issue Apr 4, 2021 · 4 comments

Comments

@DaBjork
Copy link

DaBjork commented Apr 4, 2021

Hey everyone,
Using DB21M, and experiencing many problems. Here's the relevant one - start_gui_tools does not work I have no problem connecting to my duckiebot or accessing the compose page (can't see "duckietown desktop" on the compose page though).

Here is the error I get when I run dts start_gui_tools, and attached is my shell-debug-info.txt

`drb@megatron:~/Desktop$ dts start_gui_tools darkwing

dts : Problems with a command?
:
: Report here: https://github.com/duckietown/duckietown-shell-commands/issues
:
: Troubleshooting:
:
: - If some commands update fail, delete ~/.dt-shell/commands
:
: - To reset the shell to "factory settings", delete ~/.dt-shell
:
: (Note: you will have to re-configure.)
INFO:dts:Commands version: daffy
INFO:dts:looking at /home/drb/.dt-shell/commands-multi/daffy
INFO:dts:Target architecture automatically set to amd64.
WARNING:dts:Could not remove existing container: 404 Client Error: Not Found ("No such container: dts_gui_tools_darkwing")
access control disabled, clients can connect from any host

dts : Traceback (most recent call last):
: File "/usr/lib/python3/dist-packages/docker/api/client.py", line 261, in raise_for_status
: response.raise_for_status()
: File "/usr/lib/python3/dist-packages/requests/models.py", line 940, in raise_for_status
: raise HTTPError(http_error_msg, response=self)
: requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http+docker://localhost/v1.35/containers/b86e73022f8f15187a50c5a9c0e31f0a56bf178f13b00d076aa694dbd6fbc030/start
:
: During handling of the above exception, another exception occurred:
:
: Traceback (most recent call last):
: File "/home/drb/.local/lib/python3.8/site-packages/dt_shell/main.py", line 38, in cli_main
: cli_main
()
: File "/home/drb/.local/lib/python3.8/site-packages/dt_shell/main.py", line 195, in cli_main_
: shell.onecmd(cmdline)
: File "/usr/lib/python3.8/cmd.py", line 217, in onecmd
: return func(arg)
: File "/home/drb/.local/lib/python3.8/site-packages/dt_shell/cli.py", line 278, in
: do_command_lam = lambda s, w: do_command(klass, s, w)
: File "/home/drb/.local/lib/python3.8/site-packages/dt_shell/dt_command_abs.py", line 48, in do_command
: cls.command(shell, args)
: File "/home/drb/.dt-shell/commands-multi/daffy/start_gui_tools/command.py", line 172, in command
: client.containers.run(**params)
: File "/usr/lib/python3/dist-packages/docker/models/containers.py", line 809, in run
: container.start()
: File "/usr/lib/python3/dist-packages/docker/models/containers.py", line 400, in start
: return self.client.api.start(self.id, **kwargs)
: File "/usr/lib/python3/dist-packages/docker/utils/decorators.py", line 19, in wrapped
: return f(self, resource_id, *args, **kwargs)
: File "/usr/lib/python3/dist-packages/docker/api/container.py", line 1095, in start
: self._raise_for_status(res)
: File "/usr/lib/python3/dist-packages/docker/api/client.py", line 263, in _raise_for_status
: raise create_api_error_from_http_exception(e)
: File "/usr/lib/python3/dist-packages/docker/errors.py", line 31, in create_api_error_from_http_exception
: raise cls(e, response=response, explanation=explanation)
: docker.errors.APIError: 500 Server Error: Internal Server Error ("OCI runtime create failed: unable to retrieve OCI runtime error (open /run/containerd/io.containerd.runtime.v2.task/moby/b86e73022f8f15187a50c5a9c0e31f0a56bf178f13b00d076aa694dbd6fbc030/log.json: no such file or directory): exec: "nvidia-container-runtime": executable file not found in $PATH: : unknown")

dts : To report a bug, please also include the contents of /home/drb/shell-debug-info.txt
`
shell-debug-info.txt

@tanij
Copy link
Member

tanij commented Apr 4, 2021

please open an issue on Stack Overflow: https://stackoverflow.com/c/duckietown/questions

@DaBjork
Copy link
Author

DaBjork commented Apr 4, 2021

please open an issue on Stack Overflow: https://stackoverflow.com/c/duckietown/questions

Haven't gotten my invite =(

@tanij
Copy link
Member

tanij commented Apr 5, 2021

From what I can tell, you are already a member of the Stack Overflow Duckietown team. Maybe checking the wrong email?

Send me your favorite email address at [email protected] and we can try again.

@DaBjork
Copy link
Author

DaBjork commented Apr 5, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants