Temhil / passion-xbmc

Automatically exported from code.google.com/p/passion-xbmc
0 stars 2 forks source link

plugin.program.repo.installer v1.0.4 not working #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try downloading the Nukas Add-ons and membrane's repository with the addon

What is the expected output? What do you see instead?
The repositories should install but they don't

What version of the product are you using? On what operating system?
plugin.program.repo.installer v1.0.4, using XBMC Eden and nightly build

Please provide any additional information below.

I've notice that some repositories aren't getting installed when using this 
addon. For example, I tried installing Nukas Add-ons and membrane's repository 
but both didn't show up after reboot. When going to addons install path, I 
noticed both Nukas Add-ons and membrane repository folder structure was wrong.

"...addons\repository.googlecode.xbmc-addons\repository.googlecode.xbmc-addons/a
ddon.xml"
"...addons\repository.membrane.xbmc-plugins\repository.membrane.xbmc-plugins/add
on.xml"

As you can see from the path above, the Repositories Installer Add-on extracted 
those two repositories into an extra folder that XBMC can't read. When 
installing the repositories manually by zip, they both work fine.

Try installing those two repositories to recreate the problem.

I was able to fix this problem. There was an issue with 
"plugin.program.repo.installer\resources\lib\extractor.py". The unzip function 
was sometimes creating an extra sub folder. I was able to fix it by 
removing/comment out lines 159, 161, 162, 163 in extractor.py. Attached edited 
extractor.py

After the changes, If you try downloading the Nukas Add-ons and membrane 
repository or any other repository, they will install correctly.

Original issue reported on code.google.com by stacked....@gmail.com on 12 Aug 2012 at 7:03

GoogleCodeExporter commented 9 years ago
added
 - http://code.google.com/p/passion-xbmc/source/detail?r=1154
 - http://passion-xbmc.org/addons/?Page=View&ID=plugin.program.repo.installer

thanks
frost

Original comment by FrostBox360 on 13 Aug 2012 at 11:00