Skip to content
This repository was archived by the owner on Nov 18, 2022. It is now read-only.

Script fails under Python 3.10 #70

@Freakadude

Description

@Freakadude

Hi,

On my Qnap TS-431p nas i have Python 3.10 running (cannot downgrade it) and not sure if this is the issue but videosort does not work correctly. I get following error on post process:

VideoSort: Traceback (most recent call last):
VideoSort: File "/share/Download/scripts/videosort/VideoSort.py", line 273, in
VideoSort: import guessit
VideoSort: File "/share/Download/scripts/videosort/lib/guessit/init.py", line 6, in
VideoSort: from .api import guessit, GuessItApi
VideoSort: File "/share/Download/scripts/videosort/lib/guessit/api.py", line 15, in
VideoSort: from rebulk.introspector import introspect
VideoSort: File "/share/Download/scripts/videosort/lib/rebulk/init.py", line 7, in
VideoSort: from .rebulk import Rebulk
VideoSort: File "/share/Download/scripts/videosort/lib/rebulk/rebulk.py", line 8, in
VideoSort: from .match import Matches
VideoSort: File "/share/Download/scripts/videosort/lib/rebulk/match.py", line 8, in
VideoSort: from collections import defaultdict, MutableSequence
VideoSort: ImportError: cannot import name 'MutableSequence' from 'collections' (/opt/lib/python3.10/collections/init.pyc)

I'm guessing python 3.10 fucked something up (but as mentioned i cannot downgrade). Would appreciate if someone could take a look what would fix this issue.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions