2017-03-09, 05:58
(2017-03-09, 04:10)scott967 Wrote:I think the problem is more than that. The file I am pointing to to restore is on my NAS, where I exported the settings file to, nowhere near where the script is trying to get the file. And the file name it us using is something made up...it looks like there is something seriously wrong with the code.(2017-03-08, 20:28)wags1 Wrote: Follow-up to post on skin settings import/export problem. I just did an export followed by an import on one of my FireTV boxes. Here are the log entries:
first for the export -
13:19:41.710 T:18446744072362651184 WARNING: FileNFS::OpenForWrite() called with overwriting enabled! - //Aeonmq7 Skinbackup (2017-03-08 13.19.36).zip
It completed the write of the backup file to my NAS - backup file name, as can be seen above, is Aeonmq7 Skinbackup (2017-03-08 13.19.36).zip
I then tried to do an import and point it at the file that I just created. It appears to work but nothing actually is restored and the following error is in the log -
13:20:21.431 T:18446744072373624832 ERROR: Skin Helper Backup --> ERROR in __main__ ! --> [Errno 2] No such file or directory: u'/storage/sdcard1/Android/data/org.xbmc.kodi/files//.kodi/userdata/profiles/Mark/addon_data/script.skin.helper.skinbackup/skinbackup-2017-03-08 13:20.zip'
It looks like when the restore function is getting the path/filename from the select dialog, it is getting an extra slash from the full android path.
scott s.
.