Closed alexander-paterson closed 5 years ago
Need logs!
Are there logs in particular I need to upload or just the main Plex logs?
The WebTools logs, in a zip, since they roll over
Hopefully this is what you need?
Sorry about the delay in responding here.... Sidetracked by real work :(
But logs are perfect, and I'll look into this
Note to self: Seems like on OSx, the language is reported as None?
Same issue here with Les Misérables. Logs attached Archive.zip
Hi there, care to try this very experimental build, and do note, that Playlist module might be broken in this, since that's work in progress
https://github.com/ukdtom/WebTools.bundle/archive/tommy-464.zip
You'll need to replace the existing WebTools bundle with this one
Please report back both good and bad....
And FUI, it seems like on Mac OSx, the lang variable is not set, so I try and force filesystem encoding in WebTools to utf-8 with this
And regarless of it works or not, I'll need a zip with all the WebTools logs
I get a critical error in the plugin at start up. Looks like reload is not defined
2018-02-25 08:52:08,045 (7fff9fafe340) : CRITICAL (sandbox:303) - Exception when calling function 'Start' (most recent call last): File "/Applications/Plex Media Server.app/Contents/Resources/Plug-ins-c40bba82e/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/sandbox.py", line 294, in call_named_function result = f(*args, **kwargs) File "/Users/rob/Library/Application Support/Plex Media Server/Plug-ins/WebTools.bundle/Contents/Code/__init__.py", line 87, in Start reload(sys) NameError: global name 'reload' is not defined
I tried commenting out the reload(sys) call and it let the plugin start normally and i see that it went down the code path where locale.getpreferredencoding is not set but it still can't match Les Misérables.
I wasn't sure if this was an issue with python 2.x vs 3.x so i tried changing to imp.reload(sys) and importlib.reload(sys) but got the same critical error.
Interesting article on this setdefaultencoding "hack". Sounds like python 3 fixes a lot of this ascii vs utf-8 headache.
https://anonbadger.wordpress.com/2015/06/16/why-sys-setdefaultencoding-will-break-code/
Darn, and thanks for testing, and sadly, I have to keep it at Python 2, since that's what the framework is.
I'll try some more here
Sadly, dev work has been put on hold, due to plugins been discontinued by Plex
Ref: https://www.plex.tv/blog/subtitles-and-sunsets-big-improvements-little-housekeeping/
No new versions will be release, and this project has been put on hold
UAS will still be maintained for as long as it lasts
Environment
Error shown