View Single Post
Old 04-01-2012, 03:01 PM   #4
watou
Junior Member
watou began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2012
Device: Kindle
That worked perfectly. Now the final barrier to sharing my new recipe is that one image, whose name has a space in it, is not being retrieved, and is showing a broken image in the resulting e-book. Here is some debug output:

Code:
Processing images...
Fetching http://www.southernstar.ie/scripts/imgsize.php?w=300&img=../images/news/1312c41.jpg
Processing images...
Fetching http://www.southernstar.ie/scripts/imgsize.php?w=300&img=../images/news/Rachel MCCarthya.jpg
Traceback (most recent call last):
  File "site-packages/calibre/web/fetch/simple.py", line 369, in process_images
  File "site-packages/PIL/Image.py", line 1980, in open
IOError: cannot identify image file
Other images load perfectly. The only code that touches images in my recipe is a verbatim copy of atlantic.recipe's postprocess_html().

Is there anything I can do about this?
watou is offline   Reply With Quote