blummat0360 / bluecop-xbmc-repo

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

free cable CBS does not work #210

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open XBMC
2. Open Free Cable
3. Click CBS - will not open

What is the expected output? What do you see instead?
Should see show listings

What version of the product are you using? On what operating system?
Doesn't work on Release 12 with my RaspBerry PI or on Lastest nightly build 13 
alpha with Windows Vista

Please provide any additional information below.
Log:
                                            start of FREE CABLE plugin
15:51:12 T:3848  NOTICE: Thread Background Loader start, auto delete: false
15:51:13 T:4576  NOTICE: Previous line repeats 1 times.
15:51:13 T:4576  NOTICE: Thread XBPyThread start, auto delete: false
15:51:13 T:4576  NOTICE: -->Python Interpreter Initialized<--
15:51:13 T:4576   ERROR: 
C:\Users\Jeffrey\AppData\Roaming\XBMC\addons\plugin.video.free.cable\resources\l
ib\_common.py:11: DeprecationWarning: the md5 module is deprecated; use hashlib 
instead
                                              import md5
15:51:14 T:4576  NOTICE: common.args
15:51:14 T:4576  NOTICE: {'sitemode': 'rootlist', 'thumb': 
'C:\\Users\\Jeffrey\\AppData\\Roaming\\XBMC\x07ddons\\plugin.video.free.cable\re
sources\\images\\cbs.png', 'url': '', 'fanart': 
'C:\\Users\\Jeffrey\\AppData\\Roaming\\XBMC\x07ddons\\plugin.video.free.cable\x0
canart.jpg', 'mode': 'cbs', 'name': 'CBS'}
15:51:14 T:4576  NOTICE: addoncompat.py: XBMC Revision not available - Version 
String: 13.0-ALPHA1 Git:20130207-056d824
15:51:14 T:4576  NOTICE: 

                                            start of FREE CABLE plugin
15:51:14 T:4576  NOTICE: FREE CABLE --> common :: getURL :: url = 
http://www.cbs.com/video/
15:51:15 T:4576   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python 
callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.KeyError'>
                                            Error Contents: ('onclick',)
                                            Traceback (most recent call last):
                                              File "C:\Users\Jeffrey\AppData\Roaming\XBMC\addons\plugin.video.free.cable\default.py", line 68, in <module>
                                                modes ( )
                                              File "C:\Users\Jeffrey\AppData\Roaming\XBMC\addons\plugin.video.free.cable\default.py", line 64, in modes
                                                exec 'sitemodule.%s()' % common.args.sitemode
                                              File "<string>", line 1, in <module>
                                              File "C:\Users\Jeffrey\AppData\Roaming\XBMC\addons\plugin.video.free.cable\resources\lib\cbs.py", line 63, in rootlist
                                                catid = item['onclick'].replace("showDaypart('",'').replace("');",'')
                                              File "C:\Users\Jeffrey\AppData\Roaming\XBMC\addons\script.module.beautifulsoup\lib\BeautifulSoup.py", line 601, in __getitem__
                                                return self._getAttrMap()[key]
                                            KeyError: ('onclick',)
                                            -->End of Python script error report<--
15:51:15 T:4500   ERROR: XFILE::CDirectory::GetDirectory - Error getting 
plugin://plugin.video.free.cable/?fanart=%22C%3a%5cUsers%5cJeffrey%5cAppData%5cR
oaming%5cXBMC%5caddons%5cplugin.video.free.cable%5cfanart.jpg%22&mode=%22cbs%22&
name=%22CBS%22&sitemode=%22rootlist%22&thumb=%22C%3a%5cUsers%5cJeffrey%5cAppData
%5cRoaming%5cXBMC%5caddons%5cplugin.video.free.cable%5cresources%5cimages%5ccbs.
png%22&url=%22%22
15:51:15 T:4500   ERROR: 
CGUIMediaWindow::GetDirectory(plugin://plugin.video.free.cable/?fanart=%22C%3a%5
cUsers%5cJeffrey%5cAppData%5cRoaming%5cXBMC%5caddons%5cplugin.video.free.cable%5
cfanart.jpg%22&mode=%22cbs%22&name=%22CBS%22&sitemode=%22rootlist%22&thumb=%22C%
3a%5cUsers%5cJeffrey%5cAppData%5cRoaming%5cXBMC%5caddons%5cplugin.video.free.cab
le%5cresources%5cimages%5ccbs.png%22&url=%22%22) failed
15:51:15 T:3504  NOTICE: Thread XBPyThread start, auto delete: false
15:51:15 T:3504  NOTICE: -->Python Interpreter Initialized<--
15:51:15 T:3504   ERROR: 
C:\Users\Jeffrey\AppData\Roaming\XBMC\addons\plugin.video.free.cable\resources\l
ib\_common.py:11: DeprecationWarning: the md5 module is deprecated; use hashlib 
instead
                                              import md5
15:51:15 T:3504  NOTICE: common.args
15:51:15 T:3504  NOTICE: {}
15:51:15 T:3504  NOTICE: addoncompat.py: XBMC Revision not available - Version 
String: 13.0-ALPHA1 Git:20130207-056d824
15:51:15 T:3504  NOTICE: 

                                            start of FREE CABLE plugin
15:51:15 T:2540  NOTICE: Thread Background Loader start, auto delete: false

Original issue reported on code.google.com by jjsleg...@gmail.com on 9 Feb 2013 at 8:54

GoogleCodeExporter commented 8 years ago
I'm seeing this as well. CBS worked fine last weekend, but as of Friday 
(possibly earlier, hadn't touched it in a few days), I'm getting the same issue.

Original comment by immerohn...@gmail.com on 9 Feb 2013 at 11:02

GoogleCodeExporter commented 8 years ago
I am seeing the same error also when clicking the main CBS menu item, but shows 
saved as favorites show items from last Friday and the episodes will play fine.

Original comment by clp7...@gmail.com on 10 Feb 2013 at 3:09

GoogleCodeExporter commented 8 years ago
Same

Original comment by jmadero....@gmail.com on 11 Feb 2013 at 3:19

GoogleCodeExporter commented 8 years ago
There is a workaround in this thread as this doesn't seem to be getting any 
action:
http://forum.xbmc.org/showthread.php?tid=101938&page=116

Original comment by jjsleg...@gmail.com on 12 Feb 2013 at 5:20

GoogleCodeExporter commented 8 years ago
Open the file "common.py" in notepad or your editor of choice (e.g. nano on 
Linux) and find the line that says "import hashlib.sha1 as sha1" and change it 
to "import hashlib as sha1".

If you don't know where to find the common.py file, look in your xbmc.log. The 
path is shown in there along with the error.

Good luck!

Original comment by tic...@gmail.com on 3 Aug 2014 at 2:16