Bug Bug: update Skin, which is currently in use (XFILE::CFile::Rename - Error renaming)
#1
Hi, i banging my head and didnt find a Solution, and mayby someone can enlighten me.

It's not possible to update most* of the skins, which are currently in use.



The first installation of a skin is all fine, no matter which skin are in use.
log:
  INFO: Unloading old skin ...
08:11:12.132 T:6452   DEBUG: FreeVisualisation() done
08:11:12.135 T:6452   DEBUG: Previous line repeats 1 times.
08:11:12.135 T:6452   DEBUG: ------ Window Deinit () ------
08:11:12.135 T:6452   DEBUG: FreeVisualisation() done
08:11:12.135 T:6452   DEBUG: ------ Window Deinit (AddonBrowser.xml) ------
08:11:12.135 T:6452   DEBUG: FreeVisualisation() done
08:11:12.396 T:6452   DEBUG: Previous line repeats 1 times.
08:11:12.396 T:6452  NOTICE:   load skin from: C:\apps\Kodi Leia CLEAN JAN\Kodi\portable_data\addons\skin.confluence (version: 4.5.4)
08:11:12.398 T:6452    INFO:   load fonts for skin...
08:11:12.400 T:6452    INFO: Loading skin includes from C:\apps\Kodi Leia CLEAN JAN\Kodi\portable_data\addons\skin.confluence\720p\includes.xml
08:11:12.457 T:6452    INFO: Loading fonts from C:\apps\Kodi Leia CLEAN JAN\Kodi\portable_data\addons\skin.confluence\720p\Font.xml
08:11:12.468 T:6452   DEBUG: LocalizeStrings: loaded 150 strings from file C:\apps\Kodi Leia CLEAN JAN\Kodi\portable_data\addons\skin.confluence\language\resource.language.en_gb\strings.po
08:11:12.468 T:6452    INFO:   load new skin...
08:11:12.468 T:6452    INFO: Loading custom window XMLs from skin path C:\apps\Kodi Leia CLEAN JAN\Kodi\portable_data\addons\skin.confluence\720p
08:11:12.469 T:6452   DEBUG: Load Skin XML: 1.55ms
08:11:12.469 T:6452    INFO:   initialize new skin...
08:11:12.469 T:6452   DEBUG: guilib: Fill viewport on change for solving rendering passes
08:11:12.469 T:6452    INFO: Loading skin file: DialogBusy.xml, load type: LOAD_ON_GUI_INIT
08:11:12.471 T:6452   DEBUG: CTextureBundleXBT::OpenBundle - Opened bundle C:\apps\Kodi Leia CLEAN JAN\Kodi\portable_data\addons\skin.confluence\media\Textures.xbt
08:11:12.471 T:6452    INFO: Loading skin file: Pointer.xml, load type: LOAD_ON_GUI_INIT
08:11:12.472 T:6452    INFO: Loading skin file: DialogVolumeBar.xml, load type: LOAD_ON_GUI_INIT
08:11:12.473 T:6452    INFO: Loading skin file: DialogExtendedProgressBar.xml, load type: LOAD_ON_GUI_INIT
08:11:12.474 T:6452    INFO: Loading skin file: DialogSeekBar.xml, load type: LOAD_ON_GUI_INIT
08:11:12.478 T:6452    INFO: Loading skin file: DialogNotification.xml, load type: LOAD_ON_GUI_INIT
08:11:12.478 T:6452    INFO: Loading skin file: DialogBusy.xml, load type: LOAD_ON_GUI_INIT
08:11:12.479 T:6452    INFO: Loading skin file: custom_PVRChannelNumberInput.xml, load type: LOAD_ON_GUI_INIT
08:11:12.480 T:6452    INFO: Loading resource://resource.uisounds.kodi/sounds.xml
08:11:12.497 T:6452    INFO:   skin loaded...
08:11:12.497 T:6452   DEBUG: Activating window ID: 10040
But try to update, are mostly ptoblematic (pop up that there is an issue with the package in Kodi)

Log Snippet
log:

08:14:43.066 T:5988   DEBUG: Unpacking zip://special%3a%2f%2fhome%2faddons%2fpackages%2fskin.confluence-4.5.4.zip/skin.confluence/ to C:\apps\Kodi Leia CLEAN JAN\Kodi\portable_data\addons\temp\d2178902-8d1c-420a-9907-fe1eac254823
08:14:45.216 T:5988   ERROR: XFILE::CFile::Rename - Error renaming file C:\apps\Kodi Leia CLEAN JAN\Kodi\portable_data\addons\skin.confluence
08:14:45.216 T:5988   ERROR: Failed to move old addon files from 'C:\apps\Kodi Leia CLEAN JAN\Kodi\portable_data\addons\skin.confluence' to 'C:\apps\Kodi Leia CLEAN JAN\Kodi\portable_data\addons\temp\435bba8a-dc2d-4573-926e-7a46fd47e295'

Also, the skin you are used to try to update is full unloaded (Skin = none in gui, wich result in "using" stock estuary after restart)
Image

Than, when Skin is unloaded, its the same, try to "Re-Install" it via addon repo in kodi (same session)
log:
DEBUG: Unpacking zip://special%3a%2f%2fhome%2faddons%2fpackages%2fskin.confluence-4.5.4.zip/skin.confluence/ to C:\apps\Kodi Leia CLEAN JAN\Kodi\portable_data\addons\temp\fbdcc3f3-4061-4dbc-a504-609741660b4f
08:36:30.681 T:5864   ERROR: XFILE::CFile::Rename - Error renaming file C:\apps\Kodi Leia CLEAN JAN\Kodi\portable_data\addons\skin.confluence
08:36:30.681 T:5864   ERROR: Failed to move old addon files from 'C:\apps\Kodi Leia CLEAN JAN\Kodi\portable_data\addons\skin.confluence' to 'C:\apps\Kodi Leia CLEAN JAN\Kodi\portable_data\addons\temp\eead98bc-4739-4dd9-b63f-efd5301904cd'

Image

The only solution is to choose "estuary", close/restart KODI, before you like to update your skin.

Thats all tested just within a fresh Kodi install, and just with the default Kodi Repo.
Also it is'nt a new Issue, ,it's the case since i use Leia.

(Tested Win7,Win10,Android_8.1- Oreo)


_______________________________________________________
NOW THE EXCEPTION, @sualfred , your embuary Skin is the only exception , atm, wich can update even if its in use
INFO: Unloading old skin ...
Just found that the "unpacking..." not right after install

Unpacking zip://special%3a%2f%2fhome%2faddons%2fpackages%2fskin.embuary-leia-18.6.8.zip/skin.embuary-leia/ to C:\apps\Kodi Leia CLEAN JAN\Kodi\portable_data\addons\temp\3c83d0aa-d488-4b25-80c1-8443ff694f11

First Install log
log:
08:47:08.650 T:6452   DEBUG: FreeVisualisation() done
08:47:08.652 T:6452   DEBUG: ------ Window Deinit () ------
08:47:08.652 T:6452   DEBUG: FreeVisualisation() done
08:47:08.655 T:6452   DEBUG: ------ Window Deinit (AddonBrowser.xml) ------
08:47:08.655 T:6452   DEBUG: FreeVisualisation() done
08:47:08.667 T:6452   DEBUG: Previous line repeats 2 times.
08:47:08.667 T:6452  NOTICE:   load skin from: C:\apps\Kodi Leia CLEAN JAN\Kodi\portable_data\addons\skin.embuary-leia (version: 18.6.8)
08:47:08.670 T:6452    INFO:   load fonts for skin...
08:47:08.674 T:6452    INFO: Loading skin includes from C:\apps\Kodi Leia CLEAN JAN\Kodi\portable_data\addons\skin.embuary-leia\xml\includes.xml
08:47:09.206 T:6452    INFO: Loading fonts from C:\apps\Kodi Leia CLEAN JAN\Kodi\portable_data\addons\skin.embuary-leia\xml\Font.xml
08:47:09.393 T:6452   DEBUG: POParser: PO file has Win Style Line Endings. Converted in memory to Linux LF for file: C:\apps\Kodi Leia CLEAN JAN\Kodi\portable_data\addons\skin.embuary-leia\language\resource.language.en_gb\strings.po
08:47:09.394 T:6452   DEBUG: LocalizeStrings: loaded 322 strings from file C:\apps\Kodi Leia CLEAN JAN\Kodi\portable_data\addons\skin.embuary-leia\language\resource.language.en_gb\strings.po
08:47:09.394 T:6452    INFO:   load new skin...
08:47:09.395 T:6452    INFO: Loading custom window XMLs from skin path C:\apps\Kodi Leia CLEAN JAN\Kodi\portable_data\addons\skin.embuary-leia\xml
08:47:09.463 T:6452   DEBUG: Load Skin XML: 68.30ms
08:47:09.463 T:6452    INFO:   initialize new skin...
08:47:09.463 T:6452   DEBUG: guilib: Fill viewport on change for solving rendering passes
08:47:09.463 T:6452    INFO: Loading skin file: Custom_1142_StartFullscreen.xml, load type: LOAD_ON_GUI_INIT
08:47:09.464 T:6452    INFO: Loading skin file: DialogBusy.xml, load type: LOAD_ON_GUI_INIT
08:47:09.466 T:6452    INFO: Loading skin file: Pointer.xml, load type: LOAD_ON_GUI_INIT
08:47:09.470 T:6452    INFO: Loading skin file: Custom_1116_CustomBusySpinner.xml, load type: LOAD_ON_GUI_INIT
08:47:09.472 T:6452    INFO: Loading skin file: DialogVolumeBar.xml, load type: LOAD_ON_GUI_INIT
08:47:09.480 T:6452    INFO: Loading skin file: DialogExtendedProgressBar.xml, load type: LOAD_ON_GUI_INIT
08:47:09.490 T:6452    INFO: Loading skin file: DialogSeekBar.xml, load type: LOAD_ON_GUI_INIT
08:47:09.500 T:6452    INFO: Loading skin file: Custom_1117_SearchProperty.xml, load type: LOAD_ON_GUI_INIT
08:47:09.501 T:6452    INFO: Loading skin file: DialogNotification.xml, load type: LOAD_ON_GUI_INIT
08:47:09.503 T:6452    INFO: Loading skin file: DialogBusy.xml, load type: LOAD_ON_GUI_INIT
08:47:09.504 T:6452    INFO: Loading skin file: Custom_1146_Overlay_Debug.xml, load type: LOAD_ON_GUI_INIT
08:47:09.519 T:6944   DEBUG: Thread Timer start, auto delete: false
08:47:09.535 T:6452    INFO: Loading skin file: Custom_1112_Reset.xml, load type: LOAD_ON_GUI_INIT
08:47:09.540 T:6944   DEBUG: Thread Timer 6944 terminating
08:47:09.540 T:3976   DEBUG: Thread Timer start, auto delete: false
08:47:09.540 T:6452    INFO: Loading skin file: Custom_1118_ShowDetailsBySeason.xml, load type: LOAD_ON_GUI_INIT
08:47:09.541 T:6452    INFO: Loading skin file: Custom_1143_PausePlayback.xml, load type: LOAD_ON_GUI_INIT
08:47:09.541 T:3976   DEBUG: Thread Timer 3976 terminating
08:47:09.542 T:6452    INFO: Loading skin file: Custom_1147_HolidayTheme.xml, load type: LOAD_ON_GUI_INIT
08:47:09.542 T:6588   DEBUG: Thread Timer start, auto delete: false
08:47:09.550 T:6588   DEBUG: Thread Timer 6588 terminating
08:47:09.550 T:6908   DEBUG: Thread Timer start, auto delete: false
08:47:09.554 T:6452    INFO: Loading skin file: Custom_1150_BounceRight.xml, load type: LOAD_ON_GUI_INIT
08:47:09.554 T:6452    INFO: Loading skin file: Custom_test.xml, load type: LOAD_ON_GUI_INIT
08:47:09.559 T:6452    INFO: Loading resource://resource.uisounds.kodi/sounds.xml
08:47:09.586 T:6452    INFO:   skin loaded...

