Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

Common Problems

ngovil21 edited this page Mar 17, 2017 · 1 revision

1. Script has problem with special or foreign characters

If you notice the script doesn't delete files with special characters in it, you can try running the script with Python 3, or run the script with --reload_encoding flag. reload_encoding may cause issue with other python scripts, which is why it is not enabled by default.

2. Error requesting page: HTTP Error 401: Unauthorized

This means there is a problem with authenticating with Plex. Please check your login info or generate a new token.

3. Get an error that looks like this:

Traceback (most recent call last):
  File "C:/Users/ngovi/Documents/GitHub/Plex-Cleaner/PlexCleaner.py", line 866, in <module>
    options = json.loads(opt_string)
  File "C:\Python27\lib\json\__init__.py", line 339, in loads
    return _default_decoder.decode(s)
  File "C:\Python27\lib\json\decoder.py", line 364, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Python27\lib\json\decoder.py", line 380, in raw_decode
    obj, end = self.scan_once(s, idx)
ValueError: Expecting , delimiter: line 1 column 728 (char 727)

Your cleaner.conf file is not formatted correctly. Please double check that it has the exact same format as the sample file. Also try making a new copy and edit the file in a scripting text editor like Notepad++.

Clone this wiki locally