duckietown / docs-opmanual_duckiebot

Other
1 stars 1 forks source link

Error when trying to open gui_tools #96

Open alessandromorra opened 6 years ago

alessandromorra commented 6 years ago

Context

What step were you trying in the documentation?

9.3 Viewing an Image Stream on Your Laptop

What command line were you running?

dts start_gui_tools kleinesentlein.local

or

dts start_gui_tools kleinesentlein

Problem

What happened?

I am not able to run start_gui_tools with both commands from above...

`alessandro@tina-remote:~$ dts start_gui_tools kleinesentlein.local INFO:dts:duckietown-shell 3.0.19

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.) /home/alessandro/.local/lib/python2.7/site-packages/requests/init.py:83: RequestsDependencyWarning: Old version of cryptography ([1, 2, 3]) may cause slowdown. warnings.warn(warning, RequestsDependencyWarning) Duckietown Shell commands version 1.0.5 ping: unknown host kleinesentlein.local.local Unable to locate kleinesentlein.local.local! access control disabled, clients can connect from any host Traceback (most recent call last): File "/home/alessandro/.local/lib/python2.7/site-packages/dt_shell/init.py", line 72, in cli_main shell.onecmd(cmdline) File "/usr/lib/python2.7/cmd.py", line 221, in onecmd return func(arg) File "/home/alessandro/.local/lib/python2.7/site-packages/dt_shell/cli.py", line 405, in do_command_lam = lambda s, w: do_command(klass, s, w) File "/home/alessandro/.local/lib/python2.7/site-packages/dt_shell/dt_command_abs.py", line 46, in do_command cls.command(shell, args) File "/home/alessandro/.dt-shell/commands/start_gui_tools/command.py", line 36, in command start_gui_tools(parsed_args.hostname) File "/home/alessandro/.dt-shell/commands/start_gui_tools/command.py", line 62, in start_gui_tools env_vars=env_vars) File "/home/alessandro/.local/lib/python2.7/site-packages/docker/models/containers.py", line 766, in run detach=detach, **kwargs) File "/home/alessandro/.local/lib/python2.7/site-packages/docker/models/containers.py", line 823, in create create_kwargs = _create_container_args(kwargs) File "/home/alessandro/.local/lib/python2.7/site-packages/docker/models/containers.py", line 1036, in _create_container_args raise create_unexpected_kwargs_error('run', kwargs) TypeError: run() got an unexpected keyword argument 'env_vars'

`

What did you expect to happen?

The gui_tools to work...

System information

Duckietown version:

Duckiebot version:

Computer OS:

Additional notes

Add any other notes about the problem here.

Screenshots

If necessary, add screenshots to help explain your problem.

error_gui_tools

Note: text is preferred.

alessandromorra commented 6 years ago

I am still stuck on the same issue. I reinstalled the whole shell and got now the following issue - any suggestions?

gui_tools

raabuchanan commented 6 years ago

Are you trying to visualize the image stream? try setting ROS_MASTER_URI and running rqt_image_view