pymedusa / Medusa

Automatic Video Library Manager for TV Shows. It watches for new episodes of your favorite shows, and when they are posted it does its magic.
https://pymedusa.com
GNU General Public License v3.0
1.76k stars 274 forks source link

[APP SUBMITTED]: TypeError: 'NoneType' object is not subscriptable #11519

Open taochern opened 10 months ago

taochern commented 10 months ago

INFO

Python Version: 3.10.8 (main, Oct 13 2022, 23:33:11) [GCC 10.3.1 20211027] Operating System: Linux-4.4.302+-x86_64-with Locale: UTF-8 Branch: master Database: 44.19 Commit: pymedusa/Medusa@d9c31da063e6c4b4383749e19b27b13693a1b71e Link to Log: https://gist.github.com/taochern/d753a44022385b72f27a6137bd7e42eb

ERROR

2023-10-15 09:06:49 ERROR    SEARCHQUEUE-DAILY-SEARCH :: [BinSearch] :: [d9c31da] DailySearchQueueItem Exception, error: TypeError("'NoneType' object is not subscriptable")
Traceback (most recent call last):
  File "/app/medusa/medusa/search/queue.py", line 295, in run
    found_results = search_for_needed_episodes(self.scheduler_start_time, force=self.force)
  File "/app/medusa/medusa/search/core.py", line 541, in search_for_needed_episodes
    cur_provider.cache.update_cache(scheduler_start_time)
  File "/app/medusa/medusa/tv/cache.py", line 226, in update_cache
    data = self._get_rss_data()
  File "/app/medusa/medusa/tv/cache.py", line 201, in _get_rss_data
    return {'entries': self.provider.search(self.search_params)}
  File "/app/medusa/medusa/providers/nzb/binsearch.py", line 95, in search
    results += self.parse(response.text, mode)
  File "/app/medusa/medusa/providers/nzb/binsearch.py", line 116, in parse
    post_url = html.find('form', {'method': 'post'})['action']
TypeError: 'NoneType' object is not subscriptable

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

fexofenadine commented 10 months ago

INFO

Python Version: 3.11.6 (main, Oct 4 2023, 06:22:18) [GCC 12.2.1 20220924] Operating System: Linux-4.4.302+-x86_64-with Locale: UTF-8 Branch: master Database: 44.19 Commit: pymedusa/Medusa@baad1e5af59d7f29606c1fed1c110af1424bb117 Link to Log: No Log available

ERROR

2023-11-12 02:08:51 ERROR    SEARCHQUEUE-DAILY-SEARCH :: [TorrentGalaxy.to Jackett] :: [baad1e5] DailySearchQueueItem Exception, error: TypeError("'NoneType' object is not iterable")
Traceback (most recent call last):
  File "/app/medusa/medusa/search/queue.py", line 295, in run
    found_results = search_for_needed_episodes(self.scheduler_start_time, force=self.force)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/medusa/search/core.py", line 550, in search_for_needed_episodes
    found_results = cur_provider.cache.find_needed_episodes(episodes)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/medusa/tv/cache.py", line 500, in find_needed_episodes
    cache_results = self.find_episodes(episodes)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/medusa/tv/cache.py", line 595, in find_episodes
    sql_results = list(itertools.chain(*sql_results))
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

fexofenadine commented 9 months ago

INFO

Python Version: 3.11.6 (main, Oct 4 2023, 06:22:18) [GCC 12.2.1 20220924] Operating System: Linux-4.4.302+-x86_64-with Locale: UTF-8 Branch: master Database: 44.19 Commit: pymedusa/Medusa@baad1e5af59d7f29606c1fed1c110af1424bb117 Link to Log: No Log available

ERROR

2023-11-15 03:20:30 ERROR    SEARCHQUEUE-DAILY-SEARCH :: [1337x] :: [baad1e5] DailySearchQueueItem Exception, error: TypeError("'NoneType' object is not iterable")
Traceback (most recent call last):
  File "/app/medusa/medusa/search/queue.py", line 295, in run
    found_results = search_for_needed_episodes(self.scheduler_start_time, force=self.force)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/medusa/search/core.py", line 550, in search_for_needed_episodes
    found_results = cur_provider.cache.find_needed_episodes(episodes)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/medusa/tv/cache.py", line 500, in find_needed_episodes
    cache_results = self.find_episodes(episodes)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/medusa/medusa/tv/cache.py", line 595, in find_episodes
    sql_results = list(itertools.chain(*sql_results))
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

taochern commented 8 months ago

INFO

Python Version: 3.10.8 (main, Oct 13 2022, 23:33:11) [GCC 10.3.1 20211027] Operating System: Linux-4.4.302+-x86_64-with Locale: UTF-8 Branch: master Database: 44.19 Commit: pymedusa/Medusa@d9c31da063e6c4b4383749e19b27b13693a1b71e Link to Log: https://gist.github.com/taochern/304136d07523fef473fb797b3c04354f

ERROR

2023-12-21 02:49:17 ERROR    SEARCHQUEUE-DAILY-SEARCH :: [BinSearch] :: [d9c31da] DailySearchQueueItem Exception, error: TypeError("'NoneType' object is not subscriptable")
Traceback (most recent call last):
  File "/app/medusa/medusa/search/queue.py", line 295, in run
    found_results = search_for_needed_episodes(self.scheduler_start_time, force=self.force)
  File "/app/medusa/medusa/search/core.py", line 541, in search_for_needed_episodes
    cur_provider.cache.update_cache(scheduler_start_time)
  File "/app/medusa/medusa/tv/cache.py", line 226, in update_cache
    data = self._get_rss_data()
  File "/app/medusa/medusa/tv/cache.py", line 201, in _get_rss_data
    return {'entries': self.provider.search(self.search_params)}
  File "/app/medusa/medusa/providers/nzb/binsearch.py", line 95, in search
    results += self.parse(response.text, mode)
  File "/app/medusa/medusa/providers/nzb/binsearch.py", line 116, in parse
    post_url = html.find('form', {'method': 'post'})['action']
