Recently I've been seeing urllib3 errors - but only in addons when running in a secondary profile. The same addons work fine in the master profile.
Addons include trakt and one of my own, OzWeather. Both depend on script.modules.requests...seems like something has recently gone awry with python path handling in profiles maybe?
Python
12:26:33.966 T:140575403661056 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 urllib3
Traceback (most recent call last):
File "/storage/.kodi/addons/script.trakt/default.py", line 6, in <module>
from resources.lib.service import traktService
File "/storage/.kodi/addons/script.trakt/resources/lib/service.py", line 19, in <module>
from resources.lib.traktapi import traktAPI
File "/storage/.kodi/addons/script.trakt/resources/lib/traktapi.py", line 8, in <module>
from trakt import Trakt
File "/storage/.kodi/addons/script.module.trakt/lib/trakt/__init__.py", line 3, in <module>
from trakt.client import TraktClient
File "/storage/.kodi/addons/script.module.trakt/lib/trakt/client.py", line 5, in <module>
from trakt.core.http import HttpClient
File "/storage/.kodi/addons/script.module.trakt/lib/trakt/core/http.py", line 8, in <module>
from trakt.core.request import TraktRequest
File "/storage/.kodi/addons/script.module.trakt/lib/trakt/core/request.py", line 3, in <module>
from requests import Request
File "/storage/.kodi/addons/script.module.requests/lib/requests/__init__.py", line 43, in <module>
import urllib3
ImportError: No module named urllib3
-->End of Python script error report<--
Display More
Python
12:26:34.061 T:140575289009920 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 urllib3
Traceback (most recent call last):
File "/storage/.kodi/addons/weather.ozweather/default.py", line 35, in <module>
from weatherzone import *
File "/storage/.kodi/addons/weather.ozweather/resources/lib/weatherzone.py", line 19, in <module>
import requests
File "/storage/.kodi/addons/script.module.requests/lib/requests/__init__.py", line 43, in <module>
import urllib3
ImportError: No module named urllib3
-->End of Python script error report<--
Display More
Obviously I can muck about with my own addon (which is in the main kodi repo) to get it to do an import more explicitly somehow but I think there's a more general issue here...