Repo never sends updated add-ons, force refresh works but not auto update
#1
I *think* my repository is set up all correctly but I have become aware it never sends out updates (well, clients never get updates) - the only way for people to get new versions is to force-refresh teh repo, which works. It's hosted on Googlecode and I have seen other reports of the same issue (e.g. http://forum.xbmc.org/showthread.php?tid=132139)

I use the addons_xml_generator.py from nuka1195: http://code.google.com/p/xbmc-addons/sou....py?r=2275

(my version being here, it's identical: http://code.google.com/p/bossanova808-xb...nerator.py)

My repository is at:

http://code.google.com/p/bossanova808-xb...ce/browse/

I use zips for the actual downloads, held here: http://code.google.com/p/bossanova808-xb...-downloads

As I say, a force refresh works - but none of my clients will receive auto-updates even when left on for days. I am aware it takes 6+ hours between checks, but it should happen eventually right?

My actual repo def is here: http://code.google.com/p/bossanova808-xb.../addon.xml

....I am getting OK with Python but I don't know enough about the mechanism here - I though if the md5 changes (which it does thanks nuka's generator) - it would trigger updates....but it doesn't. The only error I see in the debug logs is an EOF message from curl but that seems to be there when I force refresh as well, so I think that's more informative than an error (there's an example of these errors here http://forum.xbmc.org/showthread.php?tid...pid1113008 - same for me).

I would love some help with this as I am sure there are a bunch of people stuck on older version of my addon because of this, and it would make my addon development time MUCH more satisfying if I new for sure people were getting the updates!


Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a *full debug log*.
Reply
#2
Anyone?
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a *full debug log*.
Reply
#3
Your best bet is to start by looking in your addons database to check that the update time + md5 are stored correctly.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#4
So in Addons15.db?

The repo & addon that doesn't update:

"3527","xbmc.addon.repository","bossanova808's XBMC Addons","Repo for Bossanova808's XBMC Addons","Download and install addons by bossanova808, including XSqueeze.","0","http://bossanova808-xbmc-addons.googlecode.com/git/repository-downloads/repository.bossanova808/repository.bossanova808-0.1.1.zip","repository.bossanova808","http://bossanova808-xbmc-addons.googlecode.com/git/repository-downloads/repository.bossanova808/icon.png","0.1.1","http://bossanova808-xbmc-addons.googlecode.com/git/repository-downloads/repository.bossanova808/changelog-0.1.1.txt","http://bossanova808-xbmc-addons.googlecode.com/git/repository-downloads/repository.bossanova808/fanart.jpg","bossanova808 [[email protected]]","","0.0.0"

"3528","xbmc.python.module","XSqueeze Common Code","Installed automatically with XSqueeze - common code for XSqueeze and XSqueeze Chooser","","0","http://bossanova808-xbmc-addons.googlecode.com/git/repository-downloads/script.module.xsqueezecommon/script.module.xsqueezecommon-0.0.2.zip","script.module.xsqueezecommon","http://bossanova808-xbmc-addons.googlecode.com/git/repository-downloads/script.module.xsqueezecommon/icon.png","0.0.2","http://bossanova808-xbmc-addons.googlecode.com/git/repository-downloads/script.module.xsqueezecommon/changelog-0.0.2.txt","http://bossanova808-xbmc-addons.googlecode.com/git/repository-downloads/script.module.xsqueezecommon/fanart.jpg","bossanova808","","0.0.0"

"3529","xbmc.python.script","XSqueeze","Squeezebox player/controller for XBMC.","Turn your XBMC into a Squeeze player or control an external Squeezebox.","0","http://bossanova808-xbmc-addons.googlecode.com/git/repository-downloads/script.xsqueeze/script.xsqueeze-0.6.3.zip","script.xsqueeze","http://bossanova808-xbmc-addons.googlecode.com/git/repository-downloads/script.xsqueeze/icon.png","0.6.3","http://bossanova808-xbmc-addons.googlecode.com/git/repository-downloads/script.xsqueeze/changelog-0.6.3.txt","http://bossanova808-xbmc-addons.googlecode.com/git/repository-downloads/script.xsqueeze/fanart.jpg","bossanova808","","0.0.0"

hmmm ok the repo seems to be lacking the md5

xbmc.org:
"23","repository.xbmc.org","495c15b185fc1a86a83f8fae31e6da77","2012-07-16 15:16:20"
mine:
"24","repository.bossanova808","","2012-07-16 15:16:20"

...so what is responsible for storing the md5 with the repo? I am guessing that is the issue....

My repo def points to:

<info compressed="true">http://bossanova808-xbmc-addons.googlecode.com/git/staging/addons.xml</info>
<checksum>http://bossanova808-xbmc-addons.googlecode.com/git/staging/addons.xml.md5</checksum>
<datadir zip="true">http://bossanova808-xbmc-addons.googlecode.com/git/repository-downloads</datadir>

..and the checksum links to the md5 and loads in my browser....


Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a *full debug log*.
Reply
#5
It definitely hits the md5 file during a force refresh anyway:
12:36:38 T:5896 DEBUG: CurlFile::Open(0D8589E0) http://bossanova808-xbmc-addons.googleco...ns.xml.md5

....but why isn't it storing itHuh


Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a *full debug log*.
Reply
#6
Try removing the " addons.xml" from your md5.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#7
Just added that to try make it work Smile doesn't add the md5 to the db either way unfortunately
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a *full debug log*.
Reply
#8
It shouldn't matter anyway actually - in fact, the contents are basically meaningless - they only have to change from update to update.

The only thing I can think of is that it doesn't successfully download the checksum.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#9
Well the URL is above and clicking on it gives a file with just the checksum in it ... so you're thinking bug? In which case, are ANY third party repos getting updates? Surely they must be....


Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a *full debug log*.
Reply
#10
I suggest you try moving addons.xml, addons.xml.md5 and addon.xml (repo's) to where your ZIPs are

http://code.google.com/p/bossanova808-xb...-downloads
My skins:

Amber
Quartz

Reply
#11
Ok I've tried this - is this what you mean:

http://code.google.com/p/bossanova808-xb...-downloads

...I then un-installed and re-installed my repo and did a force update - the repo works with these changes, but the md5 is still not being kep in Addons15.db - grrr!

Any other ideas??
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a *full debug log*.
Reply
#12
Yup. Uninstall repo, DELETE it from packages folder (otherwise old version will be pulled from cache regardless of uninstall), BUMP repo addon version to "force" refresh and add it again from zip.

Better?
My skins:

Amber
Quartz

Reply
#13
Btw can't see your addon.xml (repository's one) there?

See http://skins.smartplus.cz/pedja-xbmc/
My skins:

Amber
Quartz

Reply
#14
Ok I have just done that including adding the repo's addon.xml to that root dir ... but still no md5 in Addons15.db

When I install the new repo from the .zip, if I have version bumped my actual addon, it gets pulled at that time, but if I then version bump it again, it doesn't seem to get pulled, I presume because it doesn't have an md5 to check if there is updates??

Why the bejesus won't it read & store the md5??
(and sincere thanks for your help - this is driving me bonkers!)
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a *full debug log*.
Reply
#15
Ok just tried it here on another machine at work, same result - no md5 is going into the database.

I really am beginning to suspect some sort of xbmc + googlecode bug (long ago I used github and then it worked, but github won't let me hold files over 10mb and I need to...)

Anyone have any other ideas? Or a working googlecode + zipped addons setup?? One that actually stores the md5 in the xbmc addons db and thus triggers updates??
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a *full debug log*.
Reply

Logout Mark Read Team Forum Stats Members Help
Repo never sends updated add-ons, force refresh works but not auto update0