Davide Alberani wrote:
> By the way, I start getting a traceback for every parser, so I think
> there's something wrong in the bsoup module.
> 

Hopefully it's fixed.

Turgut

> E.g.:
>   File "/usr/lib/python2.4/site-packages/imdb/parser/http/utils.py", line 
> 609, in parse
>     data = self.parse_dom(html_string)
>   File "/usr/lib/python2.4/site-packages/imdb/parser/http/utils.py", line 
> 637, in parse_dom
>     elements = self.xpath(dom, extractor.path)
>   File "/usr/lib/python2.4/site-packages/imdb/parser/http/utils.py", line 
> 618, in xpath
>     return apply_xpath(element, xpath)
>   File "/usr/lib/python2.4/site-packages/imdb/parser/bsoup.py", line 86, in 
> apply_xpath
>     elements = _apply_xpath_step(elements, step)
>   File "/usr/lib/python2.4/site-packages/imdb/parser/bsoup.py", line 167, in 
> _apply_xpath_step
>     nodes = element.findAll(node_test, recursive=recursive,
> AttributeError: 'NoneType' object has no attribute 'findAll'
> 
> 


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Imdbpy-devel mailing list
Imdbpy-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-devel

Reply via email to