![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 83
Karma: 499304
Join Date: Jul 2011
Device: Kindle
|
oldest_article not working, all RSS items downloaded instead
Having issues with ebook-convert not honoring the oldest_article attribute in recepies. Instead, all artices in the feed are downloaded.
I am running this on a Raspberry Pi (which has no hardware clock), so I thought maybe something was wrong with the dates, but I have tested both linux date command and python datetime and they both work fine. (See examples below.) Any ideas as to what might be causing oldest_article to not work? Edit: Added python version below. Date output (Linux) Code:
root@raspberrypi:~# date Mon Jul 9 11:54:30 CEST 2012 Code:
Current date and time using str method of datetime object: 2012-07-09 11:55:16.431494 Code:
root@raspberrypi:~/calibre# ebook-convert --version ebook-convert (calibre 0.8.51) Code:
root@raspberrypi:~# python --version Python 2.7.3rc2 http://bazaar.launchpad.net/~kovid/c.../idg_se.recipe Command being run: Code:
ebook-convert IDG.recipe test.mobi Last edited by khromov; 07-09-2012 at 06:08 AM. |
![]() |
![]() |
![]() |
#2 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Moderator Notice
Moved the thread to Recipes calibre sub-forum. The development forum is not the place to report possible bugs. Please read the "PLEASE READ BEFORE POSTING - The purpose of this subforum" sticky post from the top of the Development forum. Last edited by DoctorOhh; 07-09-2012 at 10:58 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,198
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
ebook-convert uses the exact same code as the calibre GUI. There is something on your system that is causing this. What that is is impossible to say offhand, you will need to run calibre from source and stick print statements in various places in feeds/__init__.py to see what is happening.
One basic check is: calibre-debug -c "from calibre.utils.date import utcnow; print utcnow()" |
![]() |
![]() |
![]() |
#4 | ||
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 83
Karma: 499304
Join Date: Jul 2011
Device: Kindle
|
Quote:
Quote:
Code:
root@raspberrypi:~# calibre-debug -c "from calibre.utils.date import utcnow; print utcnow()" 2012-07-09 21:03:32.904092+00:00 |
||
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Keep track of already downloaded items | bartoszcisek | Recipes | 0 | 04-28-2012 02:07 PM |
Tablet Where are downloaded items stored on a NT? | bfollowell | Nook Color & Nook Tablet | 3 | 01-18-2012 09:28 PM |
How to not create a document/mobi, if there are no unread RSS items | djg | Recipes | 0 | 01-17-2012 08:11 AM |
Tegan: re already downloaded feed items | Starson17 | Recipes | 4 | 01-20-2011 03:07 PM |
K1 (v1.2): downloaded items (Whispernet) don't show up until a restart is performed | texasnightowl | Amazon Kindle | 4 | 05-01-2009 05:21 PM |