Kodi Community Forum

Full Version: [Linux] - missing import urllib2
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I try to use xbmc on Linux Mint 12 (I have always some crash ...).
And I see, in a log file, that missing "import urllib2" in file ~/.xbmc/addons/weather.weatherplus/resources/lib/video_non_us.py
The urllib2 object's are used at line 221, it's for a french configuration.

I don't have habit to make a bug report, so I prefer create a topic for warn you. Laugh
Ppito Wrote:Hello,

I try to use xbmc on Linux Mint 12 (I have always some crash ...).
And I see, in a log file, that missing "import urllib2" in file ~/.xbmc/addons/weather.weatherplus/resources/lib/video_non_us.py
The urllib2 object's are used at line 221, it's for a french configuration.

I don't have habit to make a bug report, so I prefer create a topic for warn you. Laugh

Do you compile XBMC yourself? If so, what version of Python do you have installed? I have a feeling that the version is greater than 2.7 as urllib2 is included up to that point, but later removed in version 3.0
Hi,

Thanks for clarification, I use the version 2.7 of Python.
And no, I try to use an ubuntu version.
My last problem is a curl error, but I will find it. ^^