Kodi Community Forum

Full Version: skin helper service
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2020-10-04, 15:02)AnonTester Wrote: [ -> ]Try the version of the PR I opened back in February with various fixes and Kodi19 compatibility. It should be compatible with both Kodi 18 and 19, but I don't use Kodi 18.

Source v1.0.25:
https://github.com/AnonTester/script.ski...skinbackup

Also in my repo:
https://github.com/AnonTester/kodi-repo/...anontester

@Angelinas if you've got some time to look at the various kodi-community addons, plese don't just close all PRs and invalidate the work put in by others, but look at them and merge where appropriate. I spent quite some time on several to get them working again, all PR'd.

Thanks - I'll try this.
@AnonTester
I actually came across your repo last week, whilst looking for something else.
Am I right to think that the Skin Helper Script is compatible with Matrix? Would be a big bonus if that was the case.
When I tried to install, I kept getting an error that a dependency could not be satisfied.
From memory, I think it may have been the beautiful soup module.
(2020-10-04, 15:02)AnonTester Wrote: [ -> ]Try the version of the PR I opened back in February with various fixes and Kodi19 compatibility. It should be compatible with both Kodi 18 and 19, but I don't use Kodi 18.

Source v1.0.25:
https://github.com/AnonTester/script.ski...skinbackup

Also in my repo:
https://github.com/AnonTester/kodi-repo/...anontester

@Angelinas if you've got some time to look at the various kodi-community addons, plese don't just close all PRs and invalidate the work put in by others, but look at them and merge where appropriate. I spent quite some time on several to get them working again, all PR'd.

Thanks. Tried your version, but unfortunately still the same error
(2020-10-04, 15:56)perspicacia Wrote: [ -> ]
(2020-10-04, 15:02)AnonTester Wrote: [ -> ]Try the version of the PR I opened back in February with various fixes and Kodi19 compatibility. It should be compatible with both Kodi 18 and 19, but I don't use Kodi 18.

Source v1.0.25:
https://github.com/AnonTester/script.ski...skinbackup

Also in my repo:
https://github.com/AnonTester/kodi-repo/...anontester

@Angelinas if you've got some time to look at the various kodi-community addons, plese don't just close all PRs and invalidate the work put in by others, but look at them and merge where appropriate. I spent quite some time on several to get them working again, all PR'd.

Thanks. Tried your version, but unfortunately still the same error
Sadly, the same...just get error on Androud with whatever version I use.
@Dumyat yes it is. I've adjusted it (and other addons) as I'm on Matrix myself and wanted to keep the skin and setup I was using Smile send log files with the exact errors.

@perspicacia and @spinecho , please paste new logs to see what's going on. The previous log was with some other version and failed in file "/home/jenkins/workspace/Android-ARM-Leia/tools/depends/xbmc-depends/arm-linux-androideabi-21-release/lib/python2.7/zipfile.py". This could possibly be an issue with the python zip module. Would be good to see what my current version produces in the logs.
Hi to all

Need some help.
Cannot backup/restore on my box android but in my computer works ok.

Here's the full log: https://paste.kodi.tv/ecasavefez
(2020-10-05, 01:37)AnonTester Wrote: [ -> ]@Dumyat yes it is. I've adjusted it (and other addons) as I'm on Matrix myself and wanted to keep the skin and setup I was using Smile send log files with the exact errors.
That would be great if I could get things working again on Matrix. Smile I use the SHS mainly for my PVR artwork since Kodi 17.

I've just tried installing the SHS again from Wuffs Kodi Addons repo and the script.metadatautils from the Kodi-repo-master folder (both downloaded from your Git page). Unfortunately, both fail to install with the following error:- The dependency on script.module.beautifulsoup version 3.0.8 could not be satisfied.  Sad
I'm pretty sure that's the same error I was getting previously. 

Full Debug Log is here, but it's quite a big file:- https://pastebin.com/zxWP8RcH

Any guidance would be highly appreciated.
Cheers
@Dumyat I set the BS3 requirement to optional in the metadatautils now which should solve the install issue. Please try again.

