pannal / Sub-Zero.bundle

Subtitles for Plex, as good you would expect them to be.
Other
1.76k stars 120 forks source link

Subzero Doesn't show in Agents #780

Open Robbinvw opened 2 years ago

Robbinvw commented 2 years ago

Hello,

I had Subzero (2.6.5.3268) running on Synology DSM 6.2.4 perfectly! After I updated Synology to DSM 7.0.1 and updated to Plex 1.25.5.5492 with the same Subzero version. Subzero stopped working: It doesn't show anymore in the agents list so I can't acces it anymore.

Thank you in advance for your help.

image image image

realandygithub commented 2 years ago

Hi, i have the same issue. Did you find something that works?

rekkido commented 2 years ago

Same problem :(

OMV6, Plex in docker container

From docker logs -f plex:

Starting Plex Media Server. Error starting framework core for /config/Library/Application Support/Plex Media Server/Plug-ins/Sub-Zero.bundle. Critical: libusb_init failed

More logs:

Starting Plex Media Server. 2022-06-19 09:40:23,397 - com.plexapp.agents.subzero (ffffa63ba890) : INFO (core:349) - Starting framework core - Version: 2.6.3, Build: 3940636 (Mon Jun 13 12:07:31 UTC 2022) 2022-06-19 09:40:23,398 - com.plexapp.agents.subzero (ffffa63ba890) : DEBUG (core:361) - Using the elevated policy 2022-06-19 09:40:23,399 - com.plexapp.agents.subzero (ffffa63ba890) : DEBUG (core:450) - Starting runtime component. 2022-06-19 09:40:23,403 - com.plexapp.agents.subzero (ffffa63ba890) : DEBUG (core:450) - Starting caching component. 2022-06-19 09:40:23,403 - com.plexapp.agents.subzero (ffffa63ba890) : DEBUG (core:450) - Starting data component. 2022-06-19 09:40:23,404 - com.plexapp.agents.subzero (ffffa63ba890) : DEBUG (core:450) - Starting networking component. 2022-06-19 09:40:23,405 - com.plexapp.agents.subzero (ffffa63ba890) : DEBUG (networking:261) - Loaded HTTP cookies 2022-06-19 09:40:23,406 - com.plexapp.agents.subzero (ffffa63ba890) : DEBUG (networking:428) - Setting the default network timeout to 20.0 2022-06-19 09:40:23,408 - com.plexapp.agents.subzero (ffffa63ba890) : DEBUG (core:450) - Starting localization component. 2022-06-19 09:40:23,408 - com.plexapp.agents.subzero (ffffa63ba890) : INFO (localization:409) - Setting the default locale to en-us 2022-06-19 09:40:23,409 - com.plexapp.agents.subzero (ffffa63ba890) : DEBUG (core:450) - Starting messaging component. 2022-06-19 09:40:23,410 - com.plexapp.agents.subzero (ffffa63ba890) : DEBUG (core:450) - Starting debugging component. 2022-06-19 09:40:23,411 - com.plexapp.agents.subzero (ffffa63ba890) : DEBUG (core:450) - Starting services component. 2022-06-19 09:40:23,411 - com.plexapp.agents.subzero (ffffa30cdb08) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/system/messaging/clear_events/com.plexapp.agents.subzero' 2022-06-19 09:40:23,412 - com.plexapp.agents.subzero (ffffa63ba890) : DEBUG (core:450) - Starting myplex component. 2022-06-19 09:40:23,416 - com.plexapp.agents.subzero (ffffa63ba890) : DEBUG (core:450) - Starting notifications component. 2022-06-19 09:40:23,773 - com.plexapp.agents.subzero (ffffa63ba890) : DEBUG (accessor:68) - Creating a new model access point for provider com.plexapp.agents.subzero in namespace 'metadata' 2022-06-19 09:40:23,788 - com.plexapp.agents.subzero (ffffa63ba890) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes' 2022-06-19 09:40:23,922 - com.plexapp.agents.subzero (ffffa63ba890) : ERROR (networking:196) - Error opening URL 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes' 2022-06-19 09:40:23,926 - com.plexapp.agents.subzero (ffffa63ba890) : CRITICAL (runtime:1299) - Exception getting hosted resource hashes (most recent call last): File "/usr/lib/plexmediaserver/Resources/Plug-ins-3940636f2/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 1293, in get_resource_hashes json = self._core.networking.http_request("http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes", timeout=10).content File "/usr/lib/plexmediaserver/Resources/Plug-ins-3940636f2/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 242, in content return self.str() File "/usr/lib/plexmediaserver/Resources/Plug-ins-3940636f2/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 220, in str self.load() File "/usr/lib/plexmediaserver/Resources/Plug-ins-3940636f2/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 158, in load f = self._opener.open(req, timeout=self._timeout) File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 435, in open response = meth(req, response) File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 548, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 473, in error return self._call_chain(args) File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 407, in _call_chain result = func(args) File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib2.py", line 556, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) HTTPError: HTTP Error 404: Not Found 2022-06-19 09:40:23,947 - com.plexapp.agents.subzero (ffffa63ba890) : DEBUG (runtime:1117) - Created a thread named 'load_all_services' 2022-06-19 09:40:23,948 - com.plexapp.agents.subzero (ffffa2eebb08) : DEBUG (services:265) - Plug-in is not daemonized - loading services from system 2022-06-19 09:40:23,952 - com.plexapp.agents.subzero (ffffa63ba890) : DEBUG (runtime:1117) - Created a thread named 'get_serverinfo' 2022-06-19 09:40:23,953 - com.plexapp.agents.subzero (ffffa2eebb08) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM/Y2VyZWFsMQoxCmxpc3QKMApyMAo/Y2VyZWFsMQoxCmRpY3QKMApyMAo' 2022-06-19 09:40:23,954 - com.plexapp.agents.subzero (ffffa2ea5b08) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400' 2022-06-19 09:40:23,954 - com.plexapp.agents.subzero (ffffa63ba890) : DEBUG (core:150) - Finished starting framework core 2022-06-19 09:40:23,961 - com.plexapp.agents.subzero (ffffa63ba890) : DEBUG (core:560) - Loading plug-in code 2022-06-19 09:40:24,102 - com.plexapp.agents.subzero (ffffa2eebb08) : DEBUG (services:362) - Loaded services 2022-06-19 09:40:24,102 - com.plexapp.agents.subzero (ffffa2ea5b08) : DEBUG (core:538) - Machine identifier is a8a5c526a1914dc001cfa4204a972424635bdc00 2022-06-19 09:40:24,135 - com.plexapp.agents.subzero (ffffa2ea5b08) : DEBUG (core:539) - Server version is 1.27.0.5897-3940636f2 2022-06-19 09:40:24,161 - com.plexapp.agents.subzero (ffffa2ec8b08) : DEBUG (services:438) - No shared code to load 2022-06-19 09:40:24,203 - com.plexapp.agents.subzero (ffffa63ba890) : DEBUG (core:566) - Finished loading plug-in code 2022-06-19 09:40:24,206 - com.plexapp.agents.subzero (ffffa63ba890) : CRITICAL (core:615) - Exception starting plug-in (most recent call last): File "/usr/lib/plexmediaserver/Resources/Plug-ins-3940636f2/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/core.py", line 608, in start self.sandbox.execute(self.init_code) File "/usr/lib/plexmediaserver/Resources/Plug-ins-3940636f2/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/sandbox.py", line 256, in execute exec(code) in self.environment File "/config/Library/Application Support/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Code/init.py", line 5, in from subzero.sandbox import fix_environment_stuff File "/usr/lib/plexmediaserver/Resources/Plug-ins-3940636f2/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/sandbox.py", line 345, in import raise e ImportError: No module named subzero.sandbox Error starting framework core for /config/Library/Application Support/Plex Media Server/Plug-ins/Sub-Zero.bundle. Critical: libusb_init failed