Skip to content

skin backup issue  #2

@mgonzales71

Description

@mgonzales71

FYI running on latest krypton nightly under windows 10 pro x64

automatic skin backups still aren't working but noticed in the log script threw and exception even though GUI reported backup was successful.

This may be the cause of auto backups not working.. I noticed the settings for the script in addon_data updates the with a new date of last backup even though it never gets created.

2016-12-12_00-02-15

00:00:32.453 T:6940   ERROR: unmatched parentheses in Skin.HasSetting(subtitle))
00:00:47.209 T:6940   ERROR: XFILE::CFile::Delete - Error deleting file C:\Users\Mario\AppData\Roaming\Kodi\cache\skinbackup\skinshortcuts\skin.titan.kryptonbeta-background-plugin.video.genesis.png
00:00:47.209 T:6940   ERROR: XFILE::CFile::Delete - Error deleting file special://temp/skinbackup/skinshortcuts/skin.titan.kryptonbeta-background-plugin.video.genesis.png
00:00:47.274 T:6940   ERROR: XFILE::CDirectory::Remove - Error removing C:\Users\Mario\AppData\Roaming\Kodi\cache\skinbackup\skinshortcuts
00:00:47.274 T:6940   ERROR: XFILE::CDirectory::Remove - Error removing special://temp/skinbackup/skinshortcuts
00:00:47.292 T:11504   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.WindowsError'>
                                            Error Contents: (2, 'The system cannot find the file specified', 'C:\\Users\\Mario\\AppData\\Roaming\\Kodi\\cache\\skinbackup\\skinshortcuts\\skin.titan.kryptonbeta-background-plugin.video.salts-.jpg')
                                            Traceback (most recent call last):
                                              File "C:\Users\Mario\AppData\Roaming\Kodi\addons\script.skin.helper.skinbackup\service.py", line 49, in <module>
                                                Service().run()
                                              File "C:\Users\Mario\AppData\Roaming\Kodi\addons\script.skin.helper.skinbackup\service.py", line 39, in run
                                                self.backuprestore.check_autobackup()
                                              File "C:\Users\Mario\AppData\Roaming\Kodi\addons\script.skin.helper.skinbackup\resources\lib\backuprestore.py", line 413, in check_autobackup
                                                self.backup(backup_file=backupfile, silent=True)
                                              File "C:\Users\Mario\AppData\Roaming\Kodi\addons\script.skin.helper.skinbackup\resources\lib\backuprestore.py", line 57, in backup
                                                zip_tofile(temp_path, zip_temp)
                                              File "C:\Users\Mario\AppData\Roaming\Kodi\addons\script.skin.helper.skinbackup\resources\lib\utils.py", line 130, in zip_tofile
                                                zip_file = add_tozip(src, zip_file, abs_src)
                                              File "C:\Users\Mario\AppData\Roaming\Kodi\addons\script.skin.helper.skinbackup\resources\lib\utils.py", line 121, in add_tozip
                                                add_tozip(os.path.join(src, directory), zip_file, abs_src)
                                              File "C:\Users\Mario\AppData\Roaming\Kodi\addons\script.skin.helper.skinbackup\resources\lib\utils.py", line 119, in add_tozip
                                                zip_file.write(absname.encode("utf-8"), arcname.encode("utf-8"))
                                              File "C:\Program Files (x86)\Kodi\system\python\Lib\zipfile.py", line 1123, in write
                                                st = os.stat(filename)
                                            WindowsError: (2, 'The system cannot find the file specified', 'C:\\Users\\Mario\\AppData\\Roaming\\Kodi\\cache\\skinbackup\\skinshortcuts\\skin.titan.kryptonbeta-background-plugin.video.salts-.jpg')
                                            -->End of Python script error report<--
00:00:47.310 T:6940   ERROR: XFILE::CDirectory::Remove - Error removing C:\Users\Mario\AppData\Roaming\Kodi\cache\skinbackup\
00:00:47.310 T:6940   ERROR: XFILE::CDirectory::Remove - Error removing special://temp/skinbackup/

settings.xml.txt

let me know if I can do any testing for you with this issue.

Hope you are having a wonderful Holiday Season!

Mario

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions