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

Bug: IndexError: list index out of range - during scheduled run #380

Closed
ShrinkWrapper opened this issue Sep 6, 2021 · 2 comments · Fixed by #392
Closed

Bug: IndexError: list index out of range - during scheduled run #380

ShrinkWrapper opened this issue Sep 6, 2021 · 2 comments · Fixed by #392
Assignees
Labels
bug Bug is with Plex Meta Manager status:added-to-develop Feature Request or Bug Fix is in Develop

Comments

@ShrinkWrapper
Copy link

ShrinkWrapper commented Sep 6, 2021

Describe the Bug
While running the :develop docker image in schedule mode I receive the following error after it has completed the run.
The task gets executed and the collection updates but as soon as it prints the error the container crashes.
Related to #293 ? There is no error if I run the task manually with PMM_RUN:true

|====================================================================================================|
|                                         Finished 14:07 Run                                         |
|                                         Run Time: 0:00:22                                          |
|====================================================================================================|
| Traceback (most recent call last):                                                                 |
Error in sys.excepthook:
Traceback (most recent call last):
  File "/modules/util.py", line 154, in my_except_hook
    print_multiline(line, critical=True)
  File "/modules/util.py", line 146, in print_multiline
    logger.handlers[1].setFormatter(logging.Formatter(" " * 65 + "| %(message)s"))
IndexError: list index out of range
Original exception was:
Traceback (most recent call last):
  File "//plex_meta_manager.py", line 554, in <module>
    hours = int(seconds // 3600)
TypeError: unsupported operand type(s) for //: 'NoneType' and 'int'

Plex Meta Manager Info

  • Version: 1.12.1

Link to logs (required)

@ShrinkWrapper ShrinkWrapper added bug Bug is with Plex Meta Manager status:not-yet-viewed I haven't reviewed the Feature or Bug yet labels Sep 6, 2021
meisnate12 added a commit that referenced this issue Sep 9, 2021
@meisnate12
Copy link
Member

i think ive fixed this in develop can you test

@meisnate12 meisnate12 added status:added-to-develop Feature Request or Bug Fix is in Develop and removed status:not-yet-viewed I haven't reviewed the Feature or Bug yet labels Sep 9, 2021
@ShrinkWrapper
Copy link
Author

ShrinkWrapper commented Sep 9, 2021

Already running the docker develop image.

Edit: I might have misunderstood. Looks like the github develop branch indeed works.
Just pulled it and built the docker image manually. So far so good. Been testing for a while now and no crashing.

But the develop image on docker does not work, heads up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug is with Plex Meta Manager status:added-to-develop Feature Request or Bug Fix is in Develop
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants