-
-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jellyfin desktop 1.9 failed to execute script #179
Comments
Please try running this debug build that'll display more errors before crashing: https://iwalton.com/ushare/jellyfin-mpv-desktop_1.9.0_dbg.exe |
It starts, may be installing 1.8 first fixed the issue that 1.9 had. I reinstalled 1.9 before trying 1.8. Just in case it was a install issue. |
Strange. I just tested and it appears a fresh install and also running it without the config existing works. If anyone else has this problem and can give me an idea of what is happening, that would be greatly appreciated. |
Nope, it's still not working. I just installed the normal 1.9 and same error, but starting the one you send works fine. |
...great. So merely trying to observe the problem eliminates it. |
This is exactly what i done so far. |
Alright for the sake of my sanity do either of these these builds work?
The difference is the build here was built in the same virtual machine as the debug one, but the official release was built using Microsoft Azure Pipelines. |
Tried the installer, it works. |
Had the same issue. Portable version does work. After the first time I tried the installed version and it failed, I went into the Jellyfin MPV Shim and put my creds in there. Tried launching again, nope. Same error as OP. So then I found this thread, and did the portable. As I said, it works. But I'd like installer packages rather than portable so I can easily distribute through my active directory. I then ran the installer again that you posted here. Now it works. No errors in Event Viewer by the way. Hopefully you guys can get this fixed. Awesome app! |
So to clarify, the shim mode works? Is this true for other people having this issue? |
That's true for me. When I installed 1.9.0, I found the shim mode works fine, but the desktop mode refuses to work showing the same "Failed to execute" error. I uninstalled the official 1.9.0 release and installed the 1.9.0 version you linked to. This one does have both shim and desktop mode working. |
Same issue with v1.10.2 & 10.0.1. I didn't have time to try others as people were waiting for the movie to start, so went straight for 1.8.1 as i knew that worked. Installed on a win10 machine that has never had jellyfin installed before. |
Neat so this is inexplicably breaking for enough people that I am going to have to do debug builds in the CI. Because this is madness. |
On my desktop 10.0.2 works fine. But on my personal laptop, work laptop and another laptop at work it does not work. All running win10 20H2. They're mixed intel and amd laptops. |
Please try this debug build, which was built by the same CI: Download Debug Build Please note that this file may take a bit to download. It is 145 MB. |
Running the exe open cmd for a moment, then closes and nothing else happens. Dragging exe into admin cmd does nothing. |
Maybe try a non-admin CMD. If it's that new Windows update I will be installing that shortly and testing under that. Apparently my VM was out of disk space so it hasn't updated in a while. You do have to press enter after dragging the run-desktop.exe into the window. |
Yes, it has to be non-admin cmd. This is the output. 2021-03-27 16:18:18,254 [ INFO] conf: Loaded settings from json: C:\Users\XXX\AppData\Roaming\jellyfin-mpv-shim\conf.json Ikke-afviklet undtagelse: System.IO.FileLoadException: Filen eller assemblyen 'file:///C:\Users\XXX\Desktop\run-desktop\Python.Runtime.dll' eller en af dens afhængigheder kunne ikke indlæses. Handlingen understøttes ikke. (Undtagelse fra HRESULT: 0x80131515) ---> System.NotSupportedException: Der blev gjort forsøg på at indlæse en assembly fra en netværksplacering, hvilket ville have bevirket, at assemblyen var blevet sandkassebaseret i tidligere versioner af .NET Framework. I denne version af .NET Framework aktiveres CAS-politik ikke som standard, så denne indlæsning kan udgøre en potentiel risiko. Hvis formålet med denne indlæsning ikke er at sandkassebasere assemblyen, skal du aktivere parameteren loadFromRemoteSources. Du kan finde flere oplysninger i http://go.microsoft.com/fwlink/?LinkId=155569. |
Ok so this problem is caused by the debug build and is unrelated. Please before extracting the zip file, mark the file as unblocked in properties and try again.
|
I did test the debug build on my upgraded VM and it still works. |
2021-03-27 16:33:57,929 [ INFO] conf: Loaded settings from json: C:\Users\XXX\AppData\Roaming\jellyfin-mpv-shim\conf.json |
I wonder if it is because of some strange ABI issue between mismatched CEF versions. It does look like I could switch to edgechromium which would be nice since I can get rid of CEF. I'll look into that. |
Nope edge chromium is no good for now. https://docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution I need to fix CEF. |
I just pushed an updated version of CEF that should potentially correct the ABI issue? When that job is done you should be able to download the artifact "DebugWindows" and let me know if it works. I'll post a direct link to download it when I notice the job is done but I may be away from my computer. |
Installer didn't work, same issue. Debug is downloading. |
Great so upgrading it didn't work. |
Per Android tv? Cosa devo fare? |
Looks like a regression in 66.1 of cefpython? cztomczak/cefpython#359 I am going to try and pin the version to 66.0 and see if that fixes it. |
That installer works. |
Excellent! |
If it's of any use to you.
|
Everything looks good to me. |
That's great! |
This has been released. |
Describe the bug
I just installed the app and tried to run it, that's basically it. First time install, so there has not been a working scenario as i've not had it installed on this laptop before.
Uninstalled and installed 1.8.1 and it worked.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Desktop (please complete the following information):
Error Messages
Please provide logs, as they are often needed for me to understand and quickly troubleshoot the issue. You can read instructions for how to do so here:
https://github.com/iwalton3/jellyfin-mpv-shim/wiki/Sending-Logs
The text was updated successfully, but these errors were encountered: