2013-02-13, 06:48
(2012-05-14, 23:36)robweber Wrote:(2012-05-14, 01:18)lifenoobie Wrote: @robweber: I have the same problem as e2zippo. Was having problems with sound after adding addons. Luckily I backed up xbmc prior to the additions. Although I was getting the script error message described above. After fruitless attempts, I uninstalled xbmc, and reinstalled. I added "xbmc backup" and I'm not able to restore my previous settings. I'm getting the same script error. I tried debugging, but I don't actually see where the "xbmc.log" is stored. Below is the log file. Any ideas what I'm doing wrong? Thanks for the help!
20:24:29 T:5068 NOTICE: script.xbmcbackup: Starting
20:24:29 T:5068 NOTICE: script.xbmcbackup: Local Dir: C:\Users\media center\AppData\Roaming\XBMC\
20:24:29 T:5068 NOTICE: script.xbmcbackup: Remote Dir: smb://FREENAS/media_drive/downloads/xbmc_backup/xbmc_backup/
20:24:29 T:5068 INFO: Loading skin file: DialogProgress.xml
20:24:29 T:5068 DEBUG: DialogProgress::StartModal called
20:24:29 T:5068 DEBUG: ------ Window Init (DialogProgress.xml) ------
20:24:29 T:5068 DEBUG: JSONRPC: Incoming request: { "jsonrpc" : "2.0" , "method" : "Files.GetDirectory" , "params" : { "directory" : "smb://FREENAS/media_drive/downloads/xbmc_backup/xbmc_backup/addons/" , "sort" : { "method" : "file" } } , "id" : 1 }
20:24:29 T:5068 DEBUG: JSONRPC: Calling files.getdirectory
20:24:29 T:5068 DEBUG: CUtil::GetMatchingSource: no matching source found for [smb://FREENAS/media_drive/downloads/xbmc_backup/xbmc_backup/addons/]
20:24:29 T:5068 DEBUG: Previous line repeats 4 times.
20:24:29 T:5068 ERROR: XFILE::CDirectory::GetDirectory - Error getting smb://FREENAS/media_drive/downloads/xbmc_backup/xbmc_backup/addons/
20:24:29 T:5068 INFO: -->Python script returned the following error<--
20:24:29 T:5068 ERROR: Error Type: <type 'exceptions.KeyError'>
20:24:29 T:5068 ERROR: Error Contents: 'result'
20:24:29 T:5068 ERROR: Traceback (most recent call last):
File "C:\Users\media center\AppData\Roaming\XBMC\addons\script.xbmcbackup\default.py", line 188, in <module>
backup.run()
File "C:\Users\media center\AppData\Roaming\XBMC\addons\script.xbmcbackup\default.py", line 122, in run
self.restoreFiles()
File "C:\Users\media center\AppData\Roaming\XBMC\addons\script.xbmcbackup\default.py", line 140, in restoreFiles
self.fileManager.createFileList(self.Addon)
File "C:\Users\media center\AppData\Roaming\XBMC\addons\script.xbmcbackup\default.py", line 26, in createFileList
self.walkTree(self.walk_path + "addons/")
File "C:\Users\media center\AppData\Roaming\XBMC\addons\script.xbmcbackup\default.py", line 57, in walkTree
for (path, dirs, files) in vfs.walk(directory):
File "C:\Users\media center\AppData\Roaming\XBMC\addons\script.xbmcbackup\resources\lib\vfs.py", line 50, in walk
for x in listdir(current_path, extra_metadata=True):
File "C:\Users\media center\AppData\Roaming\XBMC\addons\script.xbmcbackup\resources\lib\vfs.py", line 100, in listdir
if jsonobject['result']['files']:
KeyError: 'result'
20:24:29 T:5068 INFO: -->End of Python script error report<--
20:24:29 T:5068 INFO: Python script stopped
If you're doing a restore, my guess would be there is an error in your remote path settings. According to the log your path is this - smb://FREENAS/media_drive/downloads/xbmc_backup/xbmc_backup/.
My guess is that originally you specified this: smb://FREENAS/media_drive/downloads/ and then specified that the xbmc_backup folder name be given to the name of the folder you want created for backups (these are two different settings). When you re-installed xbmc backup you then specified the entire folder - including the xbmc_backup sub folder - and expected it to find your backup data. Since another subfolder called xbmc_backup does not exist within this directory you get a "file not found" error.
Try modifying your settings to read smb://FREENAS/media_drive/downloads/ as the remote directory and xbmc_backup as the folder name to see if you get any better results.
Dude the part where you explained the path settings just helped me out tremendously. i was a folder down lol