Skip to content
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

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

Open
hbbernardo opened this issue Oct 5, 2024 · 21 comments

Comments

@hbbernardo
Copy link

hbbernardo commented Oct 5, 2024

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.

@emilsvennesson
Copy link
Owner

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 8a3bdd9?

@hbbernardo
Copy link
Author

hbbernardo commented Oct 5, 2024

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 8a3bdd9?

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.

@emilsvennesson
Copy link
Owner

@hbbernardo
Copy link
Author

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?

@emilsvennesson
Copy link
Owner

emilsvennesson commented Oct 5, 2024

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

@hbbernardo
Copy link
Author

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
Copy link
Author

hbbernardo commented Oct 5, 2024

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'

@emilsvennesson
Copy link
Owner

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
Copy link
Owner

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

@hbbernardo
Copy link
Author

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
Copy link
Author

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
Copy link
Author

Can I proceed with the test of the newest version?

@emilsvennesson
Copy link
Owner

Thanks! Yes, please do. :-)

@hbbernardo
Copy link
Author

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?

@emilsvennesson
Copy link
Owner

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 #577).

@hbbernardo
Copy link
Author

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 #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
Copy link
Author

hbbernardo commented Oct 5, 2024

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 #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?

@emilsvennesson
Copy link
Owner

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.

@hbbernardo
Copy link
Author

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:~ #

@emilsvennesson
Copy link
Owner

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.

@hbbernardo
Copy link
Author

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: CastagnaIT/plugin.video.netflix#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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants