script.module.inputstreamhelper icon indicating copy to clipboard operation
script.module.inputstreamhelper copied to clipboard

Inputstream-helper 0.7.0 fails to install/update widevine [Erro N 02] no such file or directory

Open hbbernardo opened this issue 1 year ago • 28 comments

Hi

The newest version of Inputstream-helper 0.7.0 fails to install/update Widevine on the latest nightly of Libreelec.

A message saying that [Erro N 02] no such file or directory is displayed.

IMG_20241005_143718624_BURST000_COVER.jpg

Log is below:

https://paste.libreelec.tv/easy-colt.log

Please, let me know if I can be of any more help

Regards.

hbbernardo avatar Oct 05 '24 17:10 hbbernardo

Hi!

I am not sure why this would happen. Did you manually remove any backups at one point? This exception should definitely be caught gracefully though.

Can you try with commit https://github.com/emilsvennesson/script.module.inputstreamhelper/commit/8a3bdd9b0ecf787bbdeb421936ce60a705b863c7?

emilsvennesson avatar Oct 05 '24 18:10 emilsvennesson

Hi!

I am not sure why this would happen. Did you manually remove any backups at one point? This exception should definitely be caught gracefully though.

Can you try with commit https://github.com/emilsvennesson/script.module.inputstreamhelper/commit/8a3bdd9b0ecf787bbdeb421936ce60a705b863c7?

Hi

Thanks for the quick reply.

I'm the one who reported the distills issue on the 0.6.x version that you fixed by releasing the 0.7.0.

Only today did the newest version of Inputstream-helper appear as an update to be installed.

Then I went to try to test it and found this issue I just reported. Before coming here I tried to troubleshoot this by removing widevine and manually installing using the Inputstream-helper menu to no avail.

About the commit I'm afraid unless you can provide me a newer version that can be manually installed by my end I can't do much of that information alone.

I am here to help if you see another way I can better debug this.

hbbernardo avatar Oct 05 '24 18:10 hbbernardo

It should be possible to install from .zip using: https://github.com/emilsvennesson/script.module.inputstreamhelper/archive/8a3bdd9b0ecf787bbdeb421936ce60a705b863c7.zip

emilsvennesson avatar Oct 05 '24 18:10 emilsvennesson

It should be possible to install from .zip using: https://github.com/emilsvennesson/script.module.inputstreamhelper/archive/8a3bdd9b0ecf787bbdeb421936ce60a705b863c7.zip

I'm having a different behavior now.

I installed the zip version with the commit. Then I removed widevine from the Inputstream-helper menu. Then reinstalled it.

It went almost to the end of the progression bar when it got stucked. My Libreelec didn't crash.

I wait a little more. Then I SSH'd to make a copy of the kodi.log and to my surprise the file size is already in the 640MB and it keeps growing.

Any suggestions?

hbbernardo avatar Oct 05 '24 18:10 hbbernardo

Hmm, is the file size of kodi.log 640MB? What does tail -n 20 kodi.log show?

emilsvennesson avatar Oct 05 '24 18:10 emilsvennesson

Hmm, is the file size of kodi.log 640MB?

Greater then that. I was able to make a copy and compressed it to 5MB.

If you are interested here it is.

https://mega.nz/file/RtICTLZL#CyY37uXQOeLhARIvrOekje7BoBorl0alQGZL5X_s_vU

hbbernardo avatar Oct 05 '24 18:10 hbbernardo

Hmm, is the file size of kodi.log 640MB? What does tail -n 20 kodi.log show?

I did it all over again.

Here's the output of tail -n 20 Kodi.log

2024-10-05 16:12:10.914 T:1424 critical : [script.module.inputstreamhelper] Error removing tree: [Errno 2] No such file or directory: '/storage/.kodi/userdata/addon_data/script.module.inputstreamhelper/backup/15699.72.0.0' 2024-10-05 16:12:10.914 T:1424 debug : [script.module.inputstreamhelper] Removing oldest backup which is not installed: 15699.72.0.0 2024-10-05 16:12:10.914 T:1424 critical : [script.module.inputstreamhelper] Error removing tree: [Errno 2] No such file or directory: '/storage/.kodi/userdata/addon_data/script.module.inputstreamhelper/backup/15699.72.0.0' 2024-10-05 16:12:10.914 T:1424 debug : [script.module.inputstreamhelper] Removing oldest backup which is not installed: 15699.72.0.0 2024-10-05 16:12:10.915 T:1424 critical : [script.module.inputstreamhelper] Error removing tree: [Errno 2] No such file or directory: '/storage/.kodi/userdata/addon_data/script.module.inputstreamhelper/backup/15699.72.0.0' 2024-10-05 16:12:10.915 T:1424 debug : [script.module.inputstreamhelper] Removing oldest backup which is not installed: 15699.72.0.0 2024-10-05 16:12:10.915 T:1424 critical : [script.module.inputstreamhelper] Error removing tree: [Errno 2] No such file or directory: '/storage/.kodi/userdata/addon_data/script.module.inputstreamhelper/backup/15699.72.0.0'

hbbernardo avatar Oct 05 '24 19:10 hbbernardo

Please try with https://github.com/emilsvennesson/script.module.inputstreamhelper/archive/refs/heads/catch-fnf-error.zip.

Also, could you please give me the output of ls -la /storage/.kodi/userdata/addon_data/script.module.inputstreamhelper/backup?

emilsvennesson avatar Oct 05 '24 19:10 emilsvennesson

Run the ls command before trying the new .zip, because that might remove what I am looking for haha!

emilsvennesson avatar Oct 05 '24 19:10 emilsvennesson

Run the ls command before trying the new .zip, because that might remove what I am looking for haha!

I hope it's not too late.

I had already updated the .zip file but didn't executed.

Here's it;

LibreELEC (community): nightly-20241005-8b22d03 (RPi5.aarch64) LibreELEC:~ # ls -la /storage/.kodi/userdata/addon_data/script.module.inputstreamhel per/backup? ls: /storage/.kodi/userdata/addon_data/script.module.inputstreamhelper/backup?: No such file or directory LibreELEC:~ #

hbbernardo avatar Oct 05 '24 19:10 hbbernardo

Sorry. I made an obvious error on the previous one.

Here's it:

LibreELEC:~ # ls -la /storage/.kodi/userdata/addon_data/script.module.inputstreamhelper/backup total 8 drwxr-xr-x 8 root root 1024 Oct 5 14:14 . drwxr-xr-x 4 root root 1024 Oct 5 16:04 .. drwxr-xr-x 2 root root 1024 Apr 16 20:26 15699.72.0 drwxr-xr-x 2 root root 1024 Apr 20 00:14 15786.48.0 drwxr-xr-x 2 root root 1024 May 26 20:23 15823.60.0 drwxr-xr-x 2 root root 1024 Jul 3 19:22 15886.44.0 drwxr-xr-x 2 root root 1024 Sep 3 23:52 15917.71.0 drwxr-xr-x 2 root root 1024 Oct 5 14:14 15964.59.0 LibreELEC:~ #

hbbernardo avatar Oct 05 '24 19:10 hbbernardo

Can I proceed with the test of the newest version?

hbbernardo avatar Oct 05 '24 19:10 hbbernardo

Thanks! Yes, please do. :-)

emilsvennesson avatar Oct 05 '24 19:10 emilsvennesson

I believe widevine west successfully installed.

However I have no video. Only the loading icon.

No sound either.

Here's the output from tail:

LibreELEC:~/.kodi/temp # tail -n 20 kodi.log 2024-10-05 16:40:30.519 T:1546 info : Skipped 9475 duplicate messages.. 2024-10-05 16:40:30.519 T:1546 debug : CVideoPlayerVideo - video decoder returned error 2024-10-05 16:40:33.036 T:1347 info : Skipped 2384 duplicate messages.. 2024-10-05 16:40:33.036 T:1347 debug : CheckIdle - Closing session to http://127.0.0.1 (easy=0x7ffe847774b0, multi=0x7ffe842da870) 2024-10-05 16:40:33.036 T:1546 debug : CVideoPlayerVideo - video decoder returned error 2024-10-05 16:40:33.670 T:1540 info : Skipped 601 duplicate messages.. 2024-10-05 16:40:33.670 T:1540 debug : Thread JobWorker 140731368943232 terminating (autodelete) 2024-10-05 16:40:33.671 T:1546 debug : CVideoPlayerVideo - video decoder returned error 2024-10-05 16:40:34.036 T:1347 info : Skipped 346 duplicate messages.. 2024-10-05 16:40:34.036 T:1347 debug : CheckIdle - Closing session to https://ipv4-c004-ssa001-itsbrasil-isp.1.oca.nflxvideo.net (easy=0x7ffe84813e10, multi=0x7ffe848152b0) 2024-10-05 16:40:34.037 T:1546 debug : CVideoPlayerVideo - video decoder returned error 2024-10-05 16:40:34.038 T:1347 debug : CheckIdle - Closing session to https://ipv4-c004-ssa001-itsbrasil-isp.1.oca.nflxvideo.net (easy=0x7ffe80068d00, multi=0x7ffe80013050) 2024-10-05 16:40:34.038 T:1546 debug : CVideoPlayerVideo - video decoder returned error 2024-10-05 16:40:34.040 T:1347 info : Skipped 1 duplicate messages.. 2024-10-05 16:40:34.040 T:1347 debug : CheckIdle - Closing session to https://ipv4-c002-ssa001-itsbrasil-isp.1.oca.nflxvideo.net (easy=0x7ffe2915c640, multi=0x7ffe290ad9e0) 2024-10-05 16:40:34.041 T:1546 debug : CVideoPlayerVideo - video decoder returned error 2024-10-05 16:40:44.042 T:1546 info : Skipped 9480 duplicate messages.. 2024-10-05 16:40:44.042 T:1546 debug : CVideoPlayerVideo - video decoder returned error 2024-10-05 16:40:54.042 T:1546 info : Skipped 9474 duplicate messages.. 2024-10-05 16:40:54.042 T:1546 debug : CVideoPlayerVideo - video decoder returned error LibreELEC:~/.kodi/temp #

Any ideas?

hbbernardo avatar Oct 05 '24 19:10 hbbernardo

No idea. I am afraid you would have to report playback issues to the Netflix Kodi maintainers. :/

Could you also please test to do an install from https://github.com/emilsvennesson/script.module.inputstreamhelper/archive/refs/heads/ver-parsing.zip? I hope this fixes the real issue (see https://github.com/emilsvennesson/script.module.inputstreamhelper/pull/577).

emilsvennesson avatar Oct 05 '24 19:10 emilsvennesson

No idea. I am afraid you would have to report playback issues to the Netflix Kodi maintainers. :/

Could you also please test to do an install from https://github.com/emilsvennesson/script.module.inputstreamhelper/archive/refs/heads/ver-parsing.zip? I hope this fixes the real issue (see https://github.com/emilsvennesson/script.module.inputstreamhelper/pull/577).

I will do it

Just to report more correctly. This issue I mentioned last it only happens when I try to resume a title.

It plays perfectly when playing from the beginning.

I will let you know if something new appears after I install this last version.

hbbernardo avatar Oct 05 '24 19:10 hbbernardo

No idea. I am afraid you would have to report playback issues to the Netflix Kodi maintainers. :/

Could you also please test to do an install from https://github.com/emilsvennesson/script.module.inputstreamhelper/archive/refs/heads/ver-parsing.zip? I hope this fixes the real issue (see https://github.com/emilsvennesson/script.module.inputstreamhelper/pull/577).

I removed Widevine from the Inputstream-helper menu.

Rebooted my Pi5/Libreelec Piers Nightly

From the Netflix addon I try to play a title and the Inputstream-helper addon took over the job as always did and finished the job like it used to.

Playback starts.

It seems solved.

Does it look the same to you?

Is there any more I can do?

hbbernardo avatar Oct 05 '24 20:10 hbbernardo

