l3uddz / plex_dupefinder

Find and delete duplicate files in Plex
GNU General Public License v3.0
303 stars 54 forks source link

Installed using instructions getting mapping from collections error #63

Closed jaywehner closed 2 years ago

jaywehner commented 2 years ago

Describe the bug I tried installing on two different VM's running Ubuntu 22.04.1 LTS. I made sure everything was updated using apt update/upgrade. I recive the following message on both servers:

Traceback (most recent call last): File "/usr/local/bin/plex_dupefinder", line 11, in from config import cfg File "/opt/plex_dupefinder/config.py", line 8, in from attrdict import AttrDict File "/usr/local/lib/python3.10/dist-packages/attrdict/init.py", line 5, in from attrdict.mapping import AttrMap File "/usr/local/lib/python3.10/dist-packages/attrdict/mapping.py", line 4, in from collections import Mapping ImportError: cannot import name 'Mapping' from 'collections' (/usr/lib/python3.10/collections/init.py)

To Reproduce Steps to reproduce the behavior:

  1. follow the installation instructions

Expected behavior the plex_dupefinder to show the output text

You can enable debug mode by adding --loglevel=DEBUG to the run command.

System Information

* Run git rev-parse --short HEAD in the folder to get the GIT COMMIT ID. COMMIT ID is 6650e39

saltydk commented 2 years ago

dupefinder does not support Python 3.10 yet.

jaywehner commented 2 years ago

What version is it supported on?

saltydk commented 2 years ago

Python 3.8 is probably the latest version that it supports.

saltydk commented 2 years ago

Should now work fine in 3.10

jaywehner commented 2 years ago

I re-pulled from git and still not working. I removed the original directory first. Anything else I need to do?

saltydk commented 2 years ago

did you install the new dependencies?

jaywehner commented 2 years ago

yep basically followed the instructions again. I'll try on my last VM that doesn't have it installed. And report back.

saltydk commented 2 years ago

Spun up a clean VM and it worked fine there.

jaywehner commented 2 years ago

Yep. Worked on a new install. All good! Thank you!