View Single Post
Old 06-05-2013, 04:10 AM   #2
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,417
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That's caused by the version of lxml being too old in the calibre OS X build, it will be updated when the next calibre release is made. In the meantime if you want to workaround it, you can replace the line

Code:
descendants(doc, 'w:p', 'w:tbl')

with
XPath('descendant::w:p|descendant::w:tbl')(doc)
there may be other places where you will need to make the change as well.
kovidgoyal is offline   Reply With Quote