View Single Post
Old 12-31-2011, 12:30 PM   #17
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,488
Karma: 28005164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That doesn't make sense, the error is TypeError: 'NoneType' object is not callable

which implies that raw.startswith is None not that raw is None. If raw were None, the error would be

AttributeError: 'NoneType' object has no attribute 'startswith'

Doing a grep of startswith.*= on the calibre source code yield no place where startswith is ever assigned to, so there is no code that could be setting startswith to None.
kovidgoyal is offline   Reply With Quote