-
-
Notifications
You must be signed in to change notification settings - Fork 1
plexyglass plugin not loading (docker-mod) #25
Comments
I have the same issue trying to use "Themerr-plex" |
I don't use Plex inside Docker so I will need your help to troubleshoot. After you cat ./Contents/Info.plist Same for @daNutzzzzz for |
cat: ./Contents/Info.plist: No such file or directory [./Plex-PMS/config/Library/Application Support/Plex Media Server/Plug-ins/PlexyGlass.bundle/Contents] # ls -l
total 16
drwxr-xr-x 2 docker administrators 4096 2022-10-07 12:25 Code/
drwxr-xr-x 3 docker administrators 4096 2022-10-07 12:25 Libraries/
drwxr-xr-x 2 docker administrators 4096 2022-10-07 12:25 Resources/
drwxr-xr-x 3 docker administrators 4096 2022-10-07 12:25 Services/ |
Can you try find "./Plex-PMS/config/Library/Application Support/Plex Media Server/Plug-ins/PlexyGlass.bundle" -name "Info.plist" |
Try at the container root... I need to find where the file is (if anywhere). It should be somewhere though. Line 22 in f982aa1
That line runs this script -> https://github.com/LizardByte/PlexyGlass/blob/master/scripts/build_plist.py Which creates the file. |
Plex Plugins Log
|
Can you show the contents of |
I see you're using python to build it, i cant see python installed on this container from Linuxserver.io |
It's not included in Linuxserver's image, it's included in my build stage image. -> Line 2 in f982aa1
|
That directory should also contain some additional folders. My guess is I have something off on the path. I'll investigate further. |
ok thanks |
This issue has been fixed and will be available in the next release. |
Could you try this tag? If it resolves the issue, I'll apply the same changes to Themerr-plex and get a new release published for both. |
Hi, Info.plist file is now present however plugin still doesn't load: Plex Container log
|
Dont know if this helps from plugins log
|
I get that same error on every single plugin, but they still load. |
Fair enough, cant say ive ever spent much time there so wouldn't know :) It still leaves the plugin not working with this error: #25 (comment) |
Just to verify, even with that error you're saying it doesn't appear in the Plugins menu? |
This is my log (from windows though). Can you share the log from 2022-10-09 11:06:10,355 (2308) : INFO (core:349) - Starting framework core - Version: 2.6.3, Build: 788f824 (Wed Aug 17 12:44:49 UTC 2022)
2022-10-09 11:06:10,355 (2308) : DEBUG (core:361) - Using the elevated policy
2022-10-09 11:06:10,355 (2308) : DEBUG (core:450) - Starting runtime component.
2022-10-09 11:06:10,371 (2308) : DEBUG (core:450) - Starting caching component.
2022-10-09 11:06:10,371 (2308) : DEBUG (core:450) - Starting data component.
2022-10-09 11:06:10,371 (2308) : DEBUG (core:450) - Starting networking component.
2022-10-09 11:06:10,371 (2308) : DEBUG (networking:261) - Loaded HTTP cookies
2022-10-09 11:06:10,371 (2308) : DEBUG (networking:428) - Setting the default network timeout to 20.0
2022-10-09 11:06:10,371 (2308) : DEBUG (core:450) - Starting localization component.
2022-10-09 11:06:10,371 (2308) : INFO (localization:409) - Setting the default locale to en-us
2022-10-09 11:06:10,371 (2308) : DEBUG (core:450) - Starting messaging component.
2022-10-09 11:06:10,371 (2308) : DEBUG (core:450) - Starting debugging component.
2022-10-09 11:06:10,371 (2308) : DEBUG (core:450) - Starting services component.
2022-10-09 11:06:10,371 (2308) : DEBUG (core:450) - Starting myplex component.
2022-10-09 11:06:10,371 (23d0) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/system/messaging/clear_events/dev.lizardbyte.plexyglass'
2022-10-09 11:06:10,371 (2308) : DEBUG (core:450) - Starting notifications component.
2022-10-09 11:06:10,543 (2308) : DEBUG (accessor:68) - Creating a new model access point for provider dev.lizardbyte.plexyglass in namespace 'metadata'
2022-10-09 11:06:10,559 (2308) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes'
2022-10-09 11:06:10,966 (2308) : ERROR (networking:196) - Error opening URL 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes'
2022-10-09 11:06:10,966 (2308) : CRITICAL (core:574) - Exception getting hosted resource hashes (most recent call last):
File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-788f82488\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 "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-788f82488\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 242, in content
return self.__str__()
File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-788f82488\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 220, in __str__
self.load()
File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-788f82488\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\networking.py", line 158, in load
f = self._opener.open(req, timeout=self._timeout)
File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 435, in open
response = meth(req, response)
File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 473, in error
return self._call_chain(*args)
File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 407, in _call_chain
result = func(*args)
File "C:\Program Files (x86)\Plex\Plex Media Server\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-10-09 11:06:10,980 (2308) : DEBUG (runtime:1117) - Created a thread named 'load_all_services'
2022-10-09 11:06:10,980 (2048) : DEBUG (services:265) - Plug-in is not daemonized - loading services from system
2022-10-09 11:06:10,980 (2048) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0J1bmRsZVNlcnZpY2U6QWxsU2VydmljZXM_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMApyMAo_'
2022-10-09 11:06:10,996 (2308) : DEBUG (runtime:1117) - Created a thread named 'get_server_info'
2022-10-09 11:06:10,996 (2308) : DEBUG (core:150) - Finished starting framework core
2022-10-09 11:06:10,996 (2308) : DEBUG (core:560) - Loading plug-in code
2022-10-09 11:06:10,996 (1948) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400'
2022-10-09 11:06:11,012 (2308) : DEBUG (core:566) - Finished loading plug-in code
2022-10-09 11:06:11,012 (2308) : DEBUG (runtime:640) - Adding a prefix handler for 'PlexyGlass' ('/video/plexyglass')
2022-10-09 11:06:11,012 (2308) : INFO (core:611) - Started plug-in
2022-10-09 11:06:11,012 (2308) : DEBUG (socketinterface:160) - Starting socket server
2022-10-09 11:06:11,028 (1948) : DEBUG (core:538) - Machine identifier is 3d6a3615408be5172548cf7c09523c3c0f812cd6
2022-10-09 11:06:11,028 (1948) : DEBUG (core:539) - Server version is 1.28.1.6104-788f82488
2022-10-09 11:06:11,075 (2308) : DEBUG (runtime:1117) - Created a thread named 'start'
2022-10-09 11:06:11,075 (2308) : INFO (socketinterface:184) - Socket server started on port 49813
2022-10-09 11:06:11,075 (2308) : INFO (pipeinterface:25) - Entering run loop
2022-10-09 11:06:11,075 (2308) : DEBUG (runtime:717) - Handling request GET /:/prefixes
2022-10-09 11:06:11,075 (2308) : DEBUG (runtime:814) - Found route matching /:/prefixes
2022-10-09 11:06:11,075 (2048) : DEBUG (services:362) - Loaded services
2022-10-09 11:06:11,075 (520) : DEBUG (services:438) - No shared code to load
2022-10-09 11:06:11,075 (2308) : DEBUG (runtime:924) - Response: [200] MediaContainer, 439 bytes |
correct |
|
Got it. It's related to this LizardByte/Themerr-plex#10 I will come up with a better solution. In the meantime, are you able to modify the If you could add this to the top, below Log.Debug("Python system executable: '%s'" % sys.executable) Then re-share the plugin log. |
|
Can you try |
seeing same error in container after re-creating.... i'll grab log again in a min. |
Don't worry about it... I'll get a better solution pushed. Sorry for the annoyance. These are both projects that I've only tested on Windows Plex servers. |
No problem |
Okay, I just pushed a more reliable fix to nightly. I am 99% sure it will load up now. |
It does, thanks, will this fix also be applied to Themerr? |
Great. Yes, working on the update now. |
👌 |
Describe the Bug
plexyglass plugin doesnt appear in Plex Plugins
Expected Behavior
plexyglass plugin appears in Plex Plugins
Additional Context
Docker version 17.09.1-ce, build 0bbe3ac
PlexPMS Version: 1.29.0.6244
Compose:
Plugin Folder:
The text was updated successfully, but these errors were encountered: