|
|
#1 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Apr 2012
Device: Sony PRS-600
|
Exception when downloading ePub
I am trying to download ePubs by overriding the build_index() method as described in the 'sticky: reusable code'. The files are located at
Code:
http://dp.x-cago.net/pdf/DePers.epub http://pragprog.com/magazines/download/34.epub Code:
Creating EPUB Output... 67% Creating EPUB Output # snip.. Failed to read image dimensions Traceback (most recent call last): File "site-packages/calibre/ebooks/oeb/transforms/cover.py", line 124, in inspect_cover File "site-packages/calibre/utils/magick/draw.py", line 142, in identify_data TypeError: must be string or read-only buffer, not lxml.etree._Element Failed to read cover dimensions EPUB output written to /home/edwin/Documents/git/calibre/pragpub/pragpub.epub Output saved to /home/edwin/Documents/git/calibre/pragpub/pragpub.epub Am I overlooking something or is there something broken? Edwin |
|
|
|
|
|
#2 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Apr 2012
Device: Sony PRS-600
|
Solved
I found a work around: convert the downloaded epub to OEB format and pass that on down the pipeline. See this thread
It even improves the formatting. |
|
|
|
| Advert | |
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Downloading epub from public library | elkrott | General Discussions | 24 | 03-19-2012 10:15 AM |
| downloading epub in recipe Biweekly.pl | luka6000 | Recipes | 2 | 01-02-2012 07:43 PM |
| EPUB to PDF conversion unhandled exception | CodingBeaver | Conversion | 1 | 07-26-2011 04:29 PM |
| problem downloading epub to ade | Lola33 | ePub | 0 | 11-24-2010 11:18 AM |
| downloading google epub | europas_ice | Sony Reader | 3 | 03-22-2009 11:27 AM |