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

TosKer over ssh #41

Open
lucarin91 opened this issue Nov 28, 2017 · 0 comments
Open

TosKer over ssh #41

lucarin91 opened this issue Nov 28, 2017 · 0 comments
Assignees
Labels

Comments

@lucarin91
Copy link
Collaborator

TosKer returns the following error when it tries to orchestrate an application, TosKer was used remotely over ssh on an Ubuntu machine. Right now it was not possible to replicate the error on another ssh connection.

traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/tosker/orchestrator.py", line 121, in orchestrate
    }.get(cmd)()
  File "/usr/local/lib/python3.5/dist-packages/tosker/orchestrator.py", line 117, in <lambda>
    'create': lambda: self._create(down_deploy, tpl),
  File "/usr/local/lib/python3.5/dist-packages/tosker/orchestrator.py", line 132, in _create
    self._print_loading_start('Create network... ')
  File "/usr/local/lib/python3.5/dist-packages/tosker/orchestrator.py", line 449, in _print_loading_start
    self._loading_thread.start()
  File "/usr/local/lib/python3.5/dist-packages/halo/halo.py", line 280, in start
    self._render_frame()
  File "/usr/local/lib/python3.5/dist-packages/halo/halo.py", line 223, in _render_frame
    self._stream.write(output)
  File "/usr/local/lib/python3.5/dist-packages/colorama/ansitowin32.py", line 40, in write
    self.__convertor.write(text)
  File "/usr/local/lib/python3.5/dist-packages/colorama/ansitowin32.py", line 143, in write
    self.wrapped.write(text)
  File "/usr/local/lib/python3.5/dist-packages/colorama/ansitowin32.py", line 40, in write
    self.__convertor.write(text)
  File "/usr/local/lib/python3.5/dist-packages/colorama/ansitowin32.py", line 143, in write
    self.wrapped.write(text)
UnicodeEncodeError: 'ascii' codec can't encode character '\u280b' in position 10: ordinal not in range(128)

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/local/bin/tosker", line 11, in <module>
    sys.exit(run())
  File "/usr/local/lib/python3.5/dist-packages/tosker/ui.py", line 167, in run
    orchestrator.orchestrate(file, cmds, comps, inputs)
  File "/usr/local/lib/python3.5/dist-packages/tosker/orchestrator.py", line 127, in orchestrate
    self._print_cross(e)
  File "/usr/local/lib/python3.5/dist-packages/tosker/orchestrator.py", line 445, in _print_cross
    'Error ({})'.format(error))
  File "/usr/local/lib/python3.5/dist-packages/halo/halo.py", line 335, in fail
    return self.stop_and_persist({'symbol': LogSymbols.ERROR.value, 'text': text})
  File "/usr/local/lib/python3.5/dist-packages/halo/halo.py", line 395, in stop_and_persist
    self.stop()
  File "/usr/local/lib/python3.5/dist-packages/halo/halo.py", line 298, in stop
    self._spinner_thread.join()
  File "/usr/lib/python3.5/threading.py", line 1049, in join
    raise RuntimeError("cannot join thread before it is started")
RuntimeError: cannot join thread before it is started
@lucarin91 lucarin91 added the bug label Nov 28, 2017
@lucarin91 lucarin91 self-assigned this Nov 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant