Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

None type error in readable parsing #10

Closed
mitechie opened this Issue · 0 comments

1 participant

@mitechie
Owner

[D 120827 20:17:42 existing:67] Q1 getting content for a6bb837b68038a http://themeforest.net/item/themeology-portfolio-and-blog-theme/full_screen_preview/127873

Exception in thread Thread-1325:
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 532, in bootstrap_inner
self.run()
File "/usr/lib/python2.6/threading.py", line 484, in run
self.__target(self.__args, *self.__kwargs)
File "scripts/readability/existing.py", line 68, in fetch_content
read = ReadUrl.parse(url)
File "/home/bmark.us/0.5/bookie/lib/readable.py", line 176, in parse
if not document.readable:
File "/home/bmark.us/0.5/lib/python2.6/site-packages/breadability/utils.py", line 55, in __get

value = self.fget(inst)
File "/home/bmark.us/0.5/lib/python2.6/site-packages/breadability/readable.py", line 457, in readable
return tounicode(self.readable)
File "/home/bmark.us/0.5/lib/python2.6/site-packages/breadability/utils.py", line 55, in __get_

value = self.fget(inst)
File "/home/bmark.us/0.5/lib/python2.6/site-packages/breadability/readable.py", line 482, in _readable
doc = build_base_document(updated_winner.node, self.fragment)
File "/home/bmark.us/0.5/lib/python2.6/site-packages/breadability/readable.py", line 93, in build_base_document
if html.tag == 'body':
AttributeError: 'NoneType' object has no attribute 'tag'

@mitechie mitechie closed this in 60da675
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.