Kodi Community Forum

Full Version: [Dharma beta 2 - linux] addon issues
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi.

Two issues i encountered in beta 1 and beta 2 with the addon system:

1) Addons being flagged as "broken" in the repository can not be changed in any way by the user. I can only select "changelog" anything else is greyed out.

2) Whenever something goes wrong with downloading the description zip file of an addon, the user is unable to do upgrade or reinstall the addon.

Here it was the skin "alaska mod uni", update didn't work, uninstall did work, but install afterwards did not. Turned out the zip was broken. Debug-log:

Code:
DEBUG: FileManager, processing folder: zip://special%3a%2f%2fhome%2faddons%2fpackages%2fskin%2ealaska%2erevisited%2emod%2d1%2e3%2e0%2ezip/
09:46:40 T:140327497910032 M:1064554496   DEBUG: GetZipList - Processing zip://special%3a%2f%2fhome%2faddons%2fpackages%2fskin%2ealaska%2erevisited%2emod%2d1%2e3%2e0%2ezip/
09:46:40 T:140327497910032 M:1064554496   DEBUG: ZipManager: broken file special://home/addons/packages/skin.alaska.revisited.mod-1.3.0.zip!
09:46:40 T:140327497910032 M:1064554496   ERROR: GetDirectory - Error getting zip://special%3a%2f%2fhome%2faddons%2fpackages%2fskin%2ealaska%2erevisited%2emod%2d1%2e3%2e0%2ezip/
09:46:40 T:140327497910032 M:1064554496   DEBUG: FileManager: create folder special://home/addons/
09:46:40 T:140327497910032 M:1064554496   DEBUG: GetZipList - Processing zip://special%3a%2f%2fhome%2faddons%2fpackages%2fskin%2ealaska%2erevisited%2emod%2d1%2e3%2e0%2ezip/
09:46:40 T:140327497910032 M:1064554496   DEBUG: ZipManager: broken file special://home/addons/packages/skin.alaska.revisited.mod-1.3.0.zip!
09:46:40 T:140327497910032 M:1064554496   ERROR: GetDirectory - Error getting zip://special%3a%2f%2fhome%2faddons%2fpackages%2fskin%2ealaska%2erevisited%2emod%2d1%2e3%2e0%2ezip/

After removing the zip file, install was possible again. From withing the gui, the user has no chance in tackling such problems which may not always be user errors.

3) I have added several third party addon repos. When xbmc starts, it informs me that there is an update for one of my repositories (?)
When going into the available update section, i see the mentioned repo.
I can now "indefinitly" parse deeper into that tree:

- click on the repo name
- click available updates for repos
- click on the repo name
- click on available update for repos
- [ad infinitum]

You can see this is handled by the stack, so the 5 steps down must be taken back all the way to leave the dialog with "back" I didn't try to go 255 iteration deeps to see if the process crashes ... Nod

Problem: I can not manually select "update repo". I keep just getting informed. As a user in manual mode there is no way to update the repos themself (./?)
However, when i selected "auto update", that specific repo gets it's update and disappears from the list.


Thank you for this great piece of software. I am one of it's most passionate fans.

best regards
1. not sure what you want to be able to do with a broken addon - it's broken... Smile
2. we have support now for md5'ing the downloads thanks to the mirrorbrain update so this should be a thing of the past for any repository that supports it (the official repo will, ofcourse).
3. has already been fixed in SVN.

Cheers,
Jonathan
Thanks for the update jonathan.

Regarding point 1, i'd assume the user should be able to at least uninstall the addon then.

best regards