vika520 / xbmc-addons-chinese

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

土豆视频插件脚本错误 #69

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. 打开土豆视频插件
2. 选择电视剧
3.

What is the expected output? What do you see instead?
应该列出电视剧
实际出现脚本错误

What version of the product are you using? On what operating system?
xbmc 12.3, windows 7 x64

Please provide any additional information below.
错误信息
11:59:56 T:1156   DEBUG: Instantiating addon using automatically obtained id of 
"plugin.video.tudou" dependent on version 1.0 of the xbmc.python api
11:59:56 T:1156   DEBUG: 土豆视频(Tudou): GetHttpData::url - 
http://www.tudou.com/cate/ach30a-2b-2c-2d-2e-2f-2g-2h-2i-2j-2k-2l-2m-2n-2o-2so1p
e-2pa1.html
11:59:57 T:11500   DEBUG: ------ Window Init (DialogBusy.xml) ------
11:59:57 T:1156   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python 
callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.AttributeError'>
                                            Error Contents: 'NoneType' object has no attribute 'group'
                                            Traceback (most recent call last):
                                              File "C:\Users\arcko\AppData\Roaming\XBMC\addons\plugin.video.tudou\default.py", line 472, in <module>
                                                progList(name,type,area,genre,stat,year,order,page)
                                              File "C:\Users\arcko\AppData\Roaming\XBMC\addons\plugin.video.tudou\default.py", line 159, in progList
                                                arealist,genrelist,statlist,yearlist = getList(listpage,type,area,genre,stat,year)
                                              File "C:\Users\arcko\AppData\Roaming\XBMC\addons\plugin.video.tudou\default.py", line 73, in getList
                                                arealist = re.compile('<li\s*>\s*<a href="ach\d+a([\-\d]+)[^"]*">(.+?)</a>\s*</li>', re.DOTALL).findall(match.group(1))
                                            AttributeError: 'NoneType' object has no attribute 'group'
                                            -->End of Python script error report<--

Original issue reported on code.google.com by qiner...@gmail.com on 6 Jan 2014 at 4:15

GoogleCodeExporter commented 9 years ago
升级1.2.1

Original comment by taxi...@sina.com on 29 Jan 2014 at 6:04