Skip to content

SSH-->Putty in GUI #46

@OmerShubi

Description

@OmerShubi

Describe the bug
GUI Crashes on putty click

2019-10-22 19:06:28,009 [MainThread  ] [DEBUG]  sending message from:<CameraNetwork.gui.main.ServerModel object at 0x7f0808088dd0>
Traceback (most recent call last):
  File "/home/shubi/.conda/envs/cn_client/lib/python2.7/site-packages/enaml/qt/q_deferred_caller.py", line 42, in customEvent
    event.callback(*event.args, **event.kwargs)
  File "/home/shubi/PycharmProjects/cameranetwork/CameraNetwork/gui/main.py", line 1682, in receive_message
    self.servers_dict[server_id].handle_reply(status, cmd, args, kwds)
  File "/home/shubi/PycharmProjects/cameranetwork/CameraNetwork/gui/main.py", line 1977, in handle_reply
    cb(*args, **kwds)
  File "/home/shubi/PycharmProjects/cameranetwork/CameraNetwork/gui/main.py", line 1993, in reply_tunnel_details
    subprocess.Popen(putty_cmd)
  File "/home/shubi/.conda/envs/cn_client/lib/python2.7/subprocess.py", line 394, in __init__
    errread, errwrite)
  File "/home/shubi/.conda/envs/cn_client/lib/python2.7/subprocess.py", line 1047, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

To Reproduce
Steps to reproduce the behavior:

  1. Go to GUI
  2. Click on camera_id
  3. Scroll down to SSH-->Putty
  4. See error

Expected behavior
open terminal with camera

Desktop (please complete the following information):

  • OS: linux

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions