• 1
  • 25
  • 26
  • 27(current)
  • 28
  • 29
  • 131
[Release] Backup (formerly XBMC Backup)
So anyways, I pinged from the NAS drive and still no ping response, I also tried a web based ping and still got no response, tried ping.eu with 100 % packet loss

I also tried http://network-tools.com/default.asp?pro...ropbox.com with 100% packet loss.

I'm using a Rpi with a SD card running Raspbmc, new install, just installed XBMC Backup, put in the credentials for DropBox, updated the dropbox permission, then clicked ok, when back, did a restore, goes for a bit, then fails. Logged into dropbox, and the previous restore's are there

Anyways if you have ideas, or what I can do with respect to sftp

many thanks


I ALSO WENT BACK TO DROPBOX page, I di d not install this on RPI or NAS drive

Install Core API SDKs

To make things as easy as possible, we have several platform SDKs you can import into your development environment to get up and running quickly. The SDKs contain platform-specific libraries that wrap the raw HTTP calls to the Dropbox API. They are designed to shorten the distance between your application and integrating Dropbox.

PythonRubyPHPJavaAndroidiOSOS XOther
Python SDK

Download Python SDKVersion 1.6, updated July 7, 2013Save to Dropbox
Download and uncompress the Python SDK. To install the dropbox module and any dependencies, run the setup script (you may need sudo).

python setup.py install
Alternatively, you can use pip to automatically download and install the module.

pip install dropbox
That's it. Once you import the Dropbox module into your app, you'll be able to use all the Core API methods.

Example scripts

For examples of how to use the SDK, explore the scripts in the example folder:

cli_client.py is a basic command line interface for your Dropbox.
flask_app/simple_dropbox_app.py is a web app that takes you through the OAuth 2 flow.
To get these examples running, you'll need to edit each script and enter your app key and secret where indicated. Also make sure that the access type is set to app_folder or dropbox as configured for your app.
Reply
Anyways have it was restoring just over 60% the error came up, using dropbox

22:03:55 T:2930472000 NOTICE: script.xbmcbackup: Starting
22:04:17 T:2930472000 NOTICE: script.xbmcbackup: Local Dir: /home/pi/.xbmc/
22:04:17 T:2930472000 NOTICE: script.xbmcbackup: Remote Dir: /20130825/
22:04:17 T:2930472000 NOTICE: script.xbmcbackup: Mode - Restore
22:04:18 T:2930472000 NOTICE: script.xbmcbackup: Creating Files List
22:16:53 T:2930472000 NOTICE: script.xbmcbackup: Writing files to: /home/pi/.xbmc/
22:16:53 T:2930472000 NOTICE: script.xbmcbackup: Source: /20130825/
22:31:24 T:2930472000 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'resources.lib.dropbox.rest.RESTSocketError'>
Error Contents: Error connecting to "api-content.dropbox.com": [Errno 0] _ssl.c:340: error:00000000:lib(0):func(0):reason(0)
Traceback (most recent call last):
File "/home/pi/.xbmc/addons/script.xbmcbackup/default.py", line 32, in <module>
backup.run(mode)
File "/home/pi/.xbmc/addons/script.xbmcbackup/resources/lib/backup.py", line 278, in run
self.backupFiles(fileGroup['files'],self.remote_vfs,self.xbmc_vfs)
File "/home/pi/.xbmc/addons/script.xbmcbackup/resources/lib/backup.py", line 298, in backupFiles
source.get_file(aFile,dest.root_path + aFile[len(source.root_path):])
File "/home/pi/.xbmc/addons/script.xbmcbackup/resources/lib/vfs.py", line 169, in get_file
f = self.client.get_file(source).read()
File "/home/pi/.xbmc/addons/script.xbmcbackup/resources/lib/dropbox/client.py", line 391, in get_file
return self.rest_client.request("GET", url, headers=headers, raw_response=True)
File "/home/pi/.xbmc/addons/script.xbmcbackup/resources/lib/dropbox/rest.py", line 250, in request
return cls.IMPL.request(*n, **kw)
File "/home/pi/.xbmc/addons/script.xbmcbackup/resources/lib/dropbox/rest.py", line 177, in request
raise RESTSocketError(host, e)
RESTSocketError: Error connecting to "api-content.dropbox.com": [Errno 0] _ssl.c:340: error:00000000:lib(0):func(0):reason(0)
-->End of Python script error report<--
Reply
@jackofallsorts

Don't worry about the Dropbox SDK stuff. The python SDK files are included in the backup addon already. Due to some help from others on the forum they had to be modified due to dependencies that don't exist as part of the default xbmc python install; so simply dragging/dropping new sdk files into the addon will break things even further.

The dropbox stuff has to be a straight-up connection issue between your home network and the dropbox servers over the internet. If you can get it to work for while and then you get this connection error the connection is being dropped somewhere along the line. Unfortunately the dropbox SDK is not like their native syncing clients where it will recover and try to do the transfer again.

Regarding the SFTP. Have you done any non-XBMC connection tests? Can you connect to your SFTP server with a regular SFTP client and read/write files? Also, in you first post I noticed this in the log file:

Code:
sftp://rpi:[email protected]/shares/rpi/20130826/

At the time I didn't think much of it but I now see the IP you have listed is 78.45.34.3.com. Is this how you have the backup source setup in the addon? I believe you probably want just the IP and can remove the .com portion of it. Hopefully fixing it is as simple as removing that.
Reply
that was just a typo, I have it as just the IP, I downloaded WINSCP and tried to copy files, and they copied no problem.

I have changed the personal identification as it is a public board


<settings>
<setting id="backup_addon_data" value="false" />
<setting id="backup_addons" value="true" />
<setting id="backup_config" value="true" />
<setting id="backup_custom_dir_1" value="" />
<setting id="backup_custom_dir_2" value="" />
<setting id="backup_database" value="true" />
<setting id="backup_playlists" value="true" />
<setting id="backup_rotation" value="0" />
<setting id="backup_thumbnails" value="true" />
<setting id="cron_schedule" value="0 0 * * *" />
<setting id="cron_shutdown" value="false" />
<setting id="custom_dir_1_enable" value="false" />
<setting id="custom_dir_2_enable" value="false" />
<setting id="day_of_week" value="0" />
<setting id="dropbox_key" value="xxxxxxxxxxxxxxx" />
<setting id="dropbox_secret" value="xxxxxxxxxxxxxx" />
<setting id="enable_scheduler" value="false" />
<setting id="remote_path" value="" />
<setting id="remote_path_2" value="sftp://rpi:[email protected]:/shares/rpi" />
<setting id="remote_selection" value="1" />
<setting id="run_silent" value="false" />
<setting id="schedule_interval" value="0" />
<setting id="schedule_time" value="00:00" />
</settings>

I have been reading, do I need to do something with umask, these are the errors I am still getting
14:29:07 T:2938672192 NOTICE: Thread Jobworker start, auto delete: true
14:29:08 T:2798646336 NOTICE: Thread XBPyThread start, auto delete: false
14:29:08 T:2798646336 NOTICE: -->Python Interpreter Initialized<--
14:29:15 T:2798646336 NOTICE: script.xbmcbackup: Starting
14:29:15 T:2798646336 NOTICE: script.xbmcbackup: Local Dir: /home/pi/.xbmc/
14:29:15 T:2798646336 NOTICE: script.xbmcbackup: Remote Dir: sftp://rpi:[email protected]:/shares/rpi/20130827/
14:29:15 T:2798646336 NOTICE: script.xbmcbackup: Mode - Backup
14:29:15 T:2798646336 ERROR: Create - Error creating sftp://rpi:[email protected]:/shares/rpi/20130827/
14:29:15 T:2798646336 NOTICE: script.xbmcbackup: Creating Files List
14:29:15 T:2798646336 ERROR: Create - Error creating sftp://rpi:[email protected]:/shares/rpi/20130827/addons
14:29:18 T:2798646336 ERROR: Create - Error creating sftp://rpi:[email protected]:/shares/rpi/20130827/userdata
14:29:18 T:2798646336 ERROR: Create - Error creating sftp://rpi:[email protected]:/shares/rpi/20130827/userdata/Database
14:29:18 T:2798646336 ERROR: Create - Error creating sftp://rpi:[email protected]:/shares/rpi/20130827/userdata/playlists
14:29:18 T:2798646336 ERROR: Create - Error creating sftp://rpi:[email protected]:/shares/rpi/20130827/userdata/Thumbnails
14:29:18 T:2798646336 ERROR: Create - Error creating sftp://rpi:[email protected]:/shares/rpi/20130827/userdata/keymaps
14:29:18 T:2798646336 ERROR: Create - Error creating sftp://rpi:[email protected]:/shares/rpi/20130827/userdata/peripheral_data
14:29:18 T:2798646336 NOTICE: script.xbmcbackup: Writing files to: sftp://rpi:[email protected]:/shares/rpi/20130827/
14:29:18 T:2798646336 NOTICE: script.xbmcbackup: Source: /home/pi/.xbmc/
Reply
You shouldn't need to do anything with umask as the xbmc process should already have access to it's own files (the userdata folder). Have you tried creating directories on your SFTP server? It looks like that is the problem it's having.
Reply
I am able to create directories, no problem
Using WinSCP, I created a directory
Logging in via putty I was able to mkdir

stumped..
Reply
I doubt xbmc supports creating folders over ftp
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
(2013-08-27, 18:58)Martijn Wrote: I doubt xbmc supports creating folders over ftp

