2012-03-01, 03:34
stevenD Wrote:I can't get it working either. I get this error in the log:
Code:20:12:13 T:94728192 ERROR: Error Contents: global name 'timer_amounts' is not defined
20:12:13 T:94728192 ERROR: Traceback (most recent call last):
File "/var/mobile/Library/Preferences/XBMC/addons/service.libraryautoupdate/default.py", line 6, in <module>
AutoUpdater().runProgram()
File "/var/mobile/Library/Preferences/XBMC/addons/service.libraryautoupdate/service.py", line 31, in runProgram
if(time.time() >= self.last_run + (timer_amounts[self.Addon.getSetting('timer_amount')] * 60 * 60)):
NameError: global name 'timer_amounts' is not defined
Found it! If you disable the startup delay this will go away. I'm sending out the fix tonight. I never use the startup delay myself so this one slipped through the cracks. I tested it out when it was first implemented and hadn't thought it changed, sorry about that.
Just an FYI, the addon repo is still showing 0.5.1 as the most current version, this is the one with the import os error, I received a confirmation of the pull but haven't had my HTPC update from the main repo to that version yet. a quick fix is to add "import os" to the top of service.py with the rest of the imports.
Just wanted to update this piece - 5.4 is the eden repo now, and so were 5.2 and 5.3. I was still on Eden Beta 3 due to the early issues with RC1 so I may have still been "pointed" at the eden-pre repo where 5.1 is the final update there.
Just as a shout out to everyone, I'm very sorry for the bugs in the last release. Normally the updater is rock solid and I'm pretty disappointed with the pieces that didn't work out. I'm developing a better test mechanism to make sure all the i's are dotted and t's crossed in the future.