2012-10-23, 15:15
(2012-10-20, 18:21)john.doe Wrote: I've been using 0.1.6 on my Raspberry Pi with OpenELEC (XBMC v12) and it's been working great.
However, I've now installed the latest (Frodo) version 0.2.1 because I wanted to use the rotating backups feature but I get an error with the script every time I try to run it.
I'm pretty sure it's configured properly as well...
The full log is here: http://sprunge.us/AECK but the relevant bit is towards the bottom:
Code:16:52:03 T:1340081248 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 resources.lib.backup
Traceback (most recent call last):
File "/storage/.xbmc/addons/script.xbmcbackup-frodo/default.py", line 1, in <module>
from resources.lib.backup import XbmcBackup
ImportError: No module named resources.lib.backup
-->End of Python script error report<--
16:52:03 T:1340081248 INFO: Python script stopped
I managed to find the issue here. Completely my fault too. At some point the __init__.py files that are needed to make the directories python packages were removed from the Frodo branch of the addon. Since switching branches in git does not remove the .pyo files I still had them in my development directory even though they didn't actually exist in the repo. I've added them back in, along with a few other bug fixes. Here is a link to the most current Frodo build.
https://github.com/downloads/robweber/xb...-frodo.zip