Video addons wont work because of python
#1
Hi

I'm running XBMC version 2:10.1 from the Maverick PPA on Natty on a 32bi t system behind a proxy server. The rest of addons work so I know that XBMC is getting to the internet.
Weather info, the RSS feed, NPR radio, new skins, they all work. Only the video addons won't.
I get these specific errors "Script error: addon.py" or "Script error: plugin.video.whatever"

I decided to check the debug logs and found that the error occured when python called urllib2 which then sent a HTTP 407 authentication error.

See Here:

18:51:08 T:2813328240 M:2854301696 NOTICE: -->Python Interpreter Initialized<--
18:51:09 T:2813328240 M:2853543936 ERROR: Error Type: urllib2.HTTPError
18:51:09 T:2813328240 M:2853543936 ERROR: Error Contents: HTTP Error 407: Proxy Authentication Required
18:51:09 T:2813328240 M:2853543936 ERROR: Traceback (most recent call last):
File "/home/makeda/.xbmc/addons/plugin.video.aljazeera/addon.py", line 201, in ?
plugin.run()
File "/home/makeda/.xbmc/addons/plugin.video.aljazeera/resources/lib/xbmcswift/plugin.py", line 377, in run
self.route_url(self.path)
File "/home/makeda/.xbmc/addons/plugin.video.aljazeera/resources/lib/xbmcswift/plugin.py", line 261, in route_url
return selected_rule.view_func(**values)
File "/home/makeda/.xbmc/addons/plugin.video.aljazeera/addon.py", line 128, in show_categories3
src = download_page(url)
File "/home/makeda/.xbmc/addons/plugin.video.aljazeera/resources/lib/xbmcswift/common.py", line 28, in download_page
u = urllib2.urlopen(url, data)
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 130, in urlopen
return _opener.open(url, data)
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 364, in open
response = meth(req, response)
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 471, in http_response
response = self.parent.error(
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 402, in error
return self._call_chain(*args)
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 337, in _call_chain
result = func(*args)
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 480, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 407: Proxy Authentication Required
18:51:09 T:3045775232 M:2853543936 ERROR: GetDirectory - Error getting plugin://plugin.video.aljazeera/categories/programs/
18:51:09 T:3045775232 M:2853543936 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.aljazeera/categories/programs/) failed
18:51:15 T:2813328240 M:2854010880 NOTICE: -->Python Interpreter Initialized<--


-->Python Interpreter Initialized<--
18:51:19 T:2813328240 M:2854006784 NOTICE: Mode: 1
18:51:19 T:2813328240 M:2854006784 NOTICE: URL: http://feeds2.feedburner.com/moremi_podcast_720
18:51:19 T:2813328240 M:2854006784 NOTICE: Name: Moremi Lions Channel
18:51:19 T:2813328240 M:2854006784 NOTICE: http://feeds2.feedburner.com/moremi_podcast_720
18:51:19 T:2813328240 M:2854006784 ERROR: Error Type: urllib2.HTTPError
18:51:19 T:2813328240 M:2854006784 ERROR: Error Contents: HTTP Error 407: Proxy Authentication Required
18:51:19 T:2813328240 M:2854006784 ERROR: Traceback (most recent call last):
File "/home/makeda/.xbmc/addons/plugin.video.earth.touch/default.py", line 120, in ?
INDEX(url)
File "/home/makeda/.xbmc/addons/plugin.video.earth.touch/default.py", line 33, in INDEX
response = urllib2.urlopen(req)
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 130, in urlopen
return _opener.open(url, data)
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 364, in open
response = meth(req, response)
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 471, in http_response
response = self.parent.error(
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 402, in error
return self._call_chain(*args)
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 337, in _call_chain
result = func(*args)
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 480, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 407: Proxy Authentication Required
18:51:20 T:3045775232 M:2854006784 ERROR: GetDirectory - Error getting plugin://plugin.video.earth.touch/?url=http%3A%2F%2Ffeeds2.feedburner.com%2Fmoremi_podcast_720&mode=1&name=Moremi+Lions+Channel
18:51:20 T:3045775232 M:2854006784 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.earth.touch/?url=http%3A%2F%2Ffeeds2.feedburner.com%2Fmoremi_podcast_720&mode=1&name=Moremi+Lions+Channel) failed

Finding out what the problem was, was at first a welcome change from the constant frustration but I still don't know how to fix it.

I really would like to get the video addons to work and like I said the other addons seem to work fine with the proxy so I don't see what's wrong here.

Any help would be much appreciated.

Frustrated
Reply

Logout Mark Read Team Forum Stats Members Help
Video addons wont work because of python0