View Single Post
Old 08-09-2018, 06:53 PM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,708
Karma: 169712392
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by koyahinipo@hurif View Post
I get this error converting a epub file to pdf:

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

Is there a config option to fix this?
Last time I saw this was using a calibre plugin that did not like empty dc: tags. You might want to use the Modify Epub plugin to update the metadata on the epub and try converting it again. If you look at the contents of the OPF file, you might see a lines that looks like:

Code:
<dc:creator></dc:creator>
<dc:title></dc:title>
instead of

Code:
<dc:creator opf:role="aut" opf:file-as="Pseudonym, Ima">Ima Pseudonym</dc:creator>
<dc:title>Dummy Ebook Title</dc:title>
And then we have the fun where epub2 and epub3 differ on how the metadata is defined.
DNSB is offline   Reply With Quote