Sonething has changes in requests/urllib3 (using profiles other than master only?!) - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +--- Thread: Sonething has changes in requests/urllib3 (using profiles other than master only?!) (/showthread.php?tid=324742) |
Sonething has changes in requests/urllib3 (using profiles other than master only?!) - bossanova808 - 2017-11-28 Ok strange one. I recently noticed an error with my addon (Oz Weather) that only happens when using profiles other than the master profile. Also the Trakt v3 addon exhibits this, so it's not just my addon. I have noticed this only recently - last couple of months at most. So something has changed. The error is: Code: 20:10:36.573 T:139711338968832 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- I thought urllib3 came via my addon.xml using: Code: <import addon="script.module.requests" version="2.0.0"/> which in turn import urllib3: Code: <import addon="script.module.urllib3" version="1.22"/> ...what I am wondering about is
...Many thanks for your help! RE: Sonething has changes in requests/urllib3 (using profiles other than master only?!) - bossanova808 - 2017-11-28 In case it is useful - there's a full debug log here: https://justpaste.it/1df0q RE: Sonething has changes in requests/urllib3 (using profiles other than master only?!) - ronie - 2017-11-28 the requests module was updated on nov 6, the new version of requests has a dependency on urllib3. the previous version didn't have that. perhaps check if the urllib3 module is enabled when you're logged in using a (non-master) profile? RE: Sonething has changes in requests/urllib3 (using profiles other than master only?!) - bossanova808 - 2017-11-29 @ronie - thanks, I will check that tonight. I still use Confluence and that doesn't have the same 'libs' bit in the addon settings area so I forgot about that possibility. RE: Sonething has changes in requests/urllib3 (using profiles other than master only?!) - bossanova808 - 2017-11-30 @ronie - confirmed, that was the issue. On 3 separate machines... Martijn seems on this, seems like a bug - new depencies are installed, but in a disabled state...which causes those addons to crash, and without any kinda useful/graceful message. I'll leave it to you smarter folks to work out how to fix that, but many thanks for your help! |