@Zpower Thank you for the confirmation that skin.helper.skinbackup it works on PCs. You get the same android python zipfile error as the others and this is with the encoding attempt from my version of the script. The error message itself is not particularly verbose though. Quick google led me to a bug report of xbmcbackup which appears to have had a similar issue and there's a custom and patched zipfile.py specifically for Android https://github.com/robweber/xbmcbackup/issues/158
I've added the patched zipfile.py and added a condition for Android and hope that won't break anything else. Please test.
(2020-10-05, 19:25)AnonTester Wrote: [ -> ]@Dumyat I set the BS3 requirement to optional in the metadatautils now which should solve the install issue. Please try again.
The good news is the previous error seems to have been resolved. Smile The bad news is I'm now getting a very similar error for the Musicbrainz module:- The dependency on script.module.musicbrainz version 0.0.1 could not be satisfied.
Cheers
@Dumyat getting there Smile I set the musicbrainz dependency to optional as well now. I'll take a look at the actual module later and see if it works as is or if it needs adjustments for Kodi19.

Update: I've forked the musicbrainz module, bumped the underlying library to the latest 0.7.1 and removed the python requirement so it'll work for both Kodi 18 and 19.
@AnonTester
No problem. Feeling very chuffed that the addon isn't completely dead for Matrix, so take your time.
I did try again. Musicbrainz error has also gone now, but has been replaced with an error for the cherypy module. From the list of dependencies, looks like this could be the last problem. 
Do I need to install your version of the metadatautils module separately or will that get installed when the SHS is able to be installed?
Just tried installing the metadatautils module, but came back with the original dependency error message I was getting about beautifulsoup version 3.0.8.
I guess both of these mean something to you?
Many thanks

EDIT: Okay, so I managed to install version 1.0.34 of the metadatautils module, but has a little paint brush next to it when I looked at 'Manage Dependencies' under 'System' in Kodi's settings. So not sure if that means its installed or not.
@Dumyat The little paint brush means that this module is not being used by anything and could be removed. It's installed fine though.
As for cherrypy, it's compatible with Kodi19 but needs a small adjustment to remove the python requirement. I've forked it, bumped the version number and removed that requirement now.

Metadatautils is a requirement for skin helper service, so it would have been installed automatically (but broke due to the previous dependency issues).

I got annoyed with the Kodi19 py2/3 complaints where various addons were fully py2&3 compatible, so I just adjusted the requirements on my system for all addons I had to py3 to see what might break... I also had all the addons already rather than installing from scratch, that's why I never saw the dependency issues myself.
(2020-10-05, 19:25)AnonTester Wrote: [ -> ]@Dumyat I set the BS3 requirement to optional in the metadatautils now which should solve the install issue. Please try again.

@Zpower Thank you for the confirmation that skin.helper.skinbackup it works on PCs. You get the same android python zipfile error as the others and this is with the encoding attempt from my version of the script. The error message itself is not particularly verbose though. Quick google led me to a bug report of xbmcbackup which appears to have had a similar issue and there's a custom and patched zipfile.py specifically for Android https://github.com/robweber/xbmcbackup/issues/158
I've added the patched zipfile.py and added a condition for Android and hope that won't break anything else. Please test.
Apparently it works!
Thanks for the fix Smile

The only trouble its i cant connect to repo via box android but in pc its ok.
I download manual skin helper service
(2020-10-05, 19:25)AnonTester Wrote: [ -> ]@Zpower Thank you for the confirmation that skin.helper.skinbackup it works on PCs. You get the same android python zipfile error as the others and this is with the encoding attempt from my version of the script. The error message itself is not particularly verbose though. Quick google led me to a bug report of xbmcbackup which appears to have had a similar issue and there's a custom and patched zipfile.py specifically for Android https://github.com/robweber/xbmcbackup/issues/158
I've added the patched zipfile.py and added a condition for Android and hope that won't break anything else. Please test.
It works!! Thank you
I noticed some errors relating to cherrypy when restarting my Kodi19 today. Not sure if this is related to the latest nightly. However, I've upgraded cherrypy to the last version compatible with both python 2 and 3, added all new dependencies and adjusted skin.helper.service to use the updated cherrypy version and removed a deprecated cherrypy setting.
If all went well, then it should still remain compatible with both Kodi18 and 19.

Both updated cherrypy and the updated skin.helper.service are in my repository https://github.com/AnonTester/kodi-repo/...-1.0.0.zip and/or can be downloaded directly from my github https://github.com/AnonTester/kodi-repo/