-
Notifications
You must be signed in to change notification settings - Fork 481
Not working with IPT #1812
Copy link
Copy link
Closed
Labels
Description
Expected behaviour:
Actual behaviour:
2017-05-03 16:00 CRITICAL task trakt_movies_search BUG: Unhandled error in plugin discover: 'NoneType' object has no attribute 'text'
2017-05-03 16:00 CRITICAL manager trakt_movies_search An unexpected crash has occurred. Writing crash report to /home/pi/.flexget/crash_report.2017.05.03.160045285820.log. Please verify you are running the latest version of flexget by using "flexget -V" from CLI or by using version_checker plugin at http://flexget.com/wiki/Plugins/version_checker. You are currently using version 2.10.40
2017-05-03 16:00 WARNING task trakt_movies_search Aborting task (plugin: discover)
Steps to reproduce:
- Step 1: ...
Just try to use Flexget with IPTorrents
Config:
trakt_movies_search:
template: movie
priority: 3 # run after the movie queue fill task
discover:
what:
- movie_list: traktmovielist
from:
- extratorrent:
category: movies
- iptorrents:
rss_key: '{? iptorrents.passkey ?}'
uid: '{? iptorrents.uid ?}'
password: '{? iptorrents.pass ?}'
category: Movie-HD-Bluray
- piratebay:
category: "highres movies"
sort_by: seeds
- rarbg:
category: [ 42, 44, 45 ]
interval: 1 hour
list_match:
from:
- movie_list: traktmovielist
Full config: https://pastebin.com/4znLdZpY
Log:
pi@plex ~/.flexget $ cat /home/pi/.flexget/crash_report.2017.05.03.160045285820.log
2017-05-03 16:00 DEBUG manager Figuring out config load paths
2017-05-03 16:00 DEBUG manager Found config: /home/pi/.flexget/config.yml
2017-05-03 16:00 DEBUG manager Config file /home/pi/.flexget/config.yml selected
2017-05-03 16:00 CRITICAL task trakt_movies_search BUG: Unhandled error in plugin discover: 'NoneType' object has no attribute 'text'
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/flexget/task.py", line 483, in __run_plugin
return method(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/flexget/event.py", line 23, in __call__
return self.func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/input/discover.py", line 290, in on_task_input
return self.execute_searches(config, entries, task)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/input/discover.py", line 155, in execute_searches
search_results = search.search(task=task, entry=entry, config=plugin_config)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugin.py", line 118, in wrapped_func
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/sites/iptorrents.py", line 150, in search
entry['title'] = torrent.findPrevious('a', attrs={'class': 'b'}).text
AttributeError: 'NoneType' object has no attribute 'text'
Additional information:
- Flexget Version: 2.10.40
- Python Version: 2.7.3
- Installation method: Normal
- OS and version: Raspbian
- Link to crash log:
Reactions are currently unavailable