![]() |
#1 |
Member
![]() Posts: 14
Karma: 10
Join Date: Dec 2016
Device: Tolino
|
![]()
Hi,
I just installed calibre on my raspberry as I want to configure a cronjob to download my favorite news. On my Linux - MINT everything works as it should. But on my RaspberryPi the recipe update fails. After that the download starts and (with a bunch of errors in between). The news is downloaded. So internet connection works. Is it possible that rasbian linux is missing some settings or packages compared to MINT Linux? Or what other reason is there for not getting access to the recipies? What is the url of the recipies? So I could try to download it manually an see if there is also an error... cheers idefix |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
UNless you tell us what the error is it's impossible to say. Could be anything from a missing https CA certificates, outdated version of calibre (some updated recipes need newer calibre versions), network troubles...
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 14
Karma: 10
Join Date: Dec 2016
Device: Tolino
|
When I type:
ebook-convert "New York Times.recipe" NY.epub I get: InputFormatPlugin: Recipe Input running Trying to get latest version of recipe: nytimes_sub Failed to download recipe, using builtin version And after that it starts downloading the news using the builtin version of the recipe and I do get my epub. But what if the recipe changes.. I will not get any update. Last edited by Idefix; 12-21-2016 at 10:51 AM. |
![]() |
![]() |
![]() |
#4 |
Member
![]() Posts: 14
Karma: 10
Join Date: Dec 2016
Device: Tolino
|
I'm still stuck at this point. What is the URL / Server to which I need to able to connect to? To get my recipes updated? If I would know an adress I could just try to ping it. Or use wget and get more information why the download fails.
Or does anyone has an idea why my raspberry fails to download the recipes? |
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Pass -vv to the command to get verbose output
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Member
![]() Posts: 14
Karma: 10
Join Date: Dec 2016
Device: Tolino
|
Thank you for the tip kovid!
verbose output gives me: Traceback (most recent call last): File "/usr/lib/calibre/calibre/web/feeds/recipes/collection.py", line 222, in get_builtin_recipe_by_title return download_builtin_recipe(urn) File "/usr/lib/calibre/calibre/web/feeds/recipes/collection.py", line 208, in download_builtin_recipe return get_https_resource_securely('https://status.calibre-ebook.com/recipe/'+urn) File "/usr/lib/calibre/calibre/utils/https.py", line 183, in get_https_resource_securely c = HTTPSConnection(ssl_version, hostname, port, cert_file=cacerts, timeout=timeout) File "/usr/lib/calibre/calibre/utils/https.py", line 137, in __init__ httplib.HTTPSConnection.__init__(self, *args, **kwargs) File "/usr/lib/python2.7/httplib.py", line 1236, in __init__ context.load_cert_chain(cert_file, key_file) SSLError: [SSL] PEM lib (_ssl.c:2525) seems a certificate problem? As I got the url in the verbose output I tried: wget https://status.calibre-ebook.com/rec...mes_sub.recipe and it did not work. It says that it doesn't trust the certificate. But the wget command doesn't work on my MINT-Linux either where the update of the recipes works during ebook-convert. Any hint for whats going on in Rasbian? |
![]() |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The version of calibre is too old. Nowadays recipes are distributed using a pinned SHA-256 private certificate -- you need to run a modern version of calibre for it to work.
|
![]() |
![]() |
![]() |
#8 |
Member
![]() Posts: 14
Karma: 10
Join Date: Dec 2016
Device: Tolino
|
Thanks for the hint. I did not expect the repositories been that far behind.
Unfortunateley installation of the binarys failed, when I follow your instructions on the download page using: sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.py | sudo python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()" I get: Downloading calibre-2.75.0-i686.txz 100% [================================================== ========================================] Downloaded 61583400 bytes Checking downloaded file integrity... Extracting files to /opt/calibre ... Extracting application files... Traceback (most recent call last): File "<string>", line 1, in <module> File "<string>", line 673, in main File "<string>", line 666, in run_installer File "/usr/lib/python2.7/subprocess.py", line 522, in call return Popen(*popenargs, **kwargs).wait() File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child raise child_exception Could you please help once again? |
![]() |
![]() |
![]() |
#9 |
Member
![]() Posts: 14
Karma: 10
Join Date: Dec 2016
Device: Tolino
|
Oh... I have an Idea... RasberryPi is running an ARM processor... this might be a problem I guess...
|
![]() |
![]() |
![]() |
#10 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yeah I dont maintain ARM builds of calibre. You have to build it yourself or find someone who has built an updated version.
|
![]() |
![]() |
![]() |
#11 |
Member
![]() Posts: 14
Karma: 10
Join Date: Dec 2016
Device: Tolino
|
Is there a way to find out who did the last compilation for ARM (RaspberryPi) so I could ask the one to compile a newer version.
As I'm far to much of a linux noop and you said calibre is pretty complex I doubt that I will make a working compilation by my own ![]() I would love to use my Raspberry to download the news erveryday. As it is running anyway and thus would be perfect for the job! |
![]() |
![]() |
![]() |
#12 |
Member
![]() Posts: 14
Karma: 10
Join Date: Dec 2016
Device: Tolino
|
Hi, back again,
worked on that a bit by my own. Managed to get calibre 2.7 installed out of the testing repositories: https://www.raspberrypi.org/forums/v...8&t=169037&e=0 EDIT And updates are now working. Last edited by Idefix; 12-23-2016 at 04:18 PM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
New Scientist recipe not working again | dinwood | Recipes | 4 | 12-31-2015 12:09 PM |
the onion recipe is not working! | earlybookworm | Recipes | 1 | 12-24-2013 06:37 AM |
Metadata update not working since latest update... | Rickkins | Library Management | 4 | 10-04-2011 03:12 AM |
New Yorker recipe not working ... | cartesio | Calibre | 11 | 08-20-2009 01:24 AM |
Recipe not working | phkoech | Calibre | 3 | 08-13-2009 05:41 PM |