Well I guess that answers that one. Thanks Martijn. Just for the sake of being thorough I did check the SFTPDirectory source file (https://github.com/xbmc/xbmc/blob/master...irectory.h) and can confirm it does not override the Create() function from the IDirectory class. Looking at other protocols, like NFS, those source files do override that method for create directory behavior. Regular FTP cannot create directories either.

Did not know this caveat to the VFS file system. I will make note of it and perhaps alert the user if the sftp:// or ftp:// methods are used.
Reply
Hi,
I just noticed that after the last update some of the settings seem a little weird,
http://i.imgur.com/m1e8ARH.jpg
http://i.imgur.com/7nO6PRZ.jpg

The 'everyday' setting now give you the day of the week to choose from , and the 'once a week, doesn't specify which day .. and I did have it set to once a week but its now backing up everyday.

Thanks
Reply
I am trying to have a few boxes setup running the same software. This is perfect for this. However when I try to load up a backup and restart XBMC it crashes and will not run. I have tried this on a PC, android, and Linux.
Reply
(2013-09-14, 15:05)zer04c Wrote: Hi,
I just noticed that after the last update some of the settings seem a little weird,
http://i.imgur.com/m1e8ARH.jpg
http://i.imgur.com/7nO6PRZ.jpg

The 'everyday' setting now give you the day of the week to choose from , and the 'once a week, doesn't specify which day .. and I did have it set to once a week but its now backing up everyday.

Thanks

Thanks for the info. I forgot to change the "visible" tag on some of the settings after adding the new option. The visibility settings shouldn't have anything to do with how the program actually interprets the options though. I double checked the service.py code and it is reading in the options correctly when parsing the schedule. Before I push this to the repo could you update your addon via github and make sure it is working? If you don't want to do a full git clone just download and overwrite the settings.xml file, that is the only one I changed.

(2013-09-15, 22:58)premt84 Wrote: I am trying to have a few boxes setup running the same software. This is perfect for this. However when I try to load up a backup and restart XBMC it crashes and will not run. I have tried this on a PC, android, and Linux.

Please post a debug log from one of your systems. One from the restore, another from when xbmc tries to reboot. There are very few things that would cause XBMC to just not start. One of them off the top of my head is if you have advancedsettings.xml information (like mysql database or path substitutions) that the application can't load due to network errors. Instead of trying to guess randomly at the issue though a log is really needed.
Reply
I did a fresh install of Frodo and this is the log after restoring the backup.

Code:
13:19:06 T:3096  NOTICE: -----------------------------------------------------------------------
13:19:06 T:3096  NOTICE: Starting XBMC (12.2 Git:20130502-32b1a5e), Platform: Windows 7 SP1 64-bit, build 7601. Built on May  2 2013 (compiler 1600)
13:19:06 T:3096  NOTICE: Intel(R) Pentium(R) CPU G620T @ 2.20GHz
13:19:06 T:3096  NOTICE: Desktop Resolution: 1600x900 32Bit at 60Hz
13:19:06 T:3096  NOTICE: Running with restricted rights
13:19:06 T:3096  NOTICE: Aero is enabled
13:19:06 T:3096  NOTICE: special://xbmc/ is mapped to: C:\Program Files (x86)\XBMC
13:19:06 T:3096  NOTICE: special://xbmcbin/ is mapped to: C:\Program Files (x86)\XBMC
13:19:06 T:3096  NOTICE: special://masterprofile/ is mapped to: C:\Users\Blue\AppData\Roaming\XBMC\userdata
13:19:06 T:3096  NOTICE: special://home/ is mapped to: C:\Users\Blue\AppData\Roaming\XBMC\
13:19:06 T:3096  NOTICE: special://temp/ is mapped to: C:\Users\Blue\AppData\Roaming\XBMC\cache
13:19:06 T:3096  NOTICE: The executable running is: C:\Program Files (x86)\XBMC\XBMC.exe
13:19:06 T:3096  NOTICE: Local hostname: Blue-HP
13:19:06 T:3096  NOTICE: Log File is located: C:\Users\Blue\AppData\Roaming\XBMC\xbmc.log
13:19:06 T:3096  NOTICE: -----------------------------------------------------------------------
13:19:07 T:3096  NOTICE: Found 2 Lists of Devices
13:19:07 T:3096  NOTICE: Enumerated DirectSound devices:
13:19:07 T:3096  NOTICE:     Device 1
13:19:07 T:3096  NOTICE:         m_deviceName      : {C2440006-6A0A-4DD4-9B10-93180041BE6A}
13:19:07 T:3096  NOTICE:         m_displayName     : Speakers - Speakers (Realtek High Definition Audio)
13:19:07 T:3096  NOTICE:         m_displayNameExtra: DirectSound: Speakers (Realtek High Definition Audio)
13:19:07 T:3096  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
13:19:07 T:3096  NOTICE:         m_channels        : FL,FR
13:19:07 T:3096  NOTICE:         m_sampleRates     : 48000
13:19:07 T:3096  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_AC3
13:19:07 T:3096  NOTICE: Enumerated WASAPI devices:
13:19:07 T:3096  NOTICE:     Device 1
13:19:07 T:3096  NOTICE:         m_deviceName      : {C2440006-6A0A-4DD4-9B10-93180041BE6A}
13:19:07 T:3096  NOTICE:         m_displayName     : Speakers - Speakers (Realtek High Definition Audio)
13:19:07 T:3096  NOTICE:         m_displayNameExtra: WASAPI: Speakers (Realtek High Definition Audio)
13:19:07 T:3096  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
13:19:07 T:3096  NOTICE:         m_channels        : FL,FR,FC,LFE,BL,BR
13:19:07 T:3096  NOTICE:         m_sampleRates     : 96000,48000,44100
13:19:07 T:3096  NOTICE:         m_dataFormats     : AE_FMT_S24NE4,AE_FMT_S24LE4,AE_FMT_S24BE4,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_LPCM
13:19:07 T:3096  NOTICE: load settings...
13:19:07 T:3096  NOTICE: special://profile/ is mapped to: special://masterprofile/
13:19:07 T:3096  NOTICE: loading special://masterprofile/guisettings.xml
13:19:07 T:3096  NOTICE: Getting hardware information now...
13:19:07 T:3096  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
13:19:07 T:3096  NOTICE: Loaded playercorefactory configuration
13:19:07 T:3096  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
13:19:07 T:3096  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
13:19:07 T:3096  NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
13:19:07 T:3096   ERROR: Error loading special://profile/advancedsettings.xml, Line 0
                                            Error document empty.
13:19:07 T:3096  NOTICE: Default DVD Player: dvdplayer
13:19:07 T:3096  NOTICE: Default Video Player: dvdplayer
13:19:07 T:3096  NOTICE: Default Audio Player: paplayer
13:19:07 T:3096  NOTICE: Disabled debug logging due to GUI setting. Level 0.
13:19:07 T:3096  NOTICE: Log level changed to 0
13:19:07 T:3096  NOTICE: Loading media sources from special://masterprofile/sources.xml
13:19:07 T:3096  NOTICE: Running database version Addons15
13:19:07 T:7880  NOTICE: Thread CSoftAE start, auto delete: false
13:19:07 T:3548  NOTICE: Thread XBMC Peripherals start, auto delete: false
13:19:07 T:7812  NOTICE: Previous line repeats 1 times.
13:19:07 T:7812  NOTICE: Thread CRemoteControl start, auto delete: false
13:19:07 T:3096  NOTICE: Found screen: HP S2031 Series Wide LCD Monitor on Intel(R) HD Graphics Family, adapter 0.
13:19:07 T:3096  NOTICE: Primary mode: 1600x900 @ 60.00 - Full Screen
13:19:07 T:3096  NOTICE: Additional mode: 640x480 @ 59.94 - Full Screen
13:19:07 T:3096  NOTICE: Additional mode: 640x480 @ 60.00 - Full Screen
13:19:07 T:3096  NOTICE: Previous line repeats 1 times.
13:19:07 T:3096  NOTICE: Additional mode: 640x480 @ 59.94 - Full Screen
13:19:07 T:3096  NOTICE: Additional mode: 640x480 @ 60.00 - Full Screen
13:19:07 T:3096  NOTICE: Additional mode: 640x480 @ 59.94 - Full Screen
13:19:07 T:3096  NOTICE: Additional mode: 656x496 @ 60.00 - Full Screen
13:19:07 T:3096  NOTICE: Previous line repeats 2 times.
13:19:07 T:3096  NOTICE: Additional mode: 720x480 @ 60.00 - Full Screen
13:19:07 T:3096  NOTICE: Previous line repeats 2 times.
13:19:07 T:3096  NOTICE: Additional mode: 800x600 @ 60.00 - Full Screen
13:19:07 T:3096  NOTICE: Previous line repeats 2 times.
13:19:07 T:3096  NOTICE: Additional mode: 1024x768 @ 60.00 - Full Screen
13:19:07 T:3096  NOTICE: Previous line repeats 2 times.
13:19:07 T:3096  NOTICE: Additional mode: 1152x864 @ 60.00 - Full Screen
13:19:07 T:3096  NOTICE: Previous line repeats 2 times.
13:19:07 T:3096  NOTICE: Additional mode: 1280x600 @ 60.00 - Full Screen
13:19:07 T:3096  NOTICE: Previous line repeats 2 times.
13:19:07 T:3096  NOTICE: Additional mode: 1280x720 @ 60.00 - Full Screen
13:19:07 T:3096  NOTICE: Previous line repeats 2 times.
13:19:07 T:3096  NOTICE: Additional mode: 1280x768 @ 60.00 - Full Screen
13:19:07 T:3096  NOTICE: Previous line repeats 2 times.
13:19:07 T:3096  NOTICE: Additional mode: 1280x800 @ 60.00 - Full Screen
13:19:07 T:3096  NOTICE: Previous line repeats 2 times.
13:19:07 T:3096  NOTICE: Additional mode: 1280x960 @ 60.00 - Full Screen
13:19:07 T:3096  NOTICE: Previous line repeats 2 times.
13:19:07 T:3096  NOTICE: Additional mode: 1280x1024 @ 60.00 - Full Screen
13:19:07 T:3096  NOTICE: Additional mode: 1360x768 @ 60.00 - Full Screen
13:19:07 T:3096  NOTICE: Previous line repeats 2 times.
13:19:07 T:3096  NOTICE: Additional mode: 1366x768 @ 60.00 - Full Screen
13:19:07 T:3096  NOTICE: Previous line repeats 2 times.
13:19:07 T:3096  NOTICE: Additional mode: 1440x900 @ 60.00 - Full Screen
13:19:07 T:3096  NOTICE: Previous line repeats 2 times.
13:19:07 T:3096  NOTICE: Additional mode: 1600x900 @ 60.00 - Full Screen
13:19:07 T:3096  NOTICE: Checking resolution 16
13:19:08 T:3096  NOTICE: Running database version Addons15
13:19:08 T:3096  NOTICE: Running database version ViewModes4
13:19:08 T:3096  NOTICE: Running database version Textures13
13:19:08 T:3096  NOTICE: Running database version MyMusic32
13:19:08 T:3096  NOTICE: Running database version MyVideos75
13:19:08 T:3096  NOTICE: Running database version TV22
13:19:08 T:3096  NOTICE: Running database version Epg7
13:19:08 T:3096  NOTICE: initializing playlistplayer
13:19:08 T:3096  NOTICE: DONE initializing playlistplayer
13:19:09 T:3096  NOTICE: initialize done
13:19:09 T:6756  NOTICE: Thread XBPyThread start, auto delete: false
13:19:09 T:6756  NOTICE: -->Python Interpreter Initialized<--
13:19:09 T:3096  NOTICE: Running the application...
13:19:09 T:3092  NOTICE: Thread Jobworker start, auto delete: true
13:19:09 T:3096  NOTICE: ES: Starting event server
13:19:09 T:7064  NOTICE: Thread CTCPServer start, auto delete: false
13:19:09 T:7296  NOTICE: Thread CEventServer start, auto delete: false
13:19:09 T:7296  NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
13:19:09 T:7296  NOTICE: UDP: Listening on port 9777
13:19:09 T:2964  NOTICE: Thread CRssReader start, auto delete: false
13:19:10 T:6756  NOTICE: script.xbmcbackup: Starting
13:19:10 T:6756  NOTICE: script.xbmcbackup: Local Dir: C:/Users/Blue/AppData/Roaming/XBMC/
13:19:10 T:6756  NOTICE: script.xbmcbackup: Remote Dir: C:/Users/Blue/Downloads/XBMC/20130626/
13:19:10 T:6756  NOTICE: script.xbmcbackup: Mode - Restore
13:19:10 T:6756  NOTICE: script.xbmcbackup: Creating Files List
13:19:13 T:6756   ERROR: XFILE::CDirectory::GetDirectory - Error getting C:/Users/Blue/Downloads/XBMC/20130626/userdata/Thumbnails
13:19:13 T:6756  NOTICE: script.xbmcbackup: Writing files to: C:/Users/Blue/AppData/Roaming/XBMC/
13:19:13 T:6756  NOTICE: script.xbmcbackup: Source: C:/Users/Blue/Downloads/XBMC/20130626/
13:20:24 T:6756   ERROR: XFILE::CFile::Delete - Error deleting file C:/Users/Blue/AppData/Roaming/XBMC/userdata/Database/Addons15.db
13:20:24 T:6756   ERROR: XFILE::CFile::Delete - Error deleting file C:/Users/Blue/AppData/Roaming/XBMC/userdata/Database/Textures13.db
13:29:09 T:2772  NOTICE: Thread Jobworker start, auto delete: true
13:29:10 T:6912  NOTICE: Thread CFileCache start, auto delete: false
13:29:12 T:2772  NOTICE: Previous line repeats 7 times.
13:29:12 T:2772 WARNING: XFILE::CCurlFile::CReadState::FillBuffer: curl failed with code 22
13:29:12 T:2772   ERROR: CCurlFile::CReadState::Open, didn't get any data from stream.
13:29:12 T:2772   ERROR: XFILE::CFileCache::Open - failed to open source <http://xbmcplus.xb.funpic.de/www-repo/filesystem/xbmcplus-xbmc-datadir/addons.xml.md5>
13:29:12 T:2772 WARNING: XFILE::CCurlFile::CReadState::FillBuffer: curl failed with code 22
13:29:12 T:2772   ERROR: CCurlFile::CReadState::Open, didn't get any data from stream.
13:29:12 T:2772   ERROR: Repository xbmcplus Add-on Repository returned no add-ons, listing may have failed
13:29:14 T:5612  NOTICE: Thread CFileCache start, auto delete: false
13:29:17 T:5012  NOTICE: Previous line repeats 5 times.
13:29:17 T:5012  NOTICE: Thread Jobworker start, auto delete: true
13:29:17 T:8104  NOTICE: Thread CFileCache start, auto delete: false
13:29:17 T:2720  NOTICE: Thread Jobworker start, auto delete: true
13:29:19 T:528  NOTICE: Thread XBPyThread start, auto delete: false
13:29:19 T:2300  NOTICE: Thread Jobworker start, auto delete: true
13:29:19 T:528  NOTICE: -->Python Interpreter Initialized<--
13:29:19 T:528  NOTICE:  StorageServer Module loaded RUN
13:29:19 T:528  NOTICE: StorageClient-2.5.2 Starting server
13:29:19 T:528  NOTICE: StorageServer-2.5.2 Storage Server starting C:\Users\Blue\AppData\Roaming\XBMC\cache\commoncache.db
13:50:00 T:7340  NOTICE: Thread CRssReader start, auto delete: false
14:43:28 T:7124  NOTICE: Previous line repeats 1 times.
14:43:28 T:7124  NOTICE: Thread Jobworker start, auto delete: true
14:43:29 T:6920  NOTICE: Previous line repeats 2 times.
14:43:29 T:6920  NOTICE: Thread XBPyThread start, auto delete: false
14:43:29 T:6920  NOTICE: -->Python Interpreter Initialized<--
14:43:29 T:6920   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ImportError'>
                                            Error Contents: No module named universal
                                            Traceback (most recent call last):
                                              File "C:\Users\Blue\AppData\Roaming\XBMC\addons\script.module.watchhistory\default.py", line 22, in <module>
                                                import watchhistory
                                              File "C:\Users\Blue\AppData\Roaming\XBMC\addons\script.module.watchhistory\lib\watchhistory.py", line 1, in <module>
                                                from universal import watchhistory
                                            ImportError: No module named universal
                                            -->End of Python script error report<--
14:43:30 T:7644  NOTICE: Thread CFileCache start, auto delete: false
14:43:30 T:2772   ERROR: Repository SmoothStreams.tv returned no add-ons, listing may have failed
14:43:30 T:2772   ERROR: Repository Irish Television XBMC Plugins returned no add-ons, listing may have failed
14:43:32 T:3096   ERROR: SQL: SQL error or missing database
                                            Query: select * from view where window = 10001 and path='/' and skin='skin.confluence'
14:43:32 T:3096   ERROR: CViewDatabase::GetViewState, failed on path ''
14:43:32 T:3096   ERROR: SQL: SQL error or missing database
                                            Query: select * from view where window = 10001 and path='/'
14:43:32 T:3096   ERROR: CViewDatabase::GetViewState, failed on path ''
14:43:32 T:3096   ERROR: SQL: SQL error or missing database
                                            Query: select * from view where window = 10001 and path='/' and skin='skin.confluence'
14:43:32 T:3096   ERROR: CViewDatabase::GetViewState, failed on path ''
14:43:32 T:3096   ERROR: SQL: SQL error or missing database
                                            Query: select * from view where window = 10001 and path='/'
14:43:32 T:3096   ERROR: CViewDatabase::GetViewState, failed on path ''
14:43:32 T:3096   ERROR: SQL: SQL error or missing database
                                            Query: select * from view where window = 10040 and path='addons://sources/executable/' and skin='skin.confluence'
14:43:32 T:3096   ERROR: CViewDatabase::GetViewState, failed on path 'addons://sources/executable/'
14:43:32 T:3096   ERROR: SQL: SQL error or missing database
                                            Query: select * from view where window = 10040 and path='addons://sources/executable/'
14:43:32 T:3096   ERROR: CViewDatabase::GetViewState, failed on path 'addons://sources/executable/'
14:43:32 T:3096   ERROR: SQL: SQL error or missing database
                                            Query: select * from view where window = 10040 and path='addons://sources/executable/' and skin='skin.confluence'
14:43:32 T:3096   ERROR: CViewDatabase::GetViewState, failed on path 'addons://sources/executable/'
14:43:32 T:3096   ERROR: SQL: SQL error or missing database
                                            Query: select * from view where window = 10040 and path='addons://sources/executable/'
14:43:32 T:3096   ERROR: CViewDatabase::GetViewState, failed on path 'addons://sources/executable/'
14:43:32 T:3808  NOTICE: Thread Background Loader start, auto delete: false
14:43:33 T:6392  NOTICE: Previous line repeats 1 times.
14:43:33 T:6392  NOTICE: Thread CFileCache start, auto delete: false
14:43:33 T:5052  NOTICE: Thread XBPyThread start, auto delete: false
14:43:33 T:5052  NOTICE: -->Python Interpreter Initialized<--
14:43:34 T:3096   ERROR: SQL: SQL error or missing database
                                            Query: select * from view where window = 10040 and path='addons://sources/executable/' and skin='skin.confluence'
14:43:34 T:3096   ERROR: CViewDatabase::GetViewState, failed on path 'addons://sources/executable/'
14:43:34 T:3096   ERROR: SQL: SQL error or missing database
                                            Query: select * from view where window = 10040 and path='addons://sources/executable/'
14:43:34 T:3096   ERROR: CViewDatabase::GetViewState, failed on path 'addons://sources/executable/'
14:43:34 T:3096   ERROR: SQL: SQL error or missing database
                                            Query: select * from view where window = 10040 and path='addons://sources/executable/' and skin='skin.confluence'
14:43:34 T:3096   ERROR: CViewDatabase::GetViewState, failed on path 'addons://sources/executable/'
14:43:34 T:3096   ERROR: SQL: SQL error or missing database
                                            Query: select * from view where window = 10040 and path='addons://sources/executable/'
14:43:34 T:3096   ERROR: CViewDatabase::GetViewState, failed on path 'addons://sources/executable/'
14:43:34 T:3200  NOTICE: Thread Background Loader start, auto delete: false
14:43:34 T:5052  NOTICE: Previous line repeats 1 times.
14:43:34 T:5052  NOTICE: Universal - An Addons Toolkit: -watchhistory- -Loading sqlite3 as DB engine version: 3.7.12.1
14:43:34 T:5052  NOTICE: Universal - An Addons Toolkit: - watchhistory - -Auto Cleanup Start
14:43:34 T:5052  NOTICE: Universal - An Addons Toolkit: -watchhistory- -DELETE FROM watch_history WHERE lastwatched < '2013-08-28'
14:43:34 T:5052  NOTICE: Universal - An Addons Toolkit: - watchhistory - -Auto Cleanup End
14:43:34 T:1240  NOTICE: Thread XBPyThread start, auto delete: false
14:43:35 T:1240  NOTICE: -->Python Interpreter Initialized<--
14:43:35 T:1240  NOTICE: XBMC Log Uploader: started
14:43:35 T:1240  NOTICE: XBMC Log Uploader: settings: len(email)=17
14:43:35 T:1240  NOTICE: XBMC Log Uploader: settings: skip_oldlog=True
14:43:36 T:1240  NOTICE: XBMC Log Uploader: reading log...

And this is when I try to restart.
Code:
14:44:48 T:864  NOTICE: -----------------------------------------------------------------------
14:44:48 T:864  NOTICE: Starting XBMC (12.2 Git:20130502-32b1a5e), Platform: Windows 7 SP1 64-bit, build 7601. Built on May  2 2013 (compiler 1600)
14:44:48 T:864  NOTICE: Intel(R) Pentium(R) CPU G620T @ 2.20GHz
14:44:48 T:864  NOTICE: Desktop Resolution: 1600x900 32Bit at 60Hz
14:44:48 T:864  NOTICE: Running with restricted rights
14:44:48 T:864  NOTICE: Aero is enabled
14:44:48 T:864  NOTICE: special://xbmc/ is mapped to: C:\Program Files (x86)\XBMC
14:44:48 T:864  NOTICE: special://xbmcbin/ is mapped to: C:\Program Files (x86)\XBMC
14:44:48 T:864  NOTICE: special://masterprofile/ is mapped to: C:\Users\Blue\AppData\Roaming\XBMC\userdata
14:44:48 T:864  NOTICE: special://home/ is mapped to: C:\Users\Blue\AppData\Roaming\XBMC\
14:44:48 T:864  NOTICE: special://temp/ is mapped to: C:\Users\Blue\AppData\Roaming\XBMC\cache
14:44:48 T:864  NOTICE: The executable running is: C:\Program Files (x86)\XBMC\XBMC.exe
14:44:48 T:864  NOTICE: Local hostname: Blue-HP
14:44:48 T:864  NOTICE: Log File is located: C:\Users\Blue\AppData\Roaming\XBMC\xbmc.log
14:44:48 T:864  NOTICE: -----------------------------------------------------------------------
14:44:48 T:864  NOTICE: Found 2 Lists of Devices
14:44:48 T:864  NOTICE: Enumerated DirectSound devices:
14:44:48 T:864  NOTICE:     Device 1
14:44:48 T:864  NOTICE:         m_deviceName      : {C2440006-6A0A-4DD4-9B10-93180041BE6A}
14:44:48 T:864  NOTICE:         m_displayName     : Speakers - Speakers (Realtek High Definition Audio)
14:44:48 T:864  NOTICE:         m_displayNameExtra: DirectSound: Speakers (Realtek High Definition Audio)
14:44:48 T:864  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
14:44:48 T:864  NOTICE:         m_channels        : FL,FR
14:44:48 T:864  NOTICE:         m_sampleRates     : 48000
14:44:48 T:864  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_AC3
14:44:48 T:864  NOTICE: Enumerated WASAPI devices:
14:44:48 T:864  NOTICE:     Device 1
14:44:48 T:864  NOTICE:         m_deviceName      : {C2440006-6A0A-4DD4-9B10-93180041BE6A}
14:44:48 T:864  NOTICE:         m_displayName     : Speakers - Speakers (Realtek High Definition Audio)
14:44:48 T:864  NOTICE:         m_displayNameExtra: WASAPI: Speakers (Realtek High Definition Audio)
14:44:48 T:864  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
14:44:48 T:864  NOTICE:         m_channels        : FL,FR,FC,LFE,BL,BR
14:44:48 T:864  NOTICE:         m_sampleRates     : 96000,48000,44100
14:44:48 T:864  NOTICE:         m_dataFormats     : AE_FMT_S24NE4,AE_FMT_S24LE4,AE_FMT_S24BE4,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_LPCM
14:44:48 T:864  NOTICE: load settings...
14:44:48 T:864  NOTICE: special://profile/ is mapped to: special://masterprofile/
14:44:48 T:864  NOTICE: loading special://masterprofile/guisettings.xml
14:44:48 T:864  NOTICE: Getting hardware information now...
14:44:48 T:864  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
14:44:48 T:864  NOTICE: Loaded playercorefactory configuration
14:44:48 T:864  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
14:44:48 T:864  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
14:44:48 T:864  NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
14:44:48 T:864   ERROR: Error loading special://profile/advancedsettings.xml, Line 0
                                            Error document empty.
14:44:48 T:864  NOTICE: Default DVD Player: dvdplayer
14:44:48 T:864  NOTICE: Default Video Player: dvdplayer
14:44:48 T:864  NOTICE: Default Audio Player: paplayer
14:44:48 T:864  NOTICE: Disabled debug logging due to GUI setting. Level 0.
14:44:48 T:864  NOTICE: Log level changed to 0
14:44:48 T:864  NOTICE: Loading media sources from special://masterprofile/sources.xml
14:44:48 T:864   ERROR: CSettings::LoadSources Error loading special://masterprofile/sources.xml: Line 0, Error document empty.
14:44:48 T:864   ERROR: Error loading special://profile/RssFeeds.xml, Line 0
                                            Error document empty.
14:44:48 T:7424  NOTICE: Thread CSoftAE start, auto delete: false
14:44:48 T:864  NOTICE: Running database version Addons15
14:44:48 T:3196  NOTICE: Thread XBMC Peripherals start, auto delete: false
14:44:48 T:2152  NOTICE: Previous line repeats 1 times.
14:44:48 T:2152  NOTICE: Thread CRemoteControl start, auto delete: false
14:44:48 T:864  NOTICE: Found screen: HP S2031 Series Wide LCD Monitor on Intel(R) HD Graphics Family, adapter 0.
14:44:48 T:864  NOTICE: Primary mode: 1600x900 @ 60.00 - Full Screen
14:44:48 T:864  NOTICE: Additional mode: 640x480 @ 59.94 - Full Screen
14:44:48 T:864  NOTICE: Additional mode: 640x480 @ 60.00 - Full Screen
14:44:48 T:864  NOTICE: Previous line repeats 1 times.
14:44:48 T:864  NOTICE: Additional mode: 640x480 @ 59.94 - Full Screen
14:44:48 T:864  NOTICE: Additional mode: 640x480 @ 60.00 - Full Screen
14:44:48 T:864  NOTICE: Additional mode: 640x480 @ 59.94 - Full Screen
14:44:48 T:864  NOTICE: Additional mode: 656x496 @ 60.00 - Full Screen
14:44:48 T:864  NOTICE: Previous line repeats 2 times.
14:44:48 T:864  NOTICE: Additional mode: 720x480 @ 60.00 - Full Screen
14:44:48 T:864  NOTICE: Previous line repeats 2 times.
14:44:48 T:864  NOTICE: Additional mode: 800x600 @ 60.00 - Full Screen
14:44:48 T:864  NOTICE: Previous line repeats 2 times.
14:44:48 T:864  NOTICE: Additional mode: 1024x768 @ 60.00 - Full Screen
14:44:48 T:864  NOTICE: Previous line repeats 2 times.
14:44:48 T:864  NOTICE: Additional mode: 1152x864 @ 60.00 - Full Screen
14:44:48 T:864  NOTICE: Previous line repeats 2 times.
14:44:48 T:864  NOTICE: Additional mode: 1280x600 @ 60.00 - Full Screen
14:44:48 T:864  NOTICE: Previous line repeats 2 times.
14:44:48 T:864  NOTICE: Additional mode: 1280x720 @ 60.00 - Full Screen
14:44:48 T:864  NOTICE: Previous line repeats 2 times.
14:44:48 T:864  NOTICE: Additional mode: 1280x768 @ 60.00 - Full Screen
14:44:48 T:864  NOTICE: Previous line repeats 2 times.
14:44:48 T:864  NOTICE: Additional mode: 1280x800 @ 60.00 - Full Screen
14:44:48 T:864  NOTICE: Previous line repeats 2 times.
14:44:48 T:864  NOTICE: Additional mode: 1280x960 @ 60.00 - Full Screen
14:44:48 T:864  NOTICE: Previous line repeats 2 times.
14:44:48 T:864  NOTICE: Additional mode: 1280x1024 @ 60.00 - Full Screen
14:44:48 T:864  NOTICE: Additional mode: 1360x768 @ 60.00 - Full Screen
14:44:48 T:864  NOTICE: Previous line repeats 2 times.
14:44:48 T:864  NOTICE: Additional mode: 1366x768 @ 60.00 - Full Screen
14:44:48 T:864  NOTICE: Previous line repeats 2 times.
14:44:48 T:864  NOTICE: Additional mode: 1440x900 @ 60.00 - Full Screen
14:44:48 T:864  NOTICE: Previous line repeats 2 times.
14:44:48 T:864  NOTICE: Additional mode: 1600x900 @ 60.00 - Full Screen
14:44:48 T:864  NOTICE: Checking resolution 16
14:44:49 T:864  NOTICE: Running database version Addons15
14:44:49 T:864   ERROR: SQL: SQL error or missing database
                                            Query: SELECT idVersion FROM version
14:44:49 T:864   ERROR: exception in CApplication::Initialize()
Reply
..removed message
Reply
Seems to be good now, maybe the change in display , changed my settings somehow, regards everything works and its now backing up everything at the right time. I did have problems with it backing up a custom folder but that seems to have cleared up as well. Thanks for that. I downloaded and installed the whole full clone instead of the settings.xml
Reply
(2013-09-17, 20:46)premt84 Wrote: I did a fresh install of Frodo and this is the log after restoring the backup.

I took a look at these. There is an error trying to copy two of your database files (maybe it's open?) during the restore process. I believe it was the textures and addons db files. It seems then that these same files are then corrupted and cannot be opened when xbmc reboots, causing the program to exit. Interestingly you also have several DB errors listed in the first log file that I can't account for. Perhaps there is something wrong with your original database files. I'm fairly sure this is where your problem lies. It isn't completely necessary to restore these two DB files so try deleting them from your backup folder and you shouldn't have any other issues. I haven't heard of anyone complaining about this type of problem before so it must be something unique to your system, or your combination of addons/scripts running on your system at the time of the restore.

(2013-09-18, 14:38)zer04c Wrote: Seems to be good now, maybe the change in display , changed my settings somehow, regards everything works and its now backing up everything at the right time. I did have problems with it backing up a custom folder but that seems to have cleared up as well. Thanks for that. I downloaded and installed the whole full clone instead of the settings.xml

Thanks for testing this. I'll do another repo pull to correct the error for everyone.
Reply
  • 1
  • 25
  • 26
  • 27(current)
  • 28
  • 29
  • 131

Logout Mark Read Team Forum Stats Members Help
[Release] Backup (formerly XBMC Backup)10