View Single Post
Old 05-26-2013, 01:33 AM   #1
Eric Hemmy
Junior Member
Eric Hemmy began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2013
Location: France
Device: Kindle Touch
Help - ebook-convert / IOError

Hi all,

I used ebook-convert for a long time now and I thank you very much for your nice job

But, I got trouble with ebook-convert when I run followed bye "Rue89.recipe" rue89.mobi.
Here's the error messages I get :

...
Creating MOBI Output...
67% Running MOBI Output plugin
Serializing resources...
Traceback (most recent call last):
File "/usr/bin/ebook-convert", line 20, in <module>
sys.exit(main())
File "/usr/lib/calibre/calibre/ebooks/conversion/cli.py", line 325, in main
plumber.run()
File "/usr/lib/calibre/calibre/ebooks/conversion/plumber.py", line 1128, in run
self.opts, self.log)
File "/usr/lib/calibre/calibre/ebooks/conversion/plugins/mobi_output.py", line 187, in convert
add_fonts=create_kf8)
File "/usr/lib/calibre/calibre/ebooks/mobi/writer2/resources.py", line 37, in __init__
self.add_resources(add_fonts)
File "/usr/lib/calibre/calibre/ebooks/mobi/writer2/resources.py", line 59, in add_resources
data = generate_masthead(unicode(self.oeb.metadata['title'][0]))
File "/usr/lib/calibre/calibre/ebooks/__init__.py", line 264, in generate_masthead
font = ImageFont.truetype(default_font, 48, encoding='unic')
File "/usr/lib/python2.7/dist-packages/PIL/ImageFont.py", line 218, in truetype
return FreeTypeFont(filename, size, index, encoding)
File "/usr/lib/python2.7/dist-packages/PIL/ImageFont.py", line 134, in __init__
self.font = core.getfont(file, size, index, encoding)
IOError: cannot open resource

As I cannot understand how to solve by myself, would you please help me ?
Do I need to update my python package (xxx.py files) ?
(It seems to be up to date, but ...)

ebook-convert (calibre 0.8.70) works well with "Liberation.recipe", but give me the same result with 'Le Monde.recipe".

Thanks for your help in advance,
Éric
Eric Hemmy is offline   Reply With Quote