2014-12-10, 17:29
A user of one of my addons is getting an ImportError from the requests library.
http://xbmclogs.com/show.php?id=369562
I've not been able to reproduce it. Anyone have any ideas why this would fail? Maybe a bad requests install?
Code:
13:43:45 84.481079 T:2881483840 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: cannot import name utils
Traceback (most recent call last):
File "/storage/.kodi/addons/script.openelec.devupdate/default.py", line 517, in <module>
from resources.lib import builds
File "/storage/.kodi/addons/script.openelec.devupdate/resources/lib/builds.py", line 11, in <module>
import requests
File "/storage/.kodi/addons/script.module.requests/lib/requests/__init__.py", line 58, in <module>
from . import utils
ImportError: cannot import name utils
http://xbmclogs.com/show.php?id=369562
I've not been able to reproduce it. Anyone have any ideas why this would fail? Maybe a bad requests install?