Closed aktur closed 6 years ago
I need a full log, or you need to look up your script.module.requests version and script.module.trakt version
Versions look as the latest: pi@raspberrypi ~/.kodi/addons $ cat script.module.requests/addon.xml|grep version <?xml version="1.0" encoding="UTF-8" standalone="yes"?> version="2.12.4"
pi@raspberrypi ~/.kodi/addons $ cat script.module.trakt/addon.xml|grep version <?xml version="1.0" encoding="UTF-8" standalone="yes"?> version="2.12.0"
<import addon="script.module.requests" version="2.12.4"/>
<import addon="script.module.six" version="1.9.0"/>
<import addon="script.module.arrow" version="0.6.0"/>
Do you want me to upload the full log?
Full log would be appreciated.
Have you restarted the box, just in case?
The log is https://paste.ubuntu.com/23946814/ I've tried restarting, cold booting, deinstall-install script.trakt, authenticate with trakt.tv. One remark about the latest action, I'm not getting the authentication window where I can input the response code from trakt.tv/pin. Script.trakt still shows my trakt.tv's login name even after deinstalling/installing script.trakt. How can I clear it?
try to look for addon_data/script.trakt/ there should be something there named settings, or remove the whole folder and reinstall the addon
Well, deinstalled script.trakt, removed directory .kodi/userdata/addon_data/script.trakt, reinstalled script.trakt. Now my User field is empty. However, when I press 'How do I authorize the trakt addon...' then nothing happens. No pop-up window like in the pre krypton version. In the debug log I see the following:
12:29:17.010 T:1442124720 DEBUG: -->Python Interpreter Initialized<-- 12:29:17.010 T:1442124720 DEBUG: CPythonInvoker(25, /home/pi/.kodi/addons/script.trakt/script.py): the source file to load is "/home/pi/.kodi/addons/script.trakt/script.py" 12:29:17.015 T:1442124720 DEBUG: CPythonInvoker(25, /home/pi/.kodi/addons/script.trakt/script.py): setting the Python path to /home/pi/.kodi/addons/script.trakt:/home/pi/.kodi/addons/script.module.addon.signals/lib:/home/pi/.kodi/addons/script.module.arrow/lib:/home/pi/.kodi/addons/script.module.dateutil/lib:/home/pi/.kodi/addons/script.module.requests/lib:/home/pi/.kodi/addons/script.module.simplejson/lib:/home/pi/.kodi/addons/script.module.six/lib:/home/pi/.kodi/addons/script.module.trakt/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-arm-linux-gnueabihf:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PILcompat:/usr/lib/python2.7/dist-packages/gtk-2.0:/usr/lib/pymodules/python2.7 12:29:17.016 T:1442124720 DEBUG: CPythonInvoker(25, /home/pi/.kodi/addons/script.trakt/script.py): entering source directory /home/pi/.kodi/addons/script.trakt 12:29:17.016 T:1442124720 DEBUG: CPythonInvoker(25, /home/pi/.kodi/addons/script.trakt/script.py): instantiating addon using automatically obtained id of "script.trakt" dependent on version 2.24.0 of the xbmc.python api 12:29:17.618 T:1442124720 INFO: CPythonInvoker(25, /home/pi/.kodi/addons/script.trakt/script.py): script successfully run 12:29:17.772 T:1442124720 INFO: Python script stopped 12:29:17.772 T:1442124720 DEBUG: Thread LanguageInvoker 1442124720 terminating
That's no error, but it doesn't do what you want :) What's this build? openELEC? libreELEC? Selfbuild? Only thing that comes to mind is removing trakt + module.trakt again and trying another time. Not sure what's going on.
As I've written in the first post it is RP2, raspbian, i.e. Raspberry pi 2 with the raspbian OS. Kodi was updated via apt-get install kodi
Still no joy. I've removed script.takt + module.trakt. Reinstalled module.trakt and still nothing. No authentication screen. Strange, as all other stuff/plugins seems to work. Of cours, I can try to reinstall OS and everything from scratch, but it is rather PITA. Maybe you can produce a debug version, which would give more details about the execution and expose this potential bug. To know what's going is sometimes priceless.
maybe @fuzeman has an idea, might be https related
Looks like this issue is caused when requests is used with an old version of pyOpenSSL/cryptography (https://github.com/kennethreitz/requests/issues/3710).
The get_extension_for_class
method was added in https://github.com/pyca/cryptography/commit/db34d7e3d9e6b13e549866324323e1df8a6e7777 (v1.1), but requests currently lists cryptography>=1.3.4
as the required package version.
I can't identify what is actually injecting pyOpenSSL/cryptography into requests (urllib3) though, maybe another plugin is injecting an old version of pyOpenSSL/cryptography into requests?
@aktur Do you have script.module.pyopenssl
installed?
I don'r have script.module.pyopenssl
installed. This is what I see about ssl in modules:
pi@raspberrypi ~/.kodi/addons $ find |grep ssl ./script.module.requests/lib/requests/packages/urllib3/packages/ssl_match_hostname ./script.module.requests/lib/requests/packages/urllib3/packages/ssl_match_hostname/__init__.py ./script.module.requests/lib/requests/packages/urllib3/packages/ssl_match_hostname/__init__.pyo ./script.module.requests/lib/requests/packages/urllib3/packages/ssl_match_hostname/_implementation.py ./script.module.requests/lib/requests/packages/urllib3/packages/ssl_match_hostname/_implementation.pyo ./script.module.requests/lib/requests/packages/urllib3/util/ssl_.py ./script.module.requests/lib/requests/packages/urllib3/util/ssl_.pyo ./script.module.requests/lib/requests/packages/urllib3/contrib/pyopenssl.pyo ./script.module.requests/lib/requests/packages/urllib3/contrib/pyopenssl.py ./script.video.F4mProxy/lib/f4mUtils/openssl_rc4.py ./script.video.F4mProxy/lib/f4mUtils/openssl_tripledes.py ./script.video.F4mProxy/lib/f4mUtils/openssl_aes.py ./script.video.F4mProxy/lib/f4mUtils/openssl_rsakey.py ./script.video.F4mProxy/lib/androidsslPy.py ./script.module.liveresolver/lib/liveresolver/modules/f4mproxy/utils/openssl_rc4.py ./script.module.liveresolver/lib/liveresolver/modules/f4mproxy/utils/openssl_tripledes.py ./script.module.liveresolver/lib/liveresolver/modules/f4mproxy/utils/openssl_aes.py ./script.module.liveresolver/lib/liveresolver/modules/f4mproxy/utils/openssl_rsakey.py
so pyopenssl.py
is part of urllib3
Hey , any updates on this I've got the same error on my osmc on raspberry 2 and on on minix
also just wondering is it that i need a clean install or different flavour of kodi like open elec can anybody tell me :) like to get this scrobbling :)
I would recommend trying with libreELEC if it doesn't hurt you
I'll do this today and post back if it works ;)
On 6 Mar 2017, Razzeee notifications@github.com wrote:
I would recommend trying with libreELEC if it doesn't hurt you
-- Sent with K-@ Mail - the evolution of emailing.
i tried librelec and i really like it but had other issues the cec works then drops off so the tv remote stops working, so i tried another clean install as i like it that much!! but it didnt sole the issue but trakt activated but doesnt seem to scrobble ... do the files have to be local as im running them from a ssh share will that stop it from scrobbling? i edited the tv shows directory it created to the samba share?.. i set all the settings in the configuration to scrobble and i can see its logged in but no scrobble ill take another look at cec problem with librelec and try a local file i guess, clutching at straws now, i had scrobbling working with emby server but that only did movies not tv shows so thats why im trying direct from xbmc as was paying premium emby to get the scroblling but it never worked right and couldnt get support!! does anybody have this plugin working with any version of xbmc at all ? do i need to use a older version or is there a like certified distro that works with this plugin ..
Everything is working fine here with krypton. Never tried an ssh share, but should work in theory as long as you scrape your files into the database.
Yes I just figured that one I seem to have it working when up date database !!! I'll keep at it ... Wayne
On 6 Mar 2017, Razzeee notifications@github.com wrote:
Everything is working fine here with krypton. Never tried an ssh share, but should work in theory as long as you scrape your files into the database.
-- Sent with K-@ Mail - the evolution of emailing.
I got this working now its great !! thank you :)
Wayne
On 06/03/17 21:52, Razzeee wrote:
Everything is working fine here with krypton. Never tried an ssh share, but should work in theory as long as you scrape your files into the database.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/trakt/script.trakt/issues/353#issuecomment-284528449, or mute the thread https://github.com/notifications/unsubscribe-auth/AK5hnz2eXki2yKn-hYATz1Y5RA7LyEfhks5rjHIAgaJpZM4L4K9p.
-- Regards,
Wayne Ward http://wayneward.es info@wayneward.es
Spain: 655365852 UK: 07810242823
After updating Kodi to v17 (RP2, raspbian) I get the following exception. No scrobbing.
14:11:26.845 T:1715467184 FATAL: [script.trakt] service: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--