vdeku / anarchintosh-projects

Automatically exported from code.google.com/p/anarchintosh-projects
0 stars 0 forks source link

Error Contents: 'NoneType' object has no attribute 'group' #62

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to any category in icefilms via atv2
2. Select movie / tv show etc
3. Get script error

What is the expected output? What do you see instead?

Expect video to load but get the script error instead

What version of the product are you using? On what operating system?

Using the latest 1.0.18 build of icefilms on atv2

Please provide any additional information below.

Snapshot of the xbmc.log:

11:11:49 T:109162496 M:135983104 NOTICE: ==========================PARAMS:
URL: http://www.icefilms.info/ip.php?v=127744
NAME: 4x17 Empire of the Son
MODE: 100
IMDBNUM: None
MYHANDLE: 0
PARAMS: {'url': 'http%3A%2F%2Fwww.icefilms.info%2Fip.php%3Fv%3D127744', 'mode': 
'100', 'name': '4x17+Empire+of+the+Son'}
11:11:49 T:109162496 M:135983104 NOTICE: 
http://www.icefilms.info/ip.php?v=127744
11:11:51 T:109162496 M:135983104 NOTICE: posterurl does not exist
11:11:51 T:109162496 M:135983104 NOTICE: mpaafile does not exist
11:11:52 T:109162496 M:135979008 NOTICE: Set-Cookie: 
'ldsuid=119.236.142.65.1324091841276621; path=/; expires=Fri, 16-Mar-12 
03:17:21 GMT, 3da7d6ecf7a0577769989e8f1e369b33=ao3v7e8uitk0m3227nt2e18id0; 
path=/, __cfduid=d7e30fcd628d7785ba7c788af4cd14fcf1324091512; expires=Mon, 
23-Dec-2019 23:50:00 GMT; path=/; domain=.icefilms.info, 
__cfduid=d7e30fcd628d7785ba7c788af4cd14fcf1324091512; expires=Mon, 23-Dec-2019 
23:50:00 GMT; path=/; domain=.www.icefilms.info'
11:11:52 T:109162496 M:135979008 NOTICE: getting mirrors for: 
http://www.icefilms.info/membersonly/co ... 27744&img=
11:11:53 T:109162496 M:136093696 NOTICE: saved cookie: 
ldsuid=119.236.142.65.1324091841276621
11:11:54 T:109162496 M:136093696 NOTICE: response: 3
11:11:54 T:109162496 M:136093696 INFO: -->Python script returned the following 
error<--
11:11:54 T:109162496 M:136093696 ERROR: Error Type: <type 
'exceptions.AttributeError'>
11:11:54 T:109162496 M:136093696 ERROR: Error Contents: 'NoneType' object has 
no attribute 'group'
11:11:54 T:109162496 M:136093696 ERROR: Traceback (most recent call last):
File 
"/var/mobile/Library/Preferences/XBMC/addons/plugin.video.icefilms/default.py", 
line 2248, in <module>
LOADMIRRORS(url)
File 
"/var/mobile/Library/Preferences/XBMC/addons/plugin.video.icefilms/default.py", 
line 1224, in LOADMIRRORS
GETMIRRORS(mirrorpageurl,mirror_page)
File 
"/var/mobile/Library/Preferences/XBMC/addons/plugin.video.icefilms/default.py", 
line 1314, in GETMIRRORS
DVDRip(url)
File 
"/var/mobile/Library/Preferences/XBMC/addons/plugin.video.icefilms/default.py", 
line 1484, in DVDRip
SOURCE(link, scrape)
File 
"/var/mobile/Library/Preferences/XBMC/addons/plugin.video.icefilms/default.py", 
line 1476, in SOURCE
PART(sources,thenumber,args,cookie,hide2shared,megapic,shared2pic)
File 
"/var/mobile/Library/Preferences/XBMC/addons/plugin.video.icefilms/default.py", 
line 1397, in PART
url = GetSource(id, args, cookie)
File 
"/var/mobile/Library/Preferences/XBMC/addons/plugin.video.icefilms/default.py", 
line 1420, in GetSource
source = re.search('url=(http[^&]+)', body).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
11:11:54 T:109162496 M:136093696 INFO: -->End of Python script error report<--
11:11:54 T:93585408 M:136093696 INFO: Loading skin file: DialogKaiToast.xml
11:11:54 T:93585408 M:136089600 DEBUG: ------ Window Init (DialogKaiToast.xml) 
------
11:11:54 T:109162496 M:135819264 INFO: Python script stopped
11:11:54 T:109162496 M:135819264 DEBUG: Thread Python Thread 109162496 
terminating
11:11:54 T:93585408 M:135819264 DEBUG: waiting for python thread 8 to stop
11:11:54 T:93585408 M:135831552 DEBUG: python thread 8 destructed
11:11:54 T:113455104 M:135831552 DEBUG: WaitOnScriptResult - plugin exited 
prematurely - terminating
11:11:54 T:93585408 M:135827456 ERROR: GetDirectory - Error getting 
plugin://plugin.video.icefilms/?url=htt ... of+the+Son
11:11:54 T:93585408 M:135827456 ERROR: 
CGUIMediaWindow::GetDirectory(plugin://plugin.video.icefilms/?url=htt ... 
of+the+Son) failed
11:11:54 T:93585408 M:135827456 DEBUG: CGUIMediaWindow::GetDirectory 
(plugin://plugin.video.icefilms/?url=&mo ... %282010%29)
11:11:54 T:93585408 M:135827456 DEBUG: ParentPath = 
[plugin://plugin.video.icefilms/?url=http%3A%2F%2Fwww.icefilms.info%2Ftv%2Fserie
s%2F1%2F214&mode=12&name=Gossip+Girl+%282007%29]
11:11:54 T:93585408 M:135827456 DEBUG: Loading fileitems 
[plugin://plugin.video.icefilms/?url=&mode=13&name=Season+4+%282010%29]
11:11:54 T:93585408 M:135790592 DEBUG: -- items: 22, directory: 
plugin://plugin.video.icefilms/?url=&mo ... %282010%29 sort method: 0, 
ascending: false
11:11:54 T:804610048 M:135790592 DEBUG: Thread Background Loader start, auto 
delete: 0
11:11:54 T:93585408 M:135790592 DEBUG: ------ Window Deinit 
(DialogProgress.xml) ------
11:11:55 T:804610048 M:138653696 DEBUG: Thread Background Loader 804610048 
terminating
11:11:59 T:93585408 M:138555392 DEBUG: ------ Window Deinit 
(DialogKaiToast.xml) ------
11:12:00 T:91168768 M:138821632 DEBUG: Thread Jobworker 91168768 terminating 
(autodelete)
11:12:07 T:113987584 M:138919936 DEBUG: Thread Jobworker 113987584 terminating 
(autodelete)
11:12:24 T:113455104 M:139026432 DEBUG: Thread Jobworker 113455104 terminating 
(autodelete)

Original issue reported on code.google.com by spatel...@gmail.com on 17 Dec 2011 at 9:41