Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scanner is broken with Latest Plex pass updates #204

Closed
Hiren-Z opened this issue Feb 25, 2019 · 7 comments
Closed

Scanner is broken with Latest Plex pass updates #204

Hiren-Z opened this issue Feb 25, 2019 · 7 comments

Comments

@Hiren-Z
Copy link

Hiren-Z commented Feb 25, 2019

After updating to Plexpass versions 15.x the scanner would not function giving errors:

Feb 10, 2019 02:36:25.584 [0x14e598e7c740] DEBUG - Directory had 13 files, database had 0 files, can't skip.
Feb 10, 2019 02:36:25.597 [0x14e598e7c740] ERROR - No module in Absolute Series Scanner
Feb 10, 2019 02:36:25.597 [0x14e598e7c740] ERROR - Error in Python: Looking up module: Traceback (most recent call last): File "/config/Plex Media Server/Scanners/Series/Absolute Series Scanner.py", line 20, in from lxml import etree # fromstring ImportError: libexslt.so.0: cannot open shared object file: No such file or directory

I am running in the binhex/plexpass docker (https://hub.docker.com/r/binhex/arch-plexpass)

Last tested broken build is plex1.15.1.707-1-01. Reverting to 1.14.1.5488-1-01 fixs the scanner.

@ZeroQI
Copy link
Owner

ZeroQI commented Feb 26, 2019

binhex/plexpass docker changed something in last version, and i am unsure i can fix it scanner side but can collaborate to fix the issue, raised binhex/arch-plexpass#11

import line 20 "from lxml import etree" fail so there is some dependency issues within Python so the following should mitigate the issue if not using forced id mode or it will fail to recognise lxml.etree function...

try:                 from lxml import etree
except ImportError:  pass

You may need to adjust your plex install location accordingly to get around the distribution version specific issue (hence likelly not scanner dependent):
sys.path.append("/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Scanners/Series")

@Hiren-Z
Copy link
Author

Hiren-Z commented Feb 26, 2019

Was checking log files and saw these. Not sure if they are related though.

2019-02-26 15:54:54,639 DEBG 'plexmediaserver' stderr output:
AniDB:307: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.

2019-02-26 15:54:55,068 DEBG 'plexmediaserver' stderr output:
AnimeLists:41: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.

@ZeroQI
Copy link
Owner

ZeroQI commented Feb 26, 2019

Unrelated.
Seem like the issue is related to latest Plex version and not binhex/plexpass docker related...

@ZeroQI
Copy link
Owner

ZeroQI commented Mar 17, 2019

Please check when new Plex version released, update it and report

@Hiren-Z
Copy link
Author

Hiren-Z commented Mar 17, 2019

Seems to work on a fresh Windows plexpass installation. However doesn't work inside the docker.

Ill spin up several vms later tonight/tomorrow and test in different environments to see what I can figure out.

@Hiren-Z
Copy link
Author

Hiren-Z commented Mar 20, 2019

Using the latest binhex plexpass docker returns: https://github.com/binhex/arch-plex

Error in Python: Looking up module:
Traceback (most recent call last):
File "/config/Plex Media Server/Scanners/Series/Absolute Series Scanner.py", line 20, in
from lxml import etree # fromstring
ImportError: libexslt.so.0: cannot open shared object file: No such file or directory

Using the latest binhex plexstandard docker returns: https://github.com/binhex/arch-plex

Error in Python: Looking up module:
Traceback (most recent call last):
File "/config/Plex Media Server/Scanners/Series/Absolute Series Scanner.py", line 20, in
from lxml import etree # fromstring
ImportError: libexslt.so.0: cannot open shared object file: No such file or directory

Using the limetech docker (unraid default) returns: https://github.com/limetech/dockerapp-plex
expected results.

Issue appears to be in the binhex repositories. All repos are pulling plex 1.15.* .

@Hiren-Z
Copy link
Author

Hiren-Z commented Mar 20, 2019

binhex/arch-plexpass#11 (comment)

Opening the dockers terminal and running "pacman -S libxslt --noconfirm" then rebooting the docker fixs the issue.

@ZeroQI ZeroQI closed this as completed in 348ee24 Mar 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants