GithubHelp home page GithubHelp logo

olav-st / screencloud-plugins Goto Github PK

View Code? Open in Web Editor NEW
19.0 3.0 24.0 11.83 MB

List of uploader plugins for ScreenCloud

License: GNU Lesser General Public License v3.0

screencloud plugins list

screencloud-plugins's Introduction

screencloud-plugins

List of plugins for ScreenCloud. The file plugin-list.xml contains metadata about the plugins as well as a download link.

If you want to write your own plugin, check out the Plugin Overview.

screencloud-plugins's People

Contributors

adrianharabula avatar gamingrobot avatar ichbinjoe avatar nighthtr avatar olav-st avatar rocik avatar synweap15 avatar the-jj avatar xmase avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

screencloud-plugins's Issues

How to use

It would be nice if you showed us how to install and use these plugins.
Also open source screen cloud please! Its by far the best screenshot uploader for Ubuntu.

md_5

Various script errors

I tried installing 3 plugins and all three gave different errors:

  1. after installing a plugin (and on app startup):

Clipboard

Script "/home/waldir/.local/share/data/screencloud/ScreenCloud/plugins/clipboard/main.js" threw an uncaught exception: Error: Unable to import qt.gui: no such extension
Line number: 1

Imgur

Script "/home/waldir/.local/share/data/screencloud/ScreenCloud/plugins/imgur/main.js" threw an uncaught exception: Error: Unable to import qt.network: no such extension
Line number: 1

Dropbox

Script "/home/waldir/.local/share/data/screencloud/ScreenCloud/plugins/dropbox/main.js" threw an uncaught exception: Error: Unable to import qt.network: no such extension
Line number: 1


  1. Changing "save to" dropdown menu to an unconfigured plugin:

Clipboard
(no error)

Imgur

Script threw an uncaught exception while looking for saveSettings function: TypeError: Result of expression 'settings' [undefined] is not an object.
Line number: 22

Dropbox

Script threw an uncaught exception while looking for saveSettings function: TypeError: Result of expression 'settings' [undefined] is not an object.
Line number: 21


  1. when trying to edit settings (either from the save screenshot dialog or from the preferences window):

Clipboard

Script threw an uncaught exception while looking for setupSettingsUi function: ReferenceError: Can't find variable: QMessageBox
Line number: 19

Imgur

Script threw an uncaught exception while looking for setupSettingsUi function: TypeError: Result of expression 'settings' [undefined] is not an object.
Line number: 22

Dropbox

Script threw an uncaught exception while looking for setupSettingsUi function: TypeError: Result of expression 'settings' [undefined] is not an object.
Line number: 21


  1. clicking OK after taking a screenshot with Clipboard plugin selected (recall that in step 2. there was no error when switching to it):

Script threw an uncaught exception while looking for upload function: ReferenceError: Can't find variable: QApplication
Line number: 23

After this particular error, neither the key bindings, nor right-click menu on screencloud icon, work anymore. Other menu items (e.g. "quit") work normally.

imgur plugin conflicts with apache license

Hi,

the imgur plugin uses an embedded copy of the python requests library. That copy is missing the "LICENSE" file explaining that requests is released under the Apache license. Also, the Apache license requires distributing the NOTICE file when distributing copies of a project, so the NOTICE file must be included as well. Maybe there's more stuff missing, right now this repo only has the requests code files as far as I can tell.

Cheers,
Florian

SFTP plugin is very slow

Thanks for SFTP plugin to ScreenCloud
At the moment there is a problem with slow upload of screenshots to our SFTP server.

[INFO] "Uploading screenshot to 'sftp'. Size: 8294400 bytes"
Takes 3 minutes

If we use Monosnap or Joxy with upload to SFTP server - it takes few seconds.

It doesn't look like a network problem :)

Thank you!

imgur broken in 1.3.0

In Screencloud v 1.3.0 whenever trying to install the imgur plugin I get the following, which makes imgurl disabled for use.


Script error in plugin 'imgur'

Error in file: C:/Users/Ben/AppData/Roaming/screencloud/ScreenCloud/plugins/imgur/main.py
Traceback (most recent call last):
File "", line 5, in
File "C:/Users/Ben/AppData/Roaming/screencloud/ScreenCloud/plugins\imgur\modules\pyimgur__init__.py", line 45, in
import requests # NOQA
File "C:/Users/Ben/AppData/Roaming/screencloud/ScreenCloud/plugins\imgur\modules\requests__init__.py", line 58, in
from . import utils
File "C:/Users/Ben/AppData/Roaming/screencloud/ScreenCloud/plugins\imgur\modules\requests\utils.py", line 12, in
import cgi
File "C:\Program Files (x86)\ScreenCloud\python35.zip\cgi.py", line 39, in
File "C:\Program Files (x86)\ScreenCloud\python35.zip\email\parser.py", line 12, in
File "C:\Program Files (x86)\ScreenCloud\python35.zip\email\feedparser.py", line 27, in
File "C:\Program Files (x86)\ScreenCloud\python35.zip\email\message.py", line 16, in
File "C:\Program Files (x86)\ScreenCloud\python35.zip\email\utils.py", line 30, in
ImportError: DLL load failed: The specified module could not be found.


OK

Thanks

Ben

Imgur plugin, syntax error message

Well, i just upgraded from version 1.1.0 and the first issue I had was that I wasn't able to install Imgur plugin through the plugin manager, it did nothing so I had to install it from the URL.

After I installed, it shows this error.

Imgur error

Info:
OS: Windows x64
Current ScreenCloud version: 1.1.3

PS: No "file" plugin in this version?

It doesn't work on Debian :/

[SFTP] Support for SHA-2 Kex and HMAC

SFTP plugin currently supports only SHA-1 variations of key exchange algorithms and HMACs - support for SHA-2 variations (like diffie-hellman-group-exchange-sha256, curve25519-sha256 for Kex and hmac-sha2-512, hmac-sha2-256, etc. for HMAC) would be great security improvement.

Issues with PythonQt 3.1

I just upgrade to PythonQt 3.1 and now I get some errors with this library.

Error in file: /home/alfredo/.local/share/screencloud/ScreenCloud/plugins/file/main.py
Traceback (most recent call last):
  File "<string>", line 4, in <module>
ImportError: No module named 'PythonQt.QtUiTools'; 'PythonQt' is not a package
Error in file: /home/alfredo/.local/share/screencloud/ScreenCloud/plugins/file/main.py
Traceback (most recent call last):
  File "<string>", line 4, in <module>
ImportError: No module named 'PythonQt.QtUiTools'; 'PythonQt' is not a package

Running import sys, Screencloud from the debug console:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named 'Screencloud'

My system:

  • Arch Linux x64
  • GCC 6.1.1
  • Qt 5.6.1
  • Python 2.7.11 and 3.5.1

New Site is Awesome

Just like to say the new site looks pretty awesome indeed. I notice the blog still needs to be moved to the new theme, but its looking great :)

Imgur plugin unusable

I already posted about this issue on the main repository, but since this is about a plugin, it's probably better to post about it here.

Currently running Debian Jessie, I'm trying to use the Imgur plugin with the latest version of Screencloud installed from the repository. However, I'm getting the following errors each time I start Screencloud:

Error in file: /home/tails/.local/share/data/screencloud/ScreenCloud/plugins/imgur/main.py
Traceback (most recent call last):
  File "<string>", line 5, in <module>
  File "/home/tails/.local/share/data/screencloud/ScreenCloud/plugins/imgur/modules/pyimgur/__init__.py", line 39, in <module>
    import requests
  File "/home/tails/.local/share/data/screencloud/ScreenCloud/plugins/imgur/modules/requests/__init__.py", line 53, in <module>
    from .packages.urllib3.contrib import pyopenssl
  File "/home/tails/.local/share/data/screencloud/ScreenCloud/plugins/imgur/modules/requests/packages/urllib3/contrib/pyopenssl.py", line 69, in <module>
    ssl.PROTOCOL_SSLv3: OpenSSL.SSL.SSLv3_METHOD,
AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'

followed by

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

And when trying to configure the plugin:

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

I posted a solution to this issue here. Basically, this is due to the dependencies being out of date. Simply bumping the submodules to the latest version available should do the trick.

Dropbox plugin not working

Using latest version as far as I can tell.

image

image

Would like to help with plugins support, mainly Dropbox, but have no idea where to start.

Plugin "file" ignores value of "Name" field on saving

Even if you've tried to change name in "Save" dialog, file still will be saved under name received from call of ScreenCloud.formatFilename (main.py:50):

f = QFile(self.folder + "/" + ScreenCloud.formatFilename(self.nameFormat))

This behaviour ignores value of argument "name" in upload function params. I guess, this can be fixed with something like this:

f = QFile(self.folder + "/" + name)

I hope, i've explained this issue clear enough.

[imgur] Python 3 issues and when uploading

  • Currently when clicking the "Login on Imgur.com" button (Imgur settings window) It gives the following error:
Traceback (most recent call last):
  File "<string>", line 126, in startAuthenticationProcess
NameError: name 'raw_input' is not defined

After some research I found that the raw_input() function was renamed to input() in Python 3.x

Source: https://docs.python.org/3/whatsnew/3.0.html

  • And when trying to upload to Imgur anonymously:
Got a buffer underflow!
[WARN] "Error while playing audio. Code: 3"
[INFO] "Uploading screenshot to 'imgur'. Size: 67076 bytes"
QObject::setParent: Cannot set parent, new parent is in a different thread
QObject::setParent: Cannot set parent, new parent is in a different thread
QObject::setParent: Cannot set parent, new parent is in a different thread
QObject::setParent: Cannot set parent, new parent is in a different thread
[INFO] "URL: http://i.imgur.com/5rorlsT.png"

Feature request: Add support for FTPS to FTP plugin

Many shared hosts don't support SFTP or unencrypted FTP.

It would be super useful if there could be an extra option added to force the FTP plugin to use SSL/TLS.

Right now, attempting to upload using FTP on a server that requires encryption yields this error:

ftplib.error_temp: 421 Sorry, cleartext sessions are not accepted on this server.

As an example, FileZilla has an Encryption option with the FTP protocol that allows you to choose between "Only use plain FTP (insecure)", "Require implicit FTP over TLS", "Require explicit FTP over TLS", and "Use explicit FTP over TLS if available". The latter options allow proper connection and uploading to a server that only allows FTPS.

Imgur broken (SSL Error)

Error

Not sure if related to #19 as I didn't have this error yesterday.

I'm using the latest screencloud version and the update checker says it's on the latest version.

No idea how to check the plugin version though.

Edit:
Forgot to post more details.
System is Win 8.1 x64.

Feature-request: Improved default name format

I've seen from sftp/main.py that I can set some filename variables like %H-%M-%S

What I'm looking for is to sha or md5sum the files and save them by that name (ideally in a dated directory hierarchy also)

Anyway I'm no python expert or else I'd do it myself but was expect something like this would be very useful. (...a bit like how hipchat handles images)

Could not import Crypto.PublicKey

Trying to use the sftp plugin, throws this error:

screenshot from 2017-02-12 20-07-58

PyCrypto is installed, and importable successfully.

Reproducable on 2 machines, both Arch Linux, both using screencloud package on AUR

Nextcloud Support

Please add a Nextcloud Plugin to Screencloud. Nextcloud is a open source cloud solution that allows user to create easily his own cloud for data, videos and many other things. It would be great if Screencloud can get a Plugin for this that automatically sends the Screenshot to the Nextcloud and puts a share link in to the clipboard to easily share it.

FTP Upload Permisssions

I noticed that there wasn't a way to configure upload permissions from the menu. I can't get it working myself, so I figured you may be able to understand how to (I don't know a lot of Python). Here is the documentation on how to chmod a file using ftputil:

http://ftputil.sschwarzer.net/trac/wiki/Documentation#ftphost-chmod

From what I saw is you can't use the "ftp" variable in your program, you need to use a FTPHost object.

Imgur plugin errors

After installing the Imgur plugin, I click "Settings" and see:

Script threw an uncaught exception while looking for setupSettingsUi function: TypeError: Result of expression 'settings' [undefined] is not an object.

Line number: 22

When starting Screencloud:

Script "/home/---/.local/share/data/screencloud/ScreenCloud/plugins/imgur/main.js" threw an uncaught exception: Error: Unable to import qt.network: no such extension

Line number: 1

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.