Thank you! Can you do another ls -la /storage/.kodi/userdata/addon_data/script.module.inputstreamhelper/backup? The 15699.72.0.0 folder should hopefully have been removed now.

emilsvennesson avatar Oct 05 '24 21:10 emilsvennesson

Thank you! Can you do another ls -la /storage/.kodi/userdata/addon_data/script.module.inputstreamhelper/backup? The 15699.72.0.0 folder should hopefully have been removed now.

LibreELEC:~ # ls -la /storage/.kodi/userdata/addon_data/script.module.inputstreamhel per/backup total 7 drwxr-xr-x 7 root root 1024 Oct 5 17:11 . drwxr-xr-x 3 root root 1024 Oct 5 17:11 .. drwxr-xr-x 2 root root 1024 Apr 20 00:14 15786.48.0 drwxr-xr-x 2 root root 1024 May 26 20:23 15823.60.0 drwxr-xr-x 2 root root 1024 Jul 3 19:22 15886.44.0 drwxr-xr-x 2 root root 1024 Sep 3 23:52 15917.71.0 drwxr-xr-x 2 root root 1024 Oct 5 14:14 15964.59.0 LibreELEC:~ #

hbbernardo avatar Oct 05 '24 21:10 hbbernardo

Thank you! A fix for this issue will be included in 0.7.1.

Regarding the playback issues on Netflix; this is probably an issue in inputstream.adaptive, so I'd suggest you search on that Github repo for similar issues.

emilsvennesson avatar Oct 05 '24 21:10 emilsvennesson

Thank you! A fix for this issue will be included in 0.7.1.

Regarding the playback issues on Netflix; this is probably an issue in inputstream.adaptive, so I'd suggest you search on that Github repo for similar issues.

I'm truly grateful I could assist in resolving this issue.

Regarding the playback issue, I've already submitted a ticket to the Netflix Addon repository while waiting for your recent responses. You can find it here: https://github.com/CastagnaIT/plugin.video.netflix/issues/1722.

I’ll await a reply from the developer, who I believe is the same for both repositories.

If it's not too much trouble, I would sincerely appreciate it if you could kindly put in a word on our behalf, as early adopters of Kodi Piers. Your support would mean a lot to us.

hbbernardo avatar Oct 05 '24 21:10 hbbernardo

Exactly the same problem here, but I am failing at

It should be possible to install from .zip using: https://github.com/emilsvennesson/script.module.inputstreamhelper/archive/8a3bdd9b0ecf787bbdeb421936ce60a705b863c7.zip

The zip contains a version of the inputstream helper addon, does it? I try to install via kodi's system menu, "Install addon from zip", but this makes kodi hang immediately and completely. Anything I am missing?

joesse avatar Oct 09 '24 20:10 joesse

@joesse Try installing https://github.com/emilsvennesson/script.module.inputstreamhelper/archive/refs/heads/ver-parsing.zip from zip.

emilsvennesson avatar Oct 10 '24 11:10 emilsvennesson

I managed to install 8a3bdd9b0ecf787bbdeb421936ce60a705b863c7.zip. I won't tell you why I failed the first time, because that is too embarrassing. This version didn't get the inputstream driver, but the reason seems to be another one. Here's the log: https://paste.libreelec.tv/sweeping-cattle.log . ver-parsing.zip didn't work neither, but I can't create a log right now.

joesse avatar Oct 13 '24 12:10 joesse

@joesse That's issue #581, which I fixed in master just a minute ago.

@emilsvennesson please rebase.

horstle avatar Oct 13 '24 13:10 horstle

@joesse You can test this zip: script.module.inputstreamhelper-0.7.0-HEAD-ab2d68b.zip

horstle avatar Oct 13 '24 13:10 horstle

script.module.inputstreamhelper-0.7.0-HEAD-ab2d68b.zip has worked, thank you so much!

joesse avatar Oct 13 '24 16:10 joesse

Thank you! A fix for this issue will be included in 0.7.1.

When is 0.7.1 likely to be released?

r8474 avatar Oct 17 '24 19:10 r8474