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

Exception in the update function of agent named 'Sub-Zero Subtitles (Movies, 2.5.0.2247)' #461

Closed
stve-a opened this issue Mar 8, 2018 · 2 comments
Labels

Comments

@stve-a
Copy link

stve-a commented Mar 8, 2018

Hi,
Using PMS on Nvidia Shield TV Gen1.
Currently running the most updated SZ channel for this platform afaik. version 2.5.0.2247

The issue is with both movies and tvshows.
The issue is reproducible

When I refresh metadata for a movie or tvshow through the normal way in PMS, then SZ will not download the subtitles and will log the following in the logs:

2018-03-08 11:13:30,602 (202397c450) : CRITICAL (agentkit:1078) - Exception in the update function of agent named 'Sub-Zero Subtitles (Movies, 2.5.0.2247)', called with guid 'com.plexapp.agents.imdb://tt1389072?lang=en' (most recent call last): File "/data/data/com.plexapp.mediaserver.smb/Resources/Plug-ins-c40bba82e/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1076, in _update agent.update(obj, media, lang, **kwargs) File "/data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Code/__init__.py", line 209, in update scanned_video_part_map = scan_videos(videos, providers=providers) File "/data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Code/support/scanning.py", line 113, in scan_videos skip_hashing=skip_hashing) File "/data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Code/support/scanning.py", line 84, in scan_video only_one=config.only_one) File "/data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/subzero/video.py", line 25, in set_existing_languages only_one=only_one).values()) File "/data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/subliminal_patch/core.py", line 591, in search_external_subtitles only_one=only_one)) File "/data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/subliminal_patch/core.py", line 519, in _search_external_subtitles for entry in scandir(dirpath): File "/data/user/0/com.plexapp.mediaserver.smb/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/scandir.py", line 543, in scandir_python opendir_path = path.encode(file_system_encoding) TypeError: encode() argument 1 must be string, not None

When I go to the SZ channel, and "FORCE FIND" the subtitles for that movie or tvshow, then it will do it without any problems and no exceptions are logged inside the log.

Please advise
Regards
Stve

@pannal pannal added the invalid label Mar 13, 2018
@pannal
Copy link
Owner

pannal commented Mar 13, 2018

You should've been updated to the newest version recently. This should be fixed. If not, please reopen.

@pannal
Copy link
Owner

pannal commented Mar 13, 2018

#441

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants