XBMC4Xbox Installer - Error updating to any newer version
Posted: Mon Dec 16, 2013 1:50 pm
After a lot of time I tried again to update (successfully run from early days, at least from around 2009 to 31869). XBMC SVN Installer (now XBMC4Xbox Installer) fail with no apparently reason 
Debugging a lot, using different source and destination version, still stop during phase 2: "(2 of 6) Copying user data..."
Manually updated from 31869 to 32590 copying profiles.xml, FileZilla Server.xml, UserData and skipping skin, scripts and plugins, cleaned plugin_data as seen on another thread, reinstalled only XBMC4Xbox Installer using provided Addons4Xbox Installer. Retried upgrade (from 32590 to 32598), same error:
Thinking about filesystem problems, doing a whole xbox F:\Apps ftp backup without any issue.
Thinking about disk full (more than 8GB free, removed old installations, now more than 11GB free)
Thinking about too many files in UserData (more than 6000), removing ALL video thumbnails [0-9a-f] and recreating empty dirs (down from 6552 files and 175 dirs to 468 files and 175 dirs)
Only one error on log, a very long line reformatted here for your convenience, all about "Permission denied", but ftp or internal file manager works fine:
Maybe a problem with empty dirs (or dirs containing only dirs)? How can I debug any further?
Using a loop for subdirs (like on skin) for UserData can be useful?
Thanks in advance.
PS: to speed up debugging would be nice a third option other than download/install: transfer user config, to skip time consuming zip expansion
--
Riccardo.

Debugging a lot, using different source and destination version, still stop during phase 2: "(2 of 6) Copying user data..."
Manually updated from 31869 to 32590 copying profiles.xml, FileZilla Server.xml, UserData and skipping skin, scripts and plugins, cleaned plugin_data as seen on another thread, reinstalled only XBMC4Xbox Installer using provided Addons4Xbox Installer. Retried upgrade (from 32590 to 32598), same error:
Code: Select all
File "Q:\plugins\programs\XBMC4Xbox Installer\default.py", line 59, in <module>
plugin.Main()
File "Q:\plugins\programs\XBMC4Xbox Installer\resources\lib\xbmcsvn_build_install.py", line 73, in __init__
self.install_build( self.zip, self.install_path, build_dir )
File "Q:\plugins\programs\XBMC4Xbox Installer\resources\lib\xbmcsvn_build_install.py", line 314, in install_build
shutil.copytree( old_userdata_path, new_userdata_path )
File "Q:\system\python\python27.zlib\shutil.py", line 208, in copytree
raise Error, errors
Thinking about disk full (more than 8GB free, removed old installations, now more than 11GB free)
Thinking about too many files in UserData (more than 6000), removing ALL video thumbnails [0-9a-f] and recreating empty dirs (down from 6552 files and 175 dirs to 468 files and 175 dirs)
Only one error on log, a very long line reformatted here for your convenience, all about "Permission denied", but ftp or internal file manager works fine:
Code: Select all
# grep ERROR xbmc.old.log | head -1 | tr '\(\)' '\n' | sort | sed -e 's/, /# /g' | tr '#' '\n'
'Q:\\UserData\\'
'F:\\Apps\\XBMC4XBOX-32598\\UserData'
"[Errno 13] Permission denied: 'F:\\\\Apps\\\\XBMC4XBOX-32598\\\\UserData'"
'Q:\\UserData\\Database'
'F:\\Apps\\XBMC4XBOX-32598\\UserData\\Database'
"[Errno 13] Permission denied: 'F:\\\\Apps\\\\XBMC4XBOX-32598\\\\UserData\\\\Database'"
'Q:\\UserData\\Database\\CDDB'
'F:\\Apps\\XBMC4XBOX-32598\\UserData\\Database\\CDDB'
"[Errno 13] Permission denied: 'F:\\\\Apps\\\\XBMC4XBOX-32598\\\\UserData\\\\Database\\\\CDDB'"
[...]
'Q:\\UserData\\Thumbnails\\Music'
'F:\\Apps\\XBMC4XBOX-32598\\UserData\\Thumbnails\\Music'
"[Errno 13] Permission denied: 'F:\\\\Apps\\\\XBMC4XBOX-32598\\\\UserData\\\\Thumbnails\\\\Music'"
'Q:\\UserData\\Thumbnails\\Music\\0'
'F:\\Apps\\XBMC4XBOX-32598\\UserData\\Thumbnails\\Music\\0'
"[Errno 13] Permission denied: 'F:\\\\Apps\\\\XBMC4XBOX-32598\\\\UserData\\\\Thumbnails\\\\Music\\\\0'"
'Q:\\UserData\\Thumbnails\\Music\\1'
'F:\\Apps\\XBMC4XBOX-32598\\UserData\\Thumbnails\\Music\\1'
"[Errno 13] Permission denied: 'F:\\\\Apps\\\\XBMC4XBOX-32598\\\\UserData\\\\Thumbnails\\\\Music\\\\1'"
[...]
'Q:\\UserData\\Thumbnails\\Video'
'F:\\Apps\\XBMC4XBOX-32598\\UserData\\Thumbnails\\Video'
"[Errno 13] Permission denied: 'F:\\\\Apps\\\\XBMC4XBOX-32598\\\\UserData\\\\Thumbnails\\\\Video'"
'Q:\\UserData\\Thumbnails\\Video\\0'
'F:\\Apps\\XBMC4XBOX-32598\\UserData\\Thumbnails\\Video\\0'
"[Errno 13] Permission denied: 'F:\\\\Apps\\\\XBMC4XBOX-32598\\\\UserData\\\\Thumbnails\\\\Video\\\\0'"
'Q:\\UserData\\Thumbnails\\Video\\1'
'F:\\Apps\\XBMC4XBOX-32598\\UserData\\Thumbnails\\Video\\1'
"[Errno 13] Permission denied: 'F:\\\\Apps\\\\XBMC4XBOX-32598\\\\UserData\\\\Thumbnails\\\\Video\\\\1'"
[...]
'Q:\\UserData\\script_data'
'F:\\Apps\\XBMC4XBOX-32598\\UserData\\script_data'
"[Errno 13] Permission denied: 'F:\\\\Apps\\\\XBMC4XBOX-32598\\\\UserData\\\\script_data'"
'Q:\\UserData\\visualisations'
'F:\\Apps\\XBMC4XBOX-32598\\UserData\\visualisations'
"[Errno 13] Permission denied: 'F:\\\\Apps\\\\XBMC4XBOX-32598\\\\UserData\\\\visualisations'"
Using a loop for subdirs (like on skin) for UserData can be useful?
Thanks in advance.
PS: to speed up debugging would be nice a third option other than download/install: transfer user config, to skip time consuming zip expansion

--
Riccardo.