RemoteTree icon indicating copy to clipboard operation
RemoteTree copied to clipboard

can't connect on Mac

Open feeleep75 opened this issue 8 years ago • 4 comments

Hi,

I am trying to connect with key. Here is the error message

Exception in thread Thread-53:
Traceback (most recent call last):
  File "./python3.3/threading.py", line 901, in _bootstrap_inner
  File "/Users/macos/Library/Application Support/Sublime Text 3/Packages/RemoteTree/remote-tree.py", line 24, in run
    ensure_connection(self.tree.server)
  File "/Users/macos/Library/Application Support/Sublime Text 3/Packages/RemoteTree/remote-tree.py", line 425, in ensure_connection
    cnopts = pysftp.CnOpts()
  File "/Users/macos/Library/Application Support/Sublime Text 3/Packages/RemoteTree/pysftp/__init__.py", line 54, in __init__
    self.hostkeys.load(knownhosts)
  File "/Users/macos/Library/Application Support/Sublime Text 3/Packages/RemoteTree/paramiko/hostkeys.py", line 97, in load
    e = HostKeyEntry.from_line(line, lineno)
  File "/Users/macos/Library/Application Support/Sublime Text 3/Packages/RemoteTree/paramiko/hostkeys.py", line 358, in from_line
    key = ECDSAKey(data=decodebytes(key), validate_point=False)
  File "/Users/macos/Library/Application Support/Sublime Text 3/Packages/RemoteTree/paramiko/ecdsakey.py", line 138, in __init__
    self.verifying_key = numbers.public_key(backend=default_backend())
  File "/Users/macos/Library/Application Support/Sublime Text 3/Packages/RemoteTree/cryptography/hazmat/backends/__init__.py", line 15, in default_backend
    from cryptography.hazmat.backends.openssl.backend import backend
  File "/Users/macos/Library/Application Support/Sublime Text 3/Packages/RemoteTree/cryptography/hazmat/backends/openssl/__init__.py", line 7, in <module>
    from cryptography.hazmat.backends.openssl.backend import backend
  File "/Users/macos/Library/Application Support/Sublime Text 3/Packages/RemoteTree/cryptography/hazmat/backends/openssl/backend.py", line 49, in <module>
    from cryptography.hazmat.bindings.openssl import binding
  File "/Users/macos/Library/Application Support/Sublime Text 3/Packages/RemoteTree/cryptography/hazmat/bindings/openssl/binding.py", line 13, in <module>
    from cryptography.hazmat.bindings._openssl import ffi, lib
ImportError: dlopen(/Users/macos/Library/Application Support/Sublime Text 3/Packages/RemoteTree/cryptography/hazmat/bindings/_openssl.abi3.so, 2): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
  Referenced from: /Users/macos/Library/Application Support/Sublime Text 3/Packages/RemoteTree/cryptography/hazmat/bindings/_openssl.abi3.so
  Reason: image not found

feeleep75 avatar Jul 12 '17 11:07 feeleep75

Can you try installing openssl with Homebrew and checking if it fixes the problem? (brew install openssl)

Of course, it's not a real solution, I still probably need to find a way to make the plugin work without external requirements...

denull avatar Jul 12 '17 21:07 denull

Have you find a way that the plugin can work without external requirements? RemoteTree is this plugin I look for about a long time. Great idea.

Flecko avatar Feb 27 '18 22:02 Flecko

I install openssl with homebrew but I get a new error. ImportError: dlopen(/Users/USER/Library/Application Support/Sublime Text 3/Packages/RemoteTree/cryptography/hazmat/bindings/_openssl.abi3.so, 2): Symbol not found: _getentropy Referenced from: /Users/USER/Library/Application Support/Sublime Text 3/Packages/RemoteTree/cryptography/hazmat/bindings/_openssl.abi3.so (which was built for Mac OS X 10.12) Expected in: /usr/lib/libSystem.B.dylib in /Users/USER/Library/Application Support/Sublime Text 3/Packages/RemoteTree/cryptography/hazmat/bindings/_openssl.abi3.so

Running on a MBP with 10.11.6

Flecko avatar Feb 28 '18 22:02 Flecko

Any progress? l really looking forward to make this plugin works

Project-42 avatar Dec 05 '18 19:12 Project-42