Hi all,
I have written a script, which works of course, but when I try to package it for distribution as a zip file, it simply will not install. There is no output to the log, even at debug level.
Is there a published spec for what is required in the zip file, I can't seem to find one.
Making an installable zipped script
CSB!
Junior Member Posts: 34 Joined: Jun 2011 Reputation: 0 |
2011-06-17 23:39
Post: #1
|
| find quote |
giftie
Skilled Python Coder Posts: 2,072 Joined: Mar 2010 Reputation: 36 |
2011-06-18 01:04
Post: #2
The zip needs to contain the complete folder of the script.
So: script.test <- foldername ---->addon.xml ---->addon.py <- or what ever you have in addon.xml for library= ---->changelog <- not necessary but nice to have ---->icon.png ---->LICENCE.txt <- also not necessary but needed for the offical repo ---->resourses <- sub folder containing more of your script if needed. Also, you need to make sure that XBMC has permission to over write the files in the addons folder(sometimes permissions get changed when you manually copy) ![]() For troubleshooting and bug reporting please make sure you read this first you can also use XBMC Log Uploader Script. Cinema Experience Cinema Experience Wiki cdART Manager fanart.tv |
| find quote |
CSB!
Junior Member Posts: 34 Joined: Jun 2011 Reputation: 0 |
2011-06-18 17:55
Post: #3
giftie Wrote:The zip needs to contain the complete folder of the script. Is it OK to have more stuff in the top level folder, or do they need to be put into resources? |
| find quote |
CSB!
Junior Member Posts: 34 Joined: Jun 2011 Reputation: 0 |
2011-06-19 00:41
Post: #4
Spent a lot of time poking it, to no avail. Getting log output now, at least... something could be wrong with my addon.xml, but it looks valid to me...
Code: 15:32:52 T:3045308272 M:3489304576 DEBUG: ------ Window Deinit (FileBrowser.xml) ------Code: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
| find quote |
vikjon0
--- Posts: 2,430 Joined: Apr 2009 Reputation: 7 Location: Sweden |
2011-06-19 12:40
Post: #5
The lack of logging is an issue... I had some problem and it turned to be the addon.xml
make a new copy of a working addon.xml and only change the bare minimum making sure not introducing any windows line breaks or anything else. To be safe edit it in linux (if feasable) |
| find quote |
CSB!
Junior Member Posts: 34 Joined: Jun 2011 Reputation: 0 |
2011-06-20 03:28
Post: #6
vikjon0 Wrote:The lack of logging is an issue... I had some problem and it turned to be the addon.xml I copied the addon.xml from XBMC Subtitles, changing only the "addon id" part, and I get no log output whatsoever now. Awesome. |
| find quote |

![[Image: e4f63e45ba34fe4695b3bb08eb2499d8e4ee484e...4c076g.jpg]](http://www.mediafire.com/conv/e4f63e45ba34fe4695b3bb08eb2499d8e4ee484e4d2fe70f903275f93e5e4c076g.jpg)
Search
Help