Giter VIP home page Giter VIP logo

Comments (6)

olav-st avatar olav-st commented on September 4, 2024

Hi,

You can try checking what paths the ScreenCloud python interpreter is using and compare them to your regular python installs. Go to Preferences and hit Ctrl+D to open the debug console. Type:

import sys
print sys.path

Also, keep in mind that the git version is not ready for release. It still has a few issues and I'm currently struggling to make it work properly on Windows and OS X.

from screencloud.

Nothing4You avatar Nothing4You commented on September 4, 2024
py> import sys
py> print("\n".join(sys.path))
/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/shell/modules
/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/sftp/modules
/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/ftp/modules
/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/shell/modules
/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/sftp/modules
/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/ftp/modules
/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/shell/modules
/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/sftp/modules
/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/ftp/modules
/opt/screencloud/modules/python-stdlib
/opt/screencloud/modules
/usr/lib/python27.zip
/usr/lib/python2.7/
/usr/lib/python2.7/plat-linux2
/usr/lib/python2.7/lib-tk
/usr/lib/python2.7/lib-old
/usr/lib/python2.7/lib-dynload
>>> import sys
>>> print("\n".join(sys.path))

/usr/lib/python27.zip
/usr/lib/python2.7
/usr/lib/python2.7/plat-linux2
/usr/lib/python2.7/lib-tk
/usr/lib/python2.7/lib-old
/usr/lib/python2.7/lib-dynload
/home/rschwab/.local/lib/python2.7/site-packages
/usr/lib/python2.7/site-packages
/usr/lib/python2.7/site-packages/gtk-2.0
/usr/lib/python2.7/site-packages/wx-2.8-gtk2-unicode
/usr/lib/python2.7/site-packages/wx-3.0-gtk2
/usr/lib/site-python
diff --git a/x b/y
index 2e4b1da..186efb4 100644
--- a/x
+++ b/y
@@ -1,13 +1,17 @@
-
+/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/shell/modules
+/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/sftp/modules
+/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/ftp/modules
+/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/shell/modules
+/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/sftp/modules
+/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/ftp/modules
+/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/shell/modules
+/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/sftp/modules
+/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/ftp/modules
+/opt/screencloud/modules/python-stdlib
+/opt/screencloud/modules
 /usr/lib/python27.zip
-/usr/lib/python2.7
+/usr/lib/python2.7/
 /usr/lib/python2.7/plat-linux2
 /usr/lib/python2.7/lib-tk
 /usr/lib/python2.7/lib-old
 /usr/lib/python2.7/lib-dynload
-/home/rschwab/.local/lib/python2.7/site-packages
-/usr/lib/python2.7/site-packages
-/usr/lib/python2.7/site-packages/gtk-2.0
-/usr/lib/python2.7/site-packages/wx-2.8-gtk2-unicode
-/usr/lib/python2.7/site-packages/wx-3.0-gtk2
-/usr/lib/site-python

Crypto is actually located in /usr/lib/python2.7/site-packages/Crypto.

I'm aware of the fact that the git version is not stable, however, if I can report bugs that get fixed before the next release it's usually better than releasing and after the release getting all the bug reports.

from screencloud.

olav-st avatar olav-st commented on September 4, 2024

Try the newest git version (4e1b8b9). It should have site-packages included now.

Also, It's great that you want to help find bugs. Just don't excpect anything to work well ;)

from screencloud.

Nothing4You avatar Nothing4You commented on September 4, 2024

Thanks, plugin loads without errors now.
I tried to upload something via SFTP and forgot to change the port (it was on 21, either wrong default or problem during upgrade), now I'm getting this:

Traceback (most recent call last):
  File "<string>", line 102, in upload
  File "/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/sftp/modules/paramiko/transport.py", line 1007, in connect
    self.start_client()
  File "/home/rschwab/.local/share/data/screencloud/ScreenCloud/plugins/sftp/modules/paramiko/transport.py", line 466, in start_client
    raise e
paramiko.SSHException: Error reading SSH protocol banner

Port 21 runs an FTP server, so there should probably be a nice error message explaining what's failing.
Otherwise, keyfile auth works without any problems, which is an awesome new feature.
Thanks!

from screencloud.

olav-st avatar olav-st commented on September 4, 2024

Thanks for the heads up. The default port was set to 21 for some reason. I've fixed it with olav-st/screencloud-plugins@2f74e98

from screencloud.

Nothing4You avatar Nothing4You commented on September 4, 2024

I'll close this issue and create a new one for better error handling.

from screencloud.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.