screencloud icon indicating copy to clipboard operation
screencloud copied to clipboard

Error on startup with any plugin: ImportError: No module named ScreenCloud

Open neodc opened this issue 8 years ago • 9 comments

1.3 on ubuntu 14.04, when I start screencloud with any plugin activated (here sftp) I get the error :

Error in file: /home/neodc/.local/share/data/screencloud/ScreenCloud/plugins/sftp/main.py
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named ScreenCloud

And if I try to open its configuration I get :

Failed to call SFTPUploader.showSettingsUI()
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: cannot import name SFTPUploader
Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name 'SFTPUploader' is not defined
Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name 'sftp_u' is not defined

neodc avatar Aug 26 '16 22:08 neodc

Same error Ubuntu 16.04

core01 avatar Aug 30 '16 17:08 core01

Same error elementary OS 0.3.2 Freya (Ubuntu 14.04)

minimulin avatar Sep 05 '16 11:09 minimulin

the same error on Linux Mint 17.2

hunterforcode avatar Sep 08 '16 08:09 hunterforcode

@olav-st, I was able to resolve a similar issue with the FTP plugin on Korora 24( Fedora 24 ) by adding the following lines to the top of ~/.local/share/data/screencloud/ScreenCloud/plugins/ftp/main.py import sys sys.path.insert(1, '/usr/share/screencloud/modules')

Then I just needed to run: sudo ln -s /usr/include/python2.7 /usr/local/include/python2.7

Pretty sure that's not a 'clean' fix, but I hope that helps someone.

FromCrimsonToWool avatar Oct 13 '16 13:10 FromCrimsonToWool

I've tried above on 14.04. There is no 'No module named ScreenCloud' anymore, but the following occurs on starting ScreenCloud:

Error in file: /home/sim/.local/share/data/screencloud/ScreenCloud/plugins/ftp/main.py Traceback (most recent call last): File "", line 3, in File "/usr/share/screencloud/modules/ScreenCloud.py", line 1, in from PythonQt.QtCore import QSettings ImportError: cannot import name QSettings

ScreenCloud actually starts after that, but attempt to open FTP settings produces:

Failed to call FTPUploader.showSettingsUI() Traceback (most recent call last): File "", line 1, in NameError: name 'ftp_u' is not defined

simgislab avatar Oct 13 '16 14:10 simgislab

@simgislab It would appear that some of the required libraries for Screencloud to install are not available on Ubuntu 14.04 as shown below. Not sure if @olav-st would address that or not, but that's what I was able to find thus far. a856f549e13d658fef88c84447b13687

FromCrimsonToWool avatar Oct 25 '16 14:10 FromCrimsonToWool

same on Fedora 23 since 0.1.3 update :/

SkyzohKey avatar Dec 01 '16 11:12 SkyzohKey

Same issue here on Arch.

ntwi avatar Feb 02 '17 00:02 ntwi

This issue has had no activity in the last 60 days. Please add a reply if you want to keep this issue active, otherwise it will be automatically closed after 30 days.

github-actions[bot] avatar Apr 30 '24 02:04 github-actions[bot]

This issue was closed because of inactivity. If this issue is still relevant, please re-open a new issue.

github-actions[bot] avatar Jun 09 '24 02:06 github-actions[bot]