question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Plugin `flexget.plugins.operate.verify_ssl_certificates` failed to import dependencies

See original GitHub issue

Expected behaviour:

Running ‘flexget execute’ every hour to check for new items and successfully add them to Deluge.

Actual behaviour:

‘flexget execute’ fails to complete due to critical error.

Steps to reproduce:

  • Step 1: Run command ‘flexget execute’ or ‘flexget check’ and see an immediate error.

Config:

templates:
  tv:
    series:
      - "Marvel's Agents of S.H.I.E.L.D.":
          upgrade: yes
          quality: 720p+ hdtv+
          name_regexp: ^marvel(')?s.agents.of.(s.h.i.e.l.d.?|shield)
      - Brooklyn Nine-Nine:
          upgrade: yes
          quality: 720p+ hdtv+
      - It's Always Sunny in Philadelphia:
          alternate_name: Its Always Sunny in Philadelphia
          upgrade: yes
          quality: 720p+ hdtv+
      - Vice Principals:
          upgrade: yes
          quality: 720p+ hdtv+
      - The Night Of:
          upgrade: yes
          quality: 720p+ hdtv+
      - Westworld:
          upgrade: yes
          quality: 720p+ hdtv+
      - The Grand Tour:
          upgrade: yes
          quality: 1080p
      - Taboo:
          upgrade: yes
          quality: 720p+ hdtv+
      - Legion:
          upgrade: yes
          quality: 720p+ hdtv+
      - American Gods:
          upgrade: yes
          quality: 720p+ webrip+
      - The Handmaid's Tale:
          upgrade: yes
          quality: 720p+ webrip+


tasks:      
  mTv task:
    rss: https://www.morethan.tv/feeds.php?feed=authkeysthatactuallywork
    template: tv
    download: E:\Storage\
    deluge:
      main_file_only: yes
      queuetotop: yes
      label: mtv

Log:

C:\WINDOWS\system32>flexget execute
2017-05-27 10:42 CRITICAL plugin                        Plugin `flexget.plugins.operate.verify_ssl_certificates` failed to import dependencies
Traceback (most recent call last):
  File "d:\programs\python27\lib\site-packages\flexget\plugin.py", line 396, in _load_plugins_from_dirs
    __import__(module_name)
  File "d:\programs\python27\lib\site-packages\flexget\plugins\operate\verify_ssl_certificates.py", line 5, in <module>
    from requests.packages import urllib3
ImportError: No module named packages
2017-05-27 10:42 VERBOSE  task_queue                    There are 1 tasks to execute. Shutdown will commence when they have completed.
2017-05-27 10:42 CRITICAL task          mTv task        Plugin `deluge` cannot be used because dependency `deluge` is missing.
2017-05-27 10:42 WARNING  task          mTv task        Aborting task (plugin: deluge)

C:\WINDOWS\system32>flexget check
2017-05-27 10:42 CRITICAL plugin                        Plugin `flexget.plugins.operate.verify_ssl_certificates` failed to import dependencies
Traceback (most recent call last):
  File "d:\programs\python27\lib\site-packages\flexget\plugin.py", line 396, in _load_plugins_from_dirs
    __import__(module_name)
  File "d:\programs\python27\lib\site-packages\flexget\plugins\operate\verify_ssl_certificates.py", line 5, in <module>
    from requests.packages import urllib3
ImportError: No module named packages
2017-05-27 10:42 VERBOSE  check                         Pre-checked 113 configuration lines
2017-05-27 10:42 VERBOSE  check                         Checking config file `C:\Users\BJ\flexget\config.yml`
2017-05-27 10:42 VERBOSE  check                         Config passed check.

Additional information:

  • FlexGet version: 2.10.54
  • Python version: 2.7.13
  • Installation method: pip (as instructed at https://flexget.com/InstallWizard/Windows)
  • Using daemon (yes/no): No. Using task scheduler.
  • OS and version: Microsoft Windows [Version 10.0.15063]

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:21 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
SmartFinncommented, May 27, 2017

Requests 2.16.0 has been released with breaking changes https://github.com/kennethreitz/requests/issues/4069

Workaround:

pip install requests==2.15.1
1reaction
kennethreitzcommented, May 27, 2017

2.16.1 released, which fixes this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Plugins
Plugins provide most of the functionality in FlexGet. Plugins usually create, manipulate or download entries but they can also change how FlexGet operates....
Read more >
Problems getting Flexget to work with Deluge (Win7 x64)
ImportError: DLL load failed: %1 is not a valid Win32 application. Basically it says that a DLL is failing to open. I guess...
Read more >
Plugin Schemas — FlexGet 3.5.5.dev documentation
Plugins define their desired form of their config using draft 4 of the JSON ... The error messages it produces may help you...
Read more >
Getting 'no such module' error when importing a Swift ...
I'm using CocoaPods, and wanted to use one of my dependencies with Swift Package Manager as a static library instead of as a...
Read more >
https://git.xirion.net/0x76/nixpkgs/raw/commit/566...
longDescription = '' To use this you have to enter a nix-shell with vega. ... branchName= "pyusb"; }; # Tests fail on Mac...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found