TypeError: 'NoneType' object is not subscriptable

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

taochern commented 8 months ago

INFO

Python Version: 3.10.8 (main, Oct 13 2022, 23:33:11) [GCC 10.3.1 20211027] Operating System: Linux-4.4.302+-x86_64-with Locale: UTF-8 Branch: master Database: 44.19 Commit: pymedusa/Medusa@d9c31da063e6c4b4383749e19b27b13693a1b71e Link to Log: https://gist.github.com/taochern/0e9bd7b69d90893401b4f95930fe9521

ERROR

2023-12-29 12:50:05 ERROR    SEARCHQUEUE-DAILY-SEARCH :: [BinSearch] :: [d9c31da] DailySearchQueueItem Exception, error: TypeError("'NoneType' object is not subscriptable")
Traceback (most recent call last):
  File "/app/medusa/medusa/search/queue.py", line 295, in run
    found_results = search_for_needed_episodes(self.scheduler_start_time, force=self.force)
  File "/app/medusa/medusa/search/core.py", line 541, in search_for_needed_episodes
    cur_provider.cache.update_cache(scheduler_start_time)
  File "/app/medusa/medusa/tv/cache.py", line 226, in update_cache
    data = self._get_rss_data()
  File "/app/medusa/medusa/tv/cache.py", line 201, in _get_rss_data
    return {'entries': self.provider.search(self.search_params)}
  File "/app/medusa/medusa/providers/nzb/binsearch.py", line 95, in search
    results += self.parse(response.text, mode)
  File "/app/medusa/medusa/providers/nzb/binsearch.py", line 116, in parse
    post_url = html.find('form', {'method': 'post'})['action']
TypeError: 'NoneType' object is not subscriptable

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

taochern commented 8 months ago

INFO

Python Version: 3.10.8 (main, Oct 13 2022, 23:33:11) [GCC 10.3.1 20211027] Operating System: Linux-4.4.302+-x86_64-with Locale: UTF-8 Branch: master Database: 44.19 Commit: pymedusa/Medusa@d9c31da063e6c4b4383749e19b27b13693a1b71e Link to Log: https://gist.github.com/taochern/0b339ea457566cb2bf42faba5ee2d523

ERROR

2023-12-29 23:40:20 ERROR    SEARCHQUEUE-DAILY-SEARCH :: [BinSearch] :: [d9c31da] DailySearchQueueItem Exception, error: TypeError("'NoneType' object is not subscriptable")
Traceback (most recent call last):
  File "/app/medusa/medusa/search/queue.py", line 295, in run
    found_results = search_for_needed_episodes(self.scheduler_start_time, force=self.force)
  File "/app/medusa/medusa/search/core.py", line 541, in search_for_needed_episodes
    cur_provider.cache.update_cache(scheduler_start_time)
  File "/app/medusa/medusa/tv/cache.py", line 226, in update_cache
    data = self._get_rss_data()
  File "/app/medusa/medusa/tv/cache.py", line 201, in _get_rss_data
    return {'entries': self.provider.search(self.search_params)}
  File "/app/medusa/medusa/providers/nzb/binsearch.py", line 95, in search
    results += self.parse(response.text, mode)
  File "/app/medusa/medusa/providers/nzb/binsearch.py", line 116, in parse
    post_url = html.find('form', {'method': 'post'})['action']
TypeError: 'NoneType' object is not subscriptable

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

taochern commented 8 months ago

INFO

Python Version: 3.10.8 (main, Oct 13 2022, 23:33:11) [GCC 10.3.1 20211027] Operating System: Linux-4.4.302+-x86_64-with Locale: UTF-8 Branch: master Database: 44.19 Commit: pymedusa/Medusa@d9c31da063e6c4b4383749e19b27b13693a1b71e Link to Log: https://gist.github.com/taochern/66a71928f88cd246ea79875ac88ffedb

ERROR

2023-12-30 00:20:15 ERROR    SEARCHQUEUE-DAILY-SEARCH :: [BinSearch] :: [d9c31da] DailySearchQueueItem Exception, error: TypeError("'NoneType' object is not subscriptable")
Traceback (most recent call last):
  File "/app/medusa/medusa/search/queue.py", line 295, in run
    found_results = search_for_needed_episodes(self.scheduler_start_time, force=self.force)
  File "/app/medusa/medusa/search/core.py", line 541, in search_for_needed_episodes
    cur_provider.cache.update_cache(scheduler_start_time)
  File "/app/medusa/medusa/tv/cache.py", line 226, in update_cache
    data = self._get_rss_data()
  File "/app/medusa/medusa/tv/cache.py", line 201, in _get_rss_data
    return {'entries': self.provider.search(self.search_params)}
  File "/app/medusa/medusa/providers/nzb/binsearch.py", line 95, in search
    results += self.parse(response.text, mode)
  File "/app/medusa/medusa/providers/nzb/binsearch.py", line 116, in parse
    post_url = html.find('form', {'method': 'post'})['action']
TypeError: 'NoneType' object is not subscriptable

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators