Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[APP SUBMITTED]: IndexError: tuple index out of range #3064

Closed
duramato opened this issue Aug 26, 2017 · 12 comments
Closed

[APP SUBMITTED]: IndexError: tuple index out of range #3064

duramato opened this issue Aug 26, 2017 · 12 comments
Assignees

Comments

@duramato
Copy link
Contributor

INFO

Python Version: 2.7.9 (default, Sep 17 2016, 20:26:04) [GCC 4.9.2]
Operating System: Linux-4.9.35-v7+-armv7l-with-debian-8.0
Locale: UTF-8
Branch: develop
Database: 44.8
Commit: c3a7a22
Link to Log: https://gist.github.com/19e28ececb2afebb240c02b54a88fc6a

ERROR

2017-08-26 04:35:05 ERROR    TORNADO :: [c3a7a22] API :: 'tuple index out of range'
Traceback (most recent call last):
  File "/home/pi/Medusa/medusa/server/api/v1/core.py", line 126, in get
    out_dict = _call_dispatcher(args, kwargs)
  File "/home/pi/Medusa/medusa/server/api/v1/core.py", line 196, in call_dispatcher
    cur_out_dict = func(cur_args, cur_kwargs).run()  # call function and get response
  File "/home/pi/Medusa/medusa/server/api/v1/core.py", line 1640, in run
    results.append({INDEXER_IDS[_indexer]: int(cur_series['id']),
IndexError: tuple index out of range

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@duramato
Copy link
Contributor Author

duramato commented Oct 9, 2017

INFO

Python Version: 2.7.9 (default, Sep 17 2016, 20:26:04) [GCC 4.9.2]
Operating System: Linux-4.9.35-v7+-armv7l-with-debian-8.0
Locale: UTF-8
Branch: develop
Database: 44.8
Commit: d397bcb
Link to Log: https://gist.github.com/a149949d3d3fef8859dcbf893960b6f8

ERROR

2017-10-09 09:05:20 ERROR    FINDPROPERS :: [Pretome] :: [d397bcb] Failed parsing provider. Traceback: 'Traceback (most recent call last):\n  File "/home/pi/Medusa/medusa/providers/torrent/html/pretome.py", line 126, in parse\n    seeders = try_int(cells[9].get_text(), 1)\nIndexError: list index out of range\n'
Traceback (most recent call last):
  File "/home/pi/Medusa/medusa/providers/torrent/html/pretome.py", line 126, in parse
    seeders = try_int(cells[9].get_text(), 1)
IndexError: list index out of range

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@duramato
Copy link
Contributor Author

INFO

Python Version: 2.7.9 (default, Sep 17 2016, 20:26:04) [GCC 4.9.2]
Operating System: Linux-4.9.35-v7+-armv7l-with-debian-8.0
Locale: UTF-8
Branch: develop
Database: 44.8
Commit: ecd4b38
Link to Log: https://gist.github.com/b4eb22711f1aed4fb250e4cb6c449e1b

ERROR

2017-12-27 16:05:41 ERROR    SHOWQUEUE-REFRESH :: [ecd4b38] 73807: Error while refreshing show Fire Chasers. Error: list index out of range
Traceback (most recent call last):
  File "/home/pi/Medusa/medusa/show_queue.py", line 632, in run
    self.show.write_metadata()
  File "/home/pi/Medusa/medusa/tv/series.py", line 848, in write_metadata
    self.__get_images(metadata_provider)
  File "/home/pi/Medusa/medusa/tv/series.py", line 1197, in __get_images
    fanart_result = metadata_provider.create_fanart(self) or fanart_result
  File "/home/pi/Medusa/medusa/metadata/generic.py", line 299, in create_fanart
    return self.save_fanart(show_obj)
  File "/home/pi/Medusa/medusa/metadata/generic.py", line 516, in save_fanart
    fanart_data = self._retrieve_show_image(u'fanart', show_obj, which=which)
  File "/home/pi/Medusa/medusa/metadata/generic.py", line 729, in _retrieve_show_image
    indexer_show_obj = self._get_show_data(show_obj)
  File "/home/pi/Medusa/medusa/metadata/generic.py", line 852, in _get_show_data
    my_show = self.indexer_api[int(show_id)]
  File "/home/pi/Medusa/medusa/indexers/indexer_base.py", line 285, in __getitem__
    self._get_show_data(key, self.config['language'])
  File "/home/pi/Medusa/medusa/indexers/tmdb/tmdb.py", line 460, in _get_show_data
    self._parse_images(sid)
  File "/home/pi/Medusa/medusa/indexers/tmdb/tmdb.py", line 361, in _parse_images
    self._save_images(sid, _images)
  File "/home/pi/Medusa/medusa/indexers/indexer_base.py", line 261, in _save_images
    highest_rated = images_by_rating[0]
IndexError: list index out of range

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@duramato
Copy link
Contributor Author

@p0psicles

@HorusPi
Copy link

HorusPi commented Aug 2, 2018

INFO

Python Version: 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)]
Operating System: Windows-10-10.0.17134
Locale: cp1252
Branch: master
Database: 44.11
Commit: f5973b2
Link to Log: https://gist.github.com/952d1d37f39f63d1abc874de0259b6b9

ERROR

2018-08-02 18:49:45 ERROR    SEARCHQUEUE-DAILY-SEARCH :: [Newpct] :: [f5973b2] Failed parsing provider.
Traceback (most recent call last):
  File "E:\Medusa\Medusa\medusa\providers\torrent\html\newpct.py", line 140, in parse
    torrent_content = self._get_content(anchor.get('href'), mode)
  File "E:\Medusa\Medusa\medusa\providers\torrent\html\newpct.py", line 213, in _get_content
    return self._parse_download(torrent_content, mode)
  File "E:\Medusa\Medusa\medusa\providers\torrent\html\newpct.py", line 226, in _parse_download
    if not len(spans[0].contents)>1:
IndexError: list index out of range

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@flawlesscowboy0
Copy link

INFO

Python Version: 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)]
Operating System: Windows-10-10.0.17134
Locale: cp1252
Branch: master
Database: 44.11
Commit: f5973b2
Link to Log: https://gist.github.com/a67eea779ae915f5cd8639d40e608ae6

ERROR

2018-08-04 15:10:54 ERROR    SEARCHQUEUE-DAILY-SEARCH :: [Newpct] :: [f5973b2] Failed parsing provider.
Traceback (most recent call last):
  File "C:\Medusa\Medusa\medusa\providers\torrent\html\newpct.py", line 140, in parse
    torrent_content = self._get_content(anchor.get('href'), mode)
  File "C:\Medusa\Medusa\medusa\providers\torrent\html\newpct.py", line 213, in _get_content
    return self._parse_download(torrent_content, mode)
  File "C:\Medusa\Medusa\medusa\providers\torrent\html\newpct.py", line 226, in _parse_download
    size = spans[0].contents[1].strip()
IndexError: list index out of range

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@duramato
Copy link
Contributor Author

INFO

Python Version: 2.7.9 (default, Sep 17 2016, 20:26:04) [GCC 4.9.2]
Operating System: Linux-4.9.35-v7+-armv7l-with-debian-8.0
Locale: UTF-8
Branch: develop
Database: 44.12
Commit: 65697f1
Link to Log: https://gist.github.com/6e7ec0a33cf2603272cde0203be69484

ERROR

2018-09-27 18:04:31 ERROR    SEARCHQUEUE-RETRY-76119 :: [65697f1] BraceMessage string formatting failed. Using representation instead.
Traceback (most recent call last):
  File "/home/pi/Medusa/medusa/logger/adapters/style.py", line 40, in __str__
    return self.msg.format(**kwargs)
IndexError: tuple index out of range

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@p0psicles
Copy link
Contributor

