Skip to content

Imgur plugin unusable #19

@Tailszefox

Description

@Tailszefox

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions