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

SSH-->Putty in GUI #46

Open
OmerShubi opened this issue Oct 22, 2019 · 2 comments
Open

SSH-->Putty in GUI #46

OmerShubi opened this issue Oct 22, 2019 · 2 comments

Comments

@OmerShubi
Copy link
Collaborator

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
@OmerShubi
Copy link
Collaborator Author

Maybe because from linux environment? or maybe because parameters? what file /directory is missing? Need to check

@Addalin
Copy link
Owner

Addalin commented Nov 14, 2019

On windows:

10.17 ‘NETWORK ERROR: CONNECTION REFUSED’
This error means that the network connection PuTTY tried to make to your server was rejected by the server. Usually this happens because the server does not provide the service which PuTTY is trying to access.

Check that you are connecting with the correct protocol (SSH, Telnet or Rlogin), and check that the port number is correct. If that fails, consult the administrator of your server

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

No branches or pull requests

2 participants