[Linux] - missing import urllib2
#1
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
Reply
#2
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
Reply
#3
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. ^^
Reply

Logout Mark Read Team Forum Stats Members Help
[Linux] - missing import urllib20