FileNotFoundError
Closed this issue · 5 comments
I installed plexapi and requests via pip and start the script with python plexcache_setup.py
and immediately get the following error message:
File "plexcache_setup.py", line 24
raise FileNotFoundError(f'Wrong path given, please edit the "{folder}" variable accordingly.')
Where do i find the {folder} variable?
nevermind. Python 2 and 3 are installed. Using python3 plexcache_setup.py
fixed the issue
I'm glad you fixed it, I'll leave this open for a couple of hours in case you have any other issues.
Ok, next issue i ran into:
i completed the setup without any problems. Then run the script from console with python3 plexcache.py
and get this error:
*** PlexCache ***
Error: 'watched_cache_expiry' not found in settings file, please re-run the setup or manually edit the settings file.
I reran the setup twice. Same error. Whats going on?
I think it never merged a line in the setup_script, instead of rerunning everything, just add this to the settings.json
"watched_cache_expiry": 48,
- Without the comma if you are adding it at the end of the list.
Apologies for this, I've already fixed it, just need to merge.
I guess I need to be more methodical in my testing.
And now it is working flawlessly. Thank you!