broom9 / live-space-mover

Automatically exported from code.google.com/p/live-space-mover
0 stars 0 forks source link

AttributeError: 'NoneType' object has no attribute 'findAll' #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
0. Python 2.5.2+Beautiful Soup 3.0.6 on 64bit Windows 7 Professional
(I used X86 processors python-2.5.2.msi, does it matter?)
1.Date format is set as in the attached file.
2.python live-space-mover.py -s http://[myspace].spaces.live.com/ -t
“%m/%d/%Y %I:%M:%S %p”
3.error occurred

What is the expected output? 
No error.

What do you see instead?
LINE 238  : INFO     connect successfully, look for 1st Permalink
LINE 571  : ERROR    Unexpected error
Traceback (most recent call last):
 File "live-space-mover.py", line 569, in <module>
   main()
 File "live-space-mover.py", line 482, in main
   permalink = find1stPermalink(srcURL)
 File "live-space-mover.py", line 245, in find1stPermalink
   linkNode = soup.find(attrs={"class":"footerLinks"}).findAll('a')
[3]
AttributeError: 'NoneType' object has no attribute 'findAll'
Traceback (most recent call last):
 File "live-space-mover.py", line 569, in <module>
   main()
 File "live-space-mover.py", line 482, in main
   permalink = find1stPermalink(srcURL)
 File "live-space-mover.py", line 245, in find1stPermalink
   linkNode = soup.find(attrs={"class":"footerLinks"}).findAll('a')
[3]
AttributeError: 'NoneType' object has no attribute 'findAll'

Original issue reported on code.google.com by hualin...@gmail.com on 6 Dec 2010 at 5:01

Attachments:

GoogleCodeExporter commented 9 years ago
Please disregard this as a defect.
The error was caused that the space was not open to public.
After correcting this, the exporting is working.
Thanks Weiwei for providing this program!

Original comment by hualin...@gmail.com on 6 Dec 2010 at 8:10