View Single Post
Old 02-22-2011, 03:44 PM   #1
sbdmmg
Junior Member
sbdmmg began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Feb 2011
Device: kindle
Assertion `image_info->signature == 0xabacadabUL' failed.

Hello,

I am trying calibre on my laptop (calibre 0.7.46 on Linux 2.6.35-gentoo-r12, Python 2.6.6, gcc 4.4.4). I installed its binaries using

Code:
$ sudo python -c "import urllib2; exec urllib2.urlopen('http://status.calibre-ebook.com/linux_installer').read(); main()"
I can start it and see the "Calibre quick start guide", but when I try to convert even a simple "Lorem ipsum" html file to another format (e.g. epub or mobi) I get the following error:

Code:
$ ebook-convert foo.html foo.epub
1% Converting input to HTML...
InputFormatPlugin: HTML Input running
<...>
67% Creating EPUB Output
        Looking for large trees in foo.html...
        No large trees found
Generating default cover
ebook-convert: coders/png.c:2825: ReadPNGImage: Assertion `image_info->signature == 0xabacadabUL' failed.
/usr/bin/ebook-convert: line 9:  1557 Aborted                 $base/bin/ebook-convert "$@"
This does not happen when I add the option "--no-default-epub-cover".
However, any image which is present in the original html seems to trigger this crash.

Thanks for any suggestion you might have, and thank you for writing calibre!
Cheers,

davide
sbdmmg is offline   Reply With Quote