Update Log
log:
08:48:36.266 T:6452    INFO: Unloading old skin ...
08:48:36.280 T:6492    INFO: Python interpreter stopped
08:48:36.280 T:6492   DEBUG: Thread LanguageInvoker 6492 terminating
08:48:36.289 T:6452   DEBUG: ------ Window Deinit (Home.xml) ------
08:48:36.290 T:6452   DEBUG: FreeVisualisation() done
08:48:36.304 T:6452   DEBUG: Previous line repeats 1 times.
08:48:36.304 T:6452   DEBUG: ------ Window Deinit () ------
08:48:36.305 T:6452   DEBUG: FreeVisualisation() done
08:48:36.308 T:6452   DEBUG: ------ Window Deinit (DialogExtendedProgressBar.xml) ------
08:48:36.309 T:6452   DEBUG: ------ Window Deinit (Custom_1147_HolidayTheme.xml) ------
08:48:36.360 T:6452  NOTICE:   load skin from: C:\apps\Kodi Leia CLEAN JAN\Kodi\portable_data\addons\skin.embuary-leia (version: 18.6.8)
08:48:36.377 T:6452    INFO:   load fonts for skin...
08:48:36.383 T:6452    INFO: Loading skin includes from C:\apps\Kodi Leia CLEAN JAN\Kodi\portable_data\addons\skin.embuary-leia\xml\includes.xml
08:48:36.738 T:6452    INFO: Loading fonts from C:\apps\Kodi Leia CLEAN JAN\Kodi\portable_data\addons\skin.embuary-leia\xml\Font.xml
08:48:36.918 T:6452   DEBUG: POParser: PO file has Win Style Line Endings. Converted in memory to Linux LF for file: C:\apps\Kodi Leia CLEAN JAN\Kodi\portable_data\addons\skin.embuary-leia\language\resource.language.en_gb\strings.po
08:48:36.920 T:6452   DEBUG: LocalizeStrings: loaded 322 strings from file C:\apps\Kodi Leia CLEAN JAN\Kodi\portable_data\addons\skin.embuary-leia\language\resource.language.en_gb\strings.po
08:48:36.920 T:6452    INFO:   load new skin...
08:48:36.920 T:6452    INFO: Loading custom window XMLs from skin path C:\apps\Kodi Leia CLEAN JAN\Kodi\portable_data\addons\skin.embuary-leia\xml
08:48:36.970 T:6452   DEBUG: Load Skin XML: 50.24ms
08:48:36.970 T:6452    INFO:   initialize new skin...
08:48:36.970 T:6452   DEBUG: guilib: Fill viewport on change for solving rendering passes
08:48:36.970 T:6452    INFO: Loading skin file: Custom_1142_StartFullscreen.xml, load type: LOAD_ON_GUI_INIT
08:48:36.971 T:6452    INFO: Loading skin file: DialogBusy.xml, load type: LOAD_ON_GUI_INIT
08:48:36.972 T:6452    INFO: Loading skin file: Pointer.xml, load type: LOAD_ON_GUI_INIT
08:48:36.974 T:6452    INFO: Loading skin file: Custom_1116_CustomBusySpinner.xml, load type: LOAD_ON_GUI_INIT
08:48:36.975 T:6452    INFO: Loading skin file: DialogVolumeBar.xml, load type: LOAD_ON_GUI_INIT
08:48:36.981 T:6452    INFO: Loading skin file: DialogExtendedProgressBar.xml, load type: LOAD_ON_GUI_INIT
08:48:36.988 T:6452    INFO: Loading skin file: DialogSeekBar.xml, load type: LOAD_ON_GUI_INIT
08:48:36.999 T:6452    INFO: Loading skin file: Custom_1117_SearchProperty.xml, load type: LOAD_ON_GUI_INIT
08:48:37.000 T:6452    INFO: Loading skin file: DialogNotification.xml, load type: LOAD_ON_GUI_INIT
08:48:37.010 T:6452    INFO: Loading skin file: DialogBusy.xml, load type: LOAD_ON_GUI_INIT
08:48:37.016 T:6452    INFO: Loading skin file: Custom_1146_Overlay_Debug.xml, load type: LOAD_ON_GUI_INIT
08:48:37.088 T:6452    INFO: Loading skin file: Custom_1112_Reset.xml, load type: LOAD_ON_GUI_INIT
08:48:37.096 T:6452    INFO: Loading skin file: Custom_1118_ShowDetailsBySeason.xml, load type: LOAD_ON_GUI_INIT
08:48:37.097 T:6452    INFO: Loading skin file: Custom_1143_PausePlayback.xml, load type: LOAD_ON_GUI_INIT
08:48:37.098 T:6452    INFO: Loading skin file: Custom_1147_HolidayTheme.xml, load type: LOAD_ON_GUI_INIT
08:48:37.111 T:6452    INFO: Loading skin file: Custom_1150_BounceRight.xml, load type: LOAD_ON_GUI_INIT
08:48:37.112 T:6452    INFO: Loading skin file: Custom_test.xml, load type: LOAD_ON_GUI_INIT
08:48:37.117 T:6452    INFO: Loading resource://resource.uisounds.kodi/sounds.xml
08:48:37.141 T:6452    INFO:   skin loaded...

Full Log
https://paste.kodi.tv/wodegehalu.kodi
Skins |  Titan M O D   •   S W A N (WIP)
Reply
#2
Old and known bug.
But should be fixed once this PR has been merged:

https://github.com/xbmc/xbmc/pull/15310

The reason why it works for Embuary -> I don't use textures.xbt at all.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#3
(2019-01-24, 11:47)sualfred Wrote: Old and known bug.
But should be fixed once this PR has been merged:

https://github.com/xbmc/xbmc/pull/15310

The reason why it works for Embuary -> I don't use textures.xbt at all.
 Thanks, that info helps even if not fixed.
Skins |  Titan M O D   •   S W A N (WIP)
Reply

Logout Mark Read Team Forum Stats Members Help
Bug: update Skin, which is currently in use (XFILE::CFile::Rename - Error renaming)0