03-04-2016, 02:45 PM | #1 |
Member
Posts: 18
Karma: 10
Join Date: Feb 2013
Device: Kindle Voyage
|
ft recipe financial_times_us.recipe
Hi, for the last 2 months, I have had a cron job download the ft on a daily basis and send it to my kindle using ebook-convert. Some 10 days ago, it stopped working with an error as follows (this error is repeated multiple times and then the program stops writing to output):
Code:
Traceback (most recent call last): File "site-packages/calibre/web/fetch/simple.py", line 436, in process_images File "site-packages/calibre/utils/magick/__init__.py", line 133, in load ValueError: Cannot open image from empty data string Traceback (most recent call last): File "site-packages/calibre/web/fetch/simple.py", line 436, in process_images File "site-packages/calibre/utils/magick/__init__.py", line 133, in load ValueError: Cannot open image from empty data string Traceback (most recent call last): File "site-packages/calibre/web/fetch/simple.py", line 436, in process_images File "site-packages/calibre/utils/magick/__init__.py", line 133, in load ValueError: Cannot open image from empty data string To my knowledge, I have not changed anything in my calibre setup or in my ft account. I run calibre and ebook-convert on ubuntu 15.10. Any ideas? Thank you, Piet |
03-04-2016, 11:44 PM | #2 |
creator of calibre
Posts: 44,028
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
What is the exact commandline you are using? You should be using
Code:
ebook-convert 'Financial Times (International) printed edition.recipe' output.epub -vv |
Advert | |
|
03-05-2016, 03:49 AM | #3 | ||
Member
Posts: 18
Karma: 10
Join Date: Feb 2013
Device: Kindle Voyage
|
Thank you for your fast reply. I looked more into it and the download works, but the e-mail does not.
These are the commands I use: for download: Quote:
Quote:
Last edited by piet8stevens; 03-05-2016 at 03:53 AM. Reason: additional info |
||
03-05-2016, 03:55 AM | #4 |
Member
Posts: 18
Karma: 10
Join Date: Feb 2013
Device: Kindle Voyage
|
Sorry to have bothered you with this: I now executed the send (calibre-smtp) separately and get an error message from google about size limits.
The reason I had not noticed before is that I had an output redirect on the ebook-convert command but not on the calibre-smtp. Google has a 25MB limit on attachments and the ft.mobi is larger than that. I need to first put it on Google Drive and send from there. Thank you for your help. Case closed. One remaining question: can the recipe reduce the size of the .mobi file somehow? Last edited by piet8stevens; 03-05-2016 at 03:58 AM. |
Tags |
ebook-convert, financial times |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FT Recipe 10/27 | rainrdx | Recipes | 6 | 10-29-2012 10:27 PM |
Recipe works when mocked up as Python file, fails when converted to Recipe | ode | Recipes | 7 | 09-04-2011 04:57 AM |
New Recipe | UtahJames | Recipes | 2 | 04-18-2011 06:32 PM |
Recipe help | kool | Recipes | 3 | 10-22-2010 03:34 PM |
Recipe Help | lrain5 | Calibre | 3 | 05-09-2010 10:42 PM |