Help

5 views
Skip to first unread message

ling

unread,
Dec 5, 2010, 9:13:11 PM12/5/10
to beautifulsoup
Hi,

I installed beautiful soup 3.0.6 and was trying to export my space and
got the errors as below :

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'

The command I used was :
python live-space-mover.py -s http://yourSpaceName.spaces.live.com/ -t
“%m/%d/%Y %I:%M:%S %p”

Does anyone have the similar error before?
How to solve it?

Thanks!
Ling

ling

unread,
Dec 6, 2010, 10:27:12 AM12/6/10
to beautifulsoup
Your insight would be appreciated!
Reply all
Reply to author
Forward
0 new messages