Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
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
Old 05-26-2013, 09:45 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Version 8.70

The current is 9.32

Is there a reason you are not running a more current version?
Don't rely on your 'Distribution' to be even close current.

Use the commandline supplied on the Linux download page
theducks is online now   Reply With Quote
Advert
Old 05-26-2013, 03:21 PM   #3
Eric Hemmy
Junior Member
Eric Hemmy began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2013
Location: France
Device: Kindle Touch
Too much easy : A special thank you !
All is perfectly working now : 0.9.32 makes me happy !
As you told me ;-)

Thanks again to you theducks
Éric
Eric Hemmy is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
IOError: cannot identify image file RobFreundlich Recipes 4 03-28-2012 02:25 PM
IOError - No such file or directory SkyDream Calibre 7 11-12-2010 02:44 PM
IOError: [Errno 22] Invalid argument jkcoder Calibre 5 09-25-2010 09:28 AM
IOError: [Errno 13] Permission denied s3ntient Calibre 3 02-20-2010 02:01 PM
IOError errno 5? codemac Calibre 11 10-22-2009 02:36 PM


All times are GMT -4. The time now is 11:30 AM.


MobileRead.com is a privately owned, operated and funded community.