Kodi Community Forum
Release skin helper service - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+---- Forum: Skin helper addons (https://forum.kodi.tv/forumdisplay.php?fid=300)
---- Thread: Release skin helper service (/showthread.php?tid=235676)



RE: skin helper service - Angelinas - 2020-10-28

@AnonTester 
Please check github I just merge your changes https://github.com/kodi-community-addons/
I hope this changes will continue kodi-user to use this addon from original github site.
Keep Up The Good Work    Smile


RE: skin helper service - AnonTester - 2020-10-28

@Angelinas thank you! I just PR'd updated cherrypy as well. Also, could you post your log or file/line with the parse error you mentioned for me to look into?


RE: skin helper service - Angelinas - 2020-10-28

https://github.com/kodi-community-addons/script.skin.helper.service/pull/132/files/a6d3c7743ade3bc6ceb3fcf20c5e384864443907#diff-293dd1a55467c00e18379a95f82d5b61ee6b959945d737a1aa4522a373ebc5e9R115

 115 in resources/lib/utils.py......


RE: skin helper service - AnonTester - 2020-10-29

thanks. should be fixed in v1.1.31 (which includes your commits)


RE: skin helper service - C.O.D. - 2020-11-02

@AnonTester
Hey, thanks for all your additions.
Just two questions:
Is it safe to use your version of skin helper service with Leia / Android?
The 'setskinsetting' function doesn't work with your latest version e.g. in Artic Zephir 2, at least with Leia, whereas former versions did. I use this function very often to quickly change skin colors - are you able to make this work again?


RE: skin helper service - Angelinas - 2020-11-03

(2020-11-02, 12:07)C.O.D. Wrote: @AnonTester
Hey, thanks for all your additions.
Just two questions:
Is it safe to use your version of skin helper service with Leia / Android?
The 'setskinsetting' function doesn't work with your latest version e.g. in Artic Zephir 2, at least with Leia, whereas former versions did. I use this function very often to quickly change skin colors - are you able to make this work again?

https://github.com/kodi-community-addons/script.skin.helper.service/commit/0a4cd7514366b97ac542a87f29a6a408ad19c46e

try this....should work now for this code.
https://github.com/jurialmunkey/skin.arctic.zephyr.2/blob/master/1080i/Home.xml#L6


RE: skin helper service - C.O.D. - 2020-11-03

(2020-11-03, 00:42)Angelinas Wrote:  

https://github.com/kodi-community-addons/script.skin.helper.service/commit/0a4cd7514366b97ac542a87f29a6a408ad19c46e

try this....should work now for this code.
https://github.com/jurialmunkey/skin.arctic.zephyr.2/blob/master/1080i/Home.xml#L6
Thanks a lot, works perfectly...


RE: skin helper service - emiralles - 2020-11-03

Hello,

I have problems with skin.helper.service addon, my system is debian buster in Raspberry py 3B, 

020-11-03 20:36:16.440 T:1315959008   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ImportError'>
                                            Error Contents: No module named functools_lru_cache
                                            Traceback (most recent call last):
                                              File "/home/pi/.kodi/addons/script.skin.helper.service/service.py", line 10, in <module>
                                                from resources.lib.main_service import MainService
                                              File "/home/pi/.kodi/addons/script.skin.helper.service/resources/lib/main_service.py", line 15, in <module>
                                                from metadatautils import MetadataUtils
                                              File "/home/pi/.kodi/addons/script.module.metadatautils/lib/metadatautils.py", line 10, in <module>
                                                import helpers.kodi_constants as kodi_constants
                                              File "/home/pi/.kodi/addons/script.module.metadatautils/lib/helpers/kodi_constants.py", line 13, in <module>
                                                from utils import KODI_VERSION
                                              File "/home/pi/.kodi/addons/script.module.metadatautils/lib/helpers/utils.py", line 13, in <module>
                                                import arrow
                                              File "/home/pi/.kodi/addons/script.module.arrow/lib/arrow/__init__.py", line 3, in <module>
                                                from .api import get, now, utcnow
                                              File "/home/pi/.kodi/addons/script.module.arrow/lib/arrow/api.py", line 10, in <module>
                                                from arrow.factory import ArrowFactory
                                              File "/home/pi/.kodi/addons/script.module.arrow/lib/arrow/factory.py", line 18, in <module>
                                                from arrow import parser
                                              File "/home/pi/.kodi/addons/script.module.arrow/lib/arrow/parser.py", line 15, in <module>
                                                from backports.functools_lru_cache import lru_cache  # pragma: no cover
                                            ImportError: No module named functools_lru_cache
                                            -->End of Python script error report<--


Please, Can help me anybody.  Thanks


RE: skin helper service - Wanilton - 2020-11-03

@emiralles, check if you have the module

http://mirrors.xbmc.org/addons/leia/script.module.backports.functools_lru_cache/script.module.backports.functools_lru_cache-1.6.1.zip


RE: skin helper service - Angelinas - 2020-11-03

(2020-11-03, 21:39)emiralles Wrote:                                             ImportError: No module named functools_lru_cache
You missing or disabled script.module.backports.functools_lru_cache.
Try to download from mirrors.kodi.tv/, this module missing in Kodi Matrix folder need to use leia folder (version 1.6.1.)
https://mirrors.kodi.tv/addons/leia/script.module.backports.functools_lru_cache/script.module.backports.functools_lru_cache-1.6.1.zip


RE: skin helper service - emiralles - 2020-11-04

This module is active in my system

2020-11-03 23:16:57.375 T:1900475312  NOTICE: ADDON: script.cu.lrclyrics v5.8.3 installed
2020-11-03 23:16:57.375 T:1900475312  NOTICE: ADDON: script.image.resource.select v2.0.4 installed
2020-11-03 23:16:57.375 T:1900475312  NOTICE: ADDON: script.module.arrow v0.15.5 installed
2020-11-03 23:16:57.375 T:1900475312  NOTICE: ADDON: script.module.backports.functools_lru_cache v1.6.1 installed
2020-11-03 23:16:57.375 T:1900475312  NOTICE: ADDON: script.module.beautifulsoup v3.2.1 installed
2020-11-03 23:16:57.375 T:1900475312  NOTICE: ADDON: script.module.beautifulsoup4 v4.6.2 installed
2020-11-03 23:16:57.375 T:1900475312  NOTICE: ADDON: script.module.certifi v2019.9.11 installed
2020-11-03 23:16:57.375 T:1900475312  NOTICE: ADDON: script.module.chardet v3.0.4 installed
2020-11-03 23:16:57.375 T:1900475312  NOTICE: ADDON: script.module.cherrypy v17.4.2-3 installed
2020-11-03 23:16:57.375 T:1900475312  NOTICE: ADDON: script.module.dateutil v2.8.1 installed
2020-11-03 23:16:57.375 T:1900475312  NOTICE: ADDON: script.module.defusedxml v0.6.0 installed
2020-11-03 23:16:57.376 T:1900475312  NOTICE: ADDON: script.module.future v0.17.1 installed
2020-11-03 23:16:57.376 T:1900475312  NOTICE: ADDON: script.module.idna v2.8 installed
2020-11-03 23:16:57.376 T:1900475312  NOTICE: ADDON: script.module.kodi-six v0.1.3 installed
2020-11-03 23:16:57.376 T:1900475312  NOTICE: ADDON: script.module.metadatautils v1.0.35 installed
2020-11-03 23:16:57.376 T:1900475312  NOTICE: ADDON: script.module.musicbrainz v0.7.1 installed
2020-11-03 23:16:57.376 T:1900475312  NOTICE: ADDON: script.module.pil v1.1.7 installed
2020-11-03 23:16:57.376 T:1900475312  NOTICE: ADDON: script.module.pycryptodome v3.4.3 installed

I don't know what's happend.

Thanks


RE: skin helper service - emiralles - 2020-11-04

Hello, thanks for everybody

the solution
apt install python-backports.functools-lru-cache 

Thanks for all


RE: skin helper service - emiralles - 2020-11-04

Hello again,

I resolve my problem in my Raspberry 3 but I have other problem in my Rpi4

2020-11-04 10:42:10.109 T:2668126416   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.RuntimeError'>
                                            Error Contents: implement_array_function method already has a docstring
                                            Traceback (most recent call last):
                                              File "/home/pi/.kodi/addons/script.embuary.helper/plugin.py", line 16, in <module>
                                                from resources.lib.plugin_content import *
                                              File "/home/pi/.kodi/addons/script.embuary.helper/resources/lib/plugin_content.py", line 11, in <module>
                                                from resources.lib.image import *
                                              File "/home/pi/.kodi/addons/script.embuary.helper/resources/lib/image.py", line 12, in <module>
                                                from PIL import ImageFilter,Image,ImageOps
                                              File "/usr/lib/python2.7/dist-packages/PIL/ImageFilter.py", line 23, in <module>
                                                import numpy
                                              File "/usr/lib/python2.7/dist-packages/numpy/__init__.py", line 142, in <module>
                                                from . import core
                                              File "/usr/lib/python2.7/dist-packages/numpy/core/__init__.py", line 40, in <module>
                                                from . import multiarray
                                              File "/usr/lib/python2.7/dist-packages/numpy/core/multiarray.py", line 12, in <module>
                                                from . import overrides
                                              File "/usr/lib/python2.7/dist-packages/numpy/core/overrides.py", line 46, in <module>
                                                """)
                                            RuntimeError: implement_array_function method already has a docstring
                                            -->End of Python script error report<--

Please, Can help me anybody.  Thanks


RE: skin helper service - emiralles - 2020-11-10

Hi,

I have another problem but seems not than important one;

2020-11-08 12:34:12.120 T:2729713872 WARNING: Skin Helper Service --> Traceback (most recent call last):
                                              File "/home/pi/.kodi/addons/script.skin.helper.service/resources/lib/listitem_monitor.py", line 362, in set_listitem_details
                                                details["imdbnumber"], tvdbid))
                                              File "/home/pi/.kodi/addons/script.module.simplecache/lib/simplecache.py", line 307, in decorated
                                                result = func(*args, **kwargs)
                                              File "/home/pi/.kodi/addons/script.module.metadatautils/lib/metadatautils.py", line 242, in get_tvdb_details
                                                self.thetvdb.days_ahead = 365
                                              File "/home/pi/.kodi/addons/script.module.metadatautils/lib/metadatautils.py", line 401, in thetvdb
                                                from thetvdb import TheTvDb
                                              File "/home/pi/.kodi/addons/script.module.thetvdb/lib/thetvdb.py", line 23, in <module>
                                                import urllib.request, urllib.parse, urllib.error
                                            ImportError: No module named request
2020-11-08 12:34:12.123 T:2729713872   ERROR: Skin Helper Service --> Exception in resources.lib.listitem_monitor ! --> No module named request

Anybody knows the reason about it

Thanks in advance.


RE: skin helper service - Angelinas - 2020-11-10

Try fix for script.module.thetvdb (Python<3)
https://github.com/kodi-community-addons/script.module.thetvdb/commit/3842e22eab82bca0b6dc090a1a1cdb35a4f22aa7

And for post above...wrong thread that Question need to move in Embuary Helper Script
https://forum.kodi.tv/showthread.php?tid=345471


This forum uses Lukasz Tkacz MyBB addons.