Skip to content

KeyError: 'xx' #32

@bakua

Description

@bakua

Hello,

I have PMS running on Ubuntu. Unfortunately, your plug-in doesn't work for me. Could I have an assistance please? Here is the stacktrace. The log file is attached to same issue on Plex Forum https://forums.plex.tv/discussion/comment/1469993/#Comment_1469993

CRITICAL (agentkit:1078) - Exception in the update function of agent named 'Srt2Utf-8 (Movies)', called with guid 'com.plexapp.agents.imdb://tt2024544?lang=en' (most recent call last):
#126	File "/usr/lib/plexmediaserver/Resources/Plug-ins-313f93718/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1076, in _update
#127	agent.update(obj, media, lang, **kwargs)
#128	File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/SRT2UTF-8.bundle/Contents/Code/__init__.py", line 53, in update
#129	GetFiles(part)
#130	File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/SRT2UTF-8.bundle/Contents/Code/__init__.py", line 153, in GetFiles
#131	FixFile(sTest, sMyLang)
#132	File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/SRT2UTF-8.bundle/Contents/Code/__init__.py", line 112, in FixFile
#133	sMyEnc = FindEncBS(sFile, sMyLang)
#134	File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/SRT2UTF-8.bundle/Contents/Code/__init__.py", line 191, in FindEncBS
#135	if sCurrentEnc == CP_Windows_ISO.cpWindows[lang]:
#136	File "/usr/lib/plexmediaserver/Resources/Plug-ins-313f93718/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/sandbox.py", line 108, in
#137	_getitem_ = lambda x, y: x.__getitem__(y),
#138	KeyError: 'xx'

Thank you :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions