lukeskywalkerwasright / bluecop-xbmc-repo

Automatically exported from code.google.com/p/bluecop-xbmc-repo
0 stars 0 forks source link

Hulu fails to open when username/password is enabled #78

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Make sure Username/password is entered and checkbox is activated
2. Open Hulu and it will start to load then falls back giving error that plugin 
failed

What is the expected output? What do you see instead?
Hulu opens just fine if I disable username/password. This worked just fine 
before version 2.9.11 was installed.

What version of the product are you using? On what operating system?
Latest nightly release of XBMC on ATV2. Using Hulu plugin version 2.9.11

Original issue reported on code.google.com by matthoff...@gmail.com on 20 Nov 2011 at 6:03

GoogleCodeExporter commented 8 years ago
I am using XBMC 11 on Windows. Standard Hulu content works fine. However, I 
cannot watch any content if "Enable Login" is checked. Therefore, I cannot 
access Hulu Content.

Everything works fine when I use a web browser.

Original comment by lioux...@gmail.com on 1 Aug 2012 at 2:49

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I have the exact same problem. Nothing works if "Enable Login" is checked. XBMC 
11 on Windows.

The full log is attached. It seems the important part is below.

It's getting HTTP 403 forbidden. Either the URL is incorrect or the 
authentication is not working. I've triple checked my username/password.

00:08:00 T:4188  NOTICE: -->Python Interpreter Initialized<--
00:08:01 T:4188   ERROR: 
C:\Users\fff\AppData\Roaming\XBMC\addons\script.module.cryptopy\lib\crypto\hash\
sha1Hash.py:9: DeprecationWarning: the sha module is deprecated; use the 
hashlib module instead
                                              import sha
00:08:01 T:4188   ERROR: 
C:\Users\fff\AppData\Roaming\XBMC\addons\script.module.cryptopy\lib\crypto\hash\
md5Hash.py:5: DeprecationWarning: the md5 module is deprecated; use hashlib 
instead
                                              import md5
00:08:01 T:4188  NOTICE: addoncompat.py: XBMC Revision not available - Version 
String: 11.0 Git:20120321-14feb09
00:08:04 T:4188   ERROR: Error Type: <class 'urllib2.HTTPError'>
00:08:04 T:4188   ERROR: Error Contents: HTTP Error 403: Forbidden
00:08:04 T:4188   ERROR: Traceback (most recent call last):
                                              File "C:\Users\fff\AppData\Roaming\XBMC\addons\plugin.video.hulu\default.py", line 12, in <module>
                                                import resources.lib.common as common
                                              File "C:\Users\fff\AppData\Roaming\XBMC\addons\plugin.video.hulu\resources\lib\common.py", line 417, in <module>
                                                checkToken()
                                              File "C:\Users\fff\AppData\Roaming\XBMC\addons\plugin.video.hulu\resources\lib\common.py", line 142, in checkToken
                                                login_queue()
                                              File "C:\Users\fff\AppData\Roaming\XBMC\addons\plugin.video.hulu\resources\lib\common.py", line 286, in login_queue
                                                data = postAPI(action,parameters,True)
                                              File "C:\Users\fff\AppData\Roaming\XBMC\addons\plugin.video.hulu\resources\lib\common.py", line 323, in postAPI
                                                response = urllib2.urlopen(req)
                                              File "D:\u\XBMC\system\python\Lib\urllib2.py", line 126, in urlopen
                                                return _opener.open(url, data, timeout)
                                              File "D:\u\XBMC\system\python\Lib\urllib2.py", line 397, in open
                                                response = meth(req, response)
                                              File "D:\u\XBMC\system\python\Lib\urllib2.py", line 510, in http_response
                                                'http', request, response, code, msg, hdrs)
                                              File "D:\u\XBMC\system\python\Lib\urllib2.py", line 435, in error
                                                return self._call_chain(*args)
                                              File "D:\u\XBMC\system\python\Lib\urllib2.py", line 369, in _call_chain
                                                result = func(*args)
                                              File "D:\u\XBMC\system\python\Lib\urllib2.py", line 518, in http_error_default
                                                raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
                                            HTTPError: HTTP Error 403: Forbidden
00:08:04 T:4156   ERROR: XFILE::CDirectory::GetDirectory - Error getting 
plugin://plugin.video.hulu
00:08:04 T:4156   ERROR: 
CGUIMediaWindow::GetDirectory(plugin://plugin.video.hulu) failed

Original comment by mario...@gmail.com on 1 Aug 2012 at 3:22

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
pretty much the same thing for me on xbian,
log:
22:52:46 T:2813285440   ERROR: EXCEPTION Thrown (PythonToCppException) : 
-->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'urllib2.HTTPError'>
                                            Error Contents: HTTP Error 403: Forbidden
                                            Traceback (most recent call last):
                                              File "/home/xbian/.xbmc/addons/plugin.video.hulu/default.py", line 12, in <module>
                                                import resources.lib.common as common
                                              File "/home/xbian/.xbmc/addons/plugin.video.hulu/resources/lib/common.py", line 417, in <module>
                                                checkToken()
                                              File "/home/xbian/.xbmc/addons/plugin.video.hulu/resources/lib/common.py", line 142, in checkToken
                                                login_queue()
                                              File "/home/xbian/.xbmc/addons/plugin.video.hulu/resources/lib/common.py", line 286, in login_queue
                                                data = postAPI(action,parameters,True)
                                              File "/home/xbian/.xbmc/addons/plugin.video.hulu/resources/lib/common.py", line 323, in postAPI
                                                response = urllib2.urlopen(req)
                                              File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
                                                return _opener.open(url, data, timeout)
                                              File "/usr/lib/python2.7/urllib2.py", line 406, in open
                                                response = meth(req, response)
                                              File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
                                                'http', request, response, code, msg, hdrs)
                                              File "/usr/lib/python2.7/urllib2.py", line 444, in error
                                                return self._call_chain(*args)
                                              File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
                                                result = func(*args)
                                              File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
                                                raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
                                            HTTPError: HTTP Error 403: Forbidden
                                            -->End of Python script error report<--

Original comment by kikeacev...@gmail.com on 17 Jan 2013 at 4:05