INFO

Python Version: 2.7.13 (default, Nov 24 2017, 17:33:09) [GCC 6.3.0 20170516]
Operating System: Linux-4.9.0-4-amd64-x86_64-with-debian-9.2
Locale: UTF-8
Branch: develop
Database: 44.12
Commit: 65697f1
Link to Log: https://gist.github.com/426ed0eaf8b491fe666d0777ccd0648e

ERROR

2018-09-27 20:07:33 ERROR    SEARCHQUEUE-BACKLOG-337020 :: [65697f1] BraceMessage string formatting failed. Using representation instead.
Traceback (most recent call last):
  File "/opt/medusa/medusa/logger/adapters/style.py", line 40, in __str__
    return self.msg.format(**kwargs)
IndexError: tuple index out of range

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@duramato
Copy link
Contributor Author

duramato commented Oct 5, 2018

INFO

Python Version: 2.7.9 (default, Sep 17 2016, 20:26:04) [GCC 4.9.2]
Operating System: Linux-4.9.35-v7+-armv7l-with-debian-8.0
Locale: UTF-8
Branch: feature/fix-sub-enc-dec
Database: 44.12
Commit: 68b427c
Link to Log: https://gist.github.com/543f6524942ac737bd22a84d2a057f26

ERROR

2018-10-05 22:43:13 ERROR    SEARCHQUEUE-DAILY-SEARCH :: [68b427c] BraceMessage string formatting failed. Using representation instead.
Traceback (most recent call last):
  File "/home/pi/Medusa/medusa/logger/adapters/style.py", line 46, in __str__
    return self.msg.format(**kwargs)
IndexError: tuple index out of range

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@duramato
Copy link
Contributor Author

duramato commented Oct 5, 2018

@medariox ^

@medariox
Copy link
Contributor

medariox commented Oct 6, 2018

@duramato
Please update and try again. Should show the correct error now.

@ripper1967
Copy link

INFO

Python Version: 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)]
Operating System: Windows-10-10.0.15063
Locale: cp1252
Branch: develop
Database: 44.12
Commit: acd797b
Link to Log: https://gist.github.com/8669bd7499c1761ffe9dde3a1f8abb2c

ERROR

2018-10-07 22:51:07 ERROR    SEARCHQUEUE-DAILY-SEARCH :: [acd797b] BraceMessage string formatting failed. Using representation instead.
Traceback (most recent call last):
  File "C:\Medusa\medusa\logger\adapters\style.py", line 40, in __str__
    return self.msg.format(**kwargs)
IndexError: tuple index out of range

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@Miicker
Copy link

Miicker commented Nov 6, 2018

INFO

Python Version: 2.7.13 (default, Apr 20 2017, 12:13:37) [GCC 6.3.0]
Operating System: Linux-3.10.102-x86_64-with
Locale: None
Branch: master
Database: 44.12
Commit: 0c0a735
Link to Log: No Log available

ERROR

2018-11-05 05:16:14 ERROR    POSTPROCESSOR :: [0c0a735] Exception generated: list index out of range
Traceback (most recent call last):
  File "/app/medusa/medusa/scheduler.py", line 93, in run
    self.action.run(self.force)
  File "/app/medusa/medusa/auto_post_processor.py", line 58, in run
    process_tv.ProcessResult(app.TV_DOWNLOAD_DIR, app.PROCESS_METHOD).process(force=force)
  File "/app/medusa/medusa/process_tv.py", line 145, in process
    ignore_subs=ignore_subs)
  File "/app/medusa/medusa/process_tv.py", line 335, in process_files
    self.process_media(path, self.video_files, force, is_priority, ignore_subs)
  File "/app/medusa/medusa/process_tv.py", line 556, in process_media
    self.result = processor.process()
  File "/app/medusa/medusa/post_processor.py", line 1106, in process
    if int(ep_obj.season) > int(max_season[0]['max']):
IndexError: list index out of range

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants