(2015-12-14 16:00)robweber Wrote: I was looking through the Jarvis bug fixes and saw this item: Fixed: don’t use cached results for dir checks in our Python API.
I suffered the restore problem too - Raspberry Pi (1) Kodi 16 beta (Dec 4 2015 - last of the series)
This is a local samba share, 200M of data
11:56:22 93.238808 T:1580962720 NOTICE: script.xbmcbackup-1.0.6: Starting
11:56:24 95.213280 T:1580962720 NOTICE: script.xbmcbackup-1.0.6: Local Dir: /storage/.kodi/
11:56:24 95.219070 T:1580962720 NOTICE: script.xbmcbackup-1.0.6: Remote Dir: smb://HA-SERVER/backup/kodi/Bed1/
11:56:24 95.237877 T:1580962720 NOTICE: script.xbmcbackup-1.0.6: Mode - Restore
11:56:24 95.239716 T:1580962720 NOTICE: script.xbmcbackup-1.0.6: copying zip file: 201602010000.zip
11:56:24 95.241837 T:1580962720 NOTICE: script.xbmcbackup-1.0.6: Writing files to: /storage/.kodi/temp/
11:56:24 95.242790 T:1580962720 NOTICE: script.xbmcbackup-1.0.6: Source: smb://HA-SERVER/backup/kodi/Bed1/
11:56:24 95.313400 T:1580962720 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IOError'>
Error Contents: [Errno 2] No such file or directory: '/storage/.kodi/temp/201602010000.zip'
Traceback (most recent call last):
File "/storage/.kodi/addons/script.xbmcbackup/default.py", line 73, in <module>
File "/storage/.kodi/addons/script.xbmcbackup/resources/lib/backup.py", line 311, in run
zip_vfs = ZipFileSystem(xbmc.translatePath("special://temp/"+ self.restore_point),'r')
File "/storage/.kodi/addons/script.xbmcbackup/resources/lib/vfs.py", line 84, in __init__
self.zip = zipfile.ZipFile(rootString,mode=mode,compression=zipfile.ZIP_DEFLATED,allowZip64=True)
File "/home/neil/projects/OpenELEC.tv/build.OpenELEC-RPi.arm-7.0-devel/Python-2.7.10/.install_pkg/usr/lib/python2.7/zipfile.py", line 756, in __init__
IOError: [Errno 2] No such file or directory: '/storage/.kodi/temp/201602010000.zip'
-->End of Python script error report<--
11:57:58 189.407669 T:1964236800 NOTICE: Samba is idle. Closing the remaining connections
So reading what you said, I manually copied the backup file to /storage/.kodi/temp/201602010000.zip, then started a restore, and it started. This kind-of confirms there's an issue with file finding. It didn't restore properly the first time, I needed to reboot and restore again, then it restored, but got stuck on the cleanup (maybe it couldn't delete the file I added).
It mostly restored, missed weather config, and more importantly lircd.conf, and of course my config.txt in the boot partition. Good thanks!