pannal / Sub-Zero.bundle

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

Cannot start on QNAP #782

Open langxuan opened 2 years ago

langxuan commented 2 years ago

Hello, I've installed SubZero under Plug-ins directory of plex media server on QNAP NAS. However, I can't see SubZero while using Plex. The logs are as follows:

2022-02-22 23:49:25,518 (7f663b516848) : INFO (core:349) - Starting framework core - Version: 2.6.3, Build: 12f6b8c (Tue Feb 01 08:33:32 UTC 2022) 2022-02-22 23:49:25,518 (7f663b516848) : DEBUG (core:361) - Using the elevated policy 2022-02-22 23:49:25,519 (7f663b516848) : DEBUG (core:450) - Starting runtime component. 2022-02-22 23:49:25,520 (7f663b516848) : DEBUG (core:450) - Starting caching component. 2022-02-22 23:49:25,521 (7f663b516848) : DEBUG (core:450) - Starting data component. 2022-02-22 23:49:25,521 (7f663b516848) : DEBUG (core:450) - Starting networking component. 2022-02-22 23:49:25,521 (7f663b516848) : DEBUG (networking:265) - No cookie jar found 2022-02-22 23:49:25,522 (7f663b516848) : DEBUG (networking:428) - Setting the default network timeout to 20.0 2022-02-22 23:49:25,523 (7f663b516848) : DEBUG (core:450) - Starting localization component. 2022-02-22 23:49:25,523 (7f663b516848) : INFO (localization:409) - Setting the default locale to en-us 2022-02-22 23:49:25,524 (7f663b516848) : DEBUG (localization:427) - Loaded en strings 2022-02-22 23:49:25,524 (7f663b516848) : DEBUG (core:450) - Starting messaging component. 2022-02-22 23:49:25,524 (7f663b516848) : DEBUG (core:450) - Starting debugging component. 2022-02-22 23:49:25,525 (7f663b516848) : DEBUG (core:450) - Starting services component. 2022-02-22 23:49:25,525 (7f663b516848) : DEBUG (core:450) - Starting myplex component. 2022-02-22 23:49:25,525 (7f663b516848) : DEBUG (core:450) - Starting notifications component. 2022-02-22 23:49:25,526 (7f6638149b38) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/system/messaging/clear_events/com.plexapp.agents.subzero' 2022-02-22 23:49:25,725 (7f663b516848) : DEBUG (accessor:68) - Creating a new model access point for provider com.plexapp.agents.subzero in namespace 'metadata' 2022-02-22 23:49:25,732 (7f663b516848) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes' 2022-02-22 23:49:26,385 (7f663b516848) : ERROR (networking:196) - Error opening URL 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes' 2022-02-22 23:49:26,387 (7f663b516848) : CRITICAL (runtime:1299) - Exception getting hosted resource hashes (most recent call last): File "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-12f6b8c83/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 "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-12f6b8c83/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 242, in content return self.str() File "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-12f6b8c83/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 220, in str self.load() File "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-12f6b8c83/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 158, in load f = self._opener.open(req, timeout=self._timeout) File "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Python/python27.zip/urllib2.py", line 435, in open response = meth(req, response) File "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Python/python27.zip/urllib2.py", line 548, in http_response 'http', request, response, code, msg, hdrs) File "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Python/python27.zip/urllib2.py", line 473, in error return self._call_chain(args) File "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Python/python27.zip/urllib2.py", line 407, in _call_chain result = func(args) File "/share/CACHEDEV1_DATA/.qpkg/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-02-22 23:49:26,399 (7f6637f26b38) : DEBUG (services:265) - Plug-in is not daemonized - loading services from system 2022-02-22 23:49:26,399 (7f663b516848) : DEBUG (runtime:1117) - Created a thread named 'load_all_services' 2022-02-22 23:49:26,401 (7f663b516848) : DEBUG (runtime:1117) - Created a thread named 'get_serverinfo' 2022-02-22 23:49:26,401 (7f6637f26b38) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM/Y2VyZWFsMQoxCmxpc3QKMApyMAo/Y2VyZWFsMQoxCmRpY3QKMApyMAo' 2022-02-22 23:49:26,402 (7f6637ed9b38) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400' 2022-02-22 23:49:26,405 (7f663b516848) : DEBUG (core:150) - Finished starting framework core 2022-02-22 23:49:26,406 (7f663b516848) : DEBUG (core:560) - Loading plug-in code 2022-02-22 23:49:26,431 (7f6637ed9b38) : DEBUG (core:538) - Machine identifier is cc06769194c027dd670b63cff4d087fc12fb0541 2022-02-22 23:49:26,436 (7f6637ed9b38) : DEBUG (core:539) - Server version is 1.25.5.5492-12f6b8c83 2022-02-22 23:49:26,452 (7f6637f26b38) : DEBUG (services:362) - Loaded services 2022-02-22 23:49:26,466 (7f6637efcb38) : DEBUG (services:438) - No shared code to load 2022-02-22 23:49:26,525 (7f663b516848) : DEBUG (core:566) - Finished loading plug-in code 2022-02-22 23:49:26,527 (7f663b516848) : CRITICAL (core:615) - Exception starting plug-in (most recent call last): File "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-12f6b8c83/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/core.py", line 608, in start self.sandbox.execute(self.init_code) File "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-12f6b8c83/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/sandbox.py", line 256, in execute exec(code) in self.environment File "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Code/init.py", line 5, in from subzero.sandbox import fix_environment_stuff File "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-12f6b8c83/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/sandbox.py", line 345, in import raise e ImportError: No module named subzero.sandbox