Skip to content

Error deleting old backups - fails to install a new Widevine #593

@vladt3

Description

@vladt3

I have tried to install a new version of Widevine today (2 Aug), but it failed.
Looking at logs, I got (full stacktrace at the end of the message):
Error Contents: [Errno 2] No such file or directory: '/storage/.kodi/userdata/addon_data/script.module.inputstreamhelper/backup/14816.131.0.0'

Checking the directory, there's no dir that ends in 0.0, so clearly it fails and bombs out. It seems a similar issue was present last year (at least I saw something like that in older issues). Creating the directory, so it can delete it, does not work (I suspect it tries to delete it a few times..)

Settings are:

1754111796.494609
1754118854.2645307
1753110544.806529
0.7.0
false
31
special://masterprofile/addon_data/script.module.inputstreamhelper
4

https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_14092.77.0_veyron-fievel_recovery_stable-channel_fievel-mp.bin.zip

If you need more, please let me know.

Cheers,
ve

2025-08-02 10:19:38.279 T:5003 error : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'FileNotFoundError'>
Error Contents: [Errno 2] No such file or directory: '/storage/.kodi/userdata/addon_data/script.module.inputstreamhelper/backup/14816.131.0.0'
Traceback (most recent call last):
File "/storage/.kodi/addons/script.module.inputstreamhelper/default.py", line 8, in
run(sys.argv)
File "/storage/.kodi/addons/script.module.inputstreamhelper/lib/inputstreamhelper/api.py", line 15, in run
widevine_install(choose_version=params[2])
File "/storage/.kodi/addons/script.module.inputstreamhelper/lib/inputstreamhelper/api.py", line 48, in widevine_install
Helper('mpd', drm='widevine').install_widevine(choose_version=choose_version)
File "/storage/.kodi/addons/script.module.inputstreamhelper/lib/inputstreamhelper/init.py", line 39, in clean_before_after
result = func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/storage/.kodi/addons/script.module.inputstreamhelper/lib/inputstreamhelper/init.py", line 242, in install_widevine
if self.install_and_finish(*result):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/storage/.kodi/addons/script.module.inputstreamhelper/lib/inputstreamhelper/init.py", line 210, in install_and_finish
install_cdm_from_backup(version)
File "/storage/.kodi/addons/script.module.inputstreamhelper/lib/inputstreamhelper/widevine/widevine.py", line 32, in install_cdm_from_backup
remove_old_backups(backup_path())
File "/storage/.kodi/addons/script.module.inputstreamhelper/lib/inputstreamhelper/widevine/widevine.py", line 197, in remove_old_backups
remove_tree(os.path.join(bpath, remove_version))
File "/storage/.kodi/addons/script.module.inputstreamhelper/lib/inputstreamhelper/utils.py", line 360, in remove_tree
rmtree(compat_path(path))
File "/usr/lib/python3.11/shutil.py", line 722, in rmtree
File "/usr/lib/python3.11/shutil.py", line 720, in rmtree
FileNotFoundError: [Errno 2] No such file or directory: '/storage/.kodi/userdata/addon_data/script.module.inputstreamhelper/backup/14816.131.0.0'
-->End of Python script error report<--

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions