@batong wrote:
Hi,
I upgraded my Flexget to the latest version yesterday, and after some tweaking of my config.yml script, all was working fine. But this morning, I am getting the following error: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)
Crash report:
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'
Apparently I am on the latest release:
flexget -V
2.10.40
You are on the latest release.Config.yml:
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
Python version 2.7.3
What to do?
Posts: 4
Participants: 2