VideoSort icon indicating copy to clipboard operation
VideoSort copied to clipboard

Script fails under Python 3.10

Open Freakadude opened this issue 3 years ago • 0 comments

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!

Freakadude avatar Jan 07 '22 07:01 Freakadude