![]() |
#1 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 735
Karma: 35936
Join Date: Apr 2011
Location: Shrewsury, MA
Device: Lenovo Android Tablet
|
All recipes broken for me...?
For 3 days, all I get is this. what does date value out of range mean and can I fix it?
calibre 2.59 [64bit] embedded-python: True is64bit: True Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE') ('Windows', '7', '6.1.7601') Python 2.7.9 Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free') Traceback (most recent call last): File "site-packages\calibre\gui2\dialogs\scheduler.py", line 595, in check File "site-packages\calibre\web\feeds\recipes\model.py", line 400, in get_to_be_downloaded_recipes File "site-packages\calibre\web\feeds\recipes\collection.py", line 354, in get_to_be_downloaded_recipes File "site-packages\calibre\web\feeds\recipes\collection.py", line 446, in recipe_needs_to_be_downloaded OverflowError: date value out of range Update 1: I'm now running the recipes manually, and most (not all) get this error almost immediately, but now are continuing to download if I click OK on the error msg. I am stumped... Update 2: I will try reinstalling Calibre... Update 3: Reinstall fixed nothing. Last edited by NSILMike; 06-20-2016 at 07:59 PM. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That's a strange error it indicates that python is unable to convert dates into your local timezone. Attach the scheduler.xml file from your calibre config directory.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 735
Karma: 35936
Join Date: Apr 2011
Location: Shrewsury, MA
Device: Lenovo Android Tablet
|
Quote:
Update: reinstalled 32-bit, and no change. still fails. also no scheduler.xml file anywhere on my C: drive... Last edited by NSILMike; 06-21-2016 at 09:30 PM. |
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Preferences->Miscellaneous->Open configuration directory
|
![]() |
![]() |
![]() |
#5 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 735
Karma: 35936
Join Date: Apr 2011
Location: Shrewsury, MA
Device: Lenovo Android Tablet
|
Thanks.
Last edited by kovidgoyal; 06-21-2016 at 08:31 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Works for me with that scheduler.xml on windows 10. Try running the following in a console and post the output
Code:
calibre-debug -c "from calibre.utils.iso8601 import *; print UNDEFINED_DATE.astimezone(local_tz)" |
![]() |
![]() |
![]() |
#7 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 735
Karma: 35936
Join Date: Apr 2011
Location: Shrewsury, MA
Device: Lenovo Android Tablet
|
I get:
0100-12-31 19:00:00-05:00 |
![]() |
![]() |
![]() |
#8 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 735
Karma: 35936
Join Date: Apr 2011
Location: Shrewsury, MA
Device: Lenovo Android Tablet
|
New symptom: When running calibre, and not using any recipes I'm still getting that error msg...
|
![]() |
![]() |
![]() |
#9 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yes you will get the error whenever the recipe scheduler tries to read dates, regardless of whether a recipe is actually downloading at the moment.
I dont understand how it possible to get that error in the first place, but I have added code to catch and ignore it for the next release. |
![]() |
![]() |
![]() |
#10 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Ah, got it, there is an invalid date in that file, look for 0001-01-01 and change it to
2001-01-01 and you should be fine |
![]() |
![]() |
![]() |
#11 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 735
Karma: 35936
Join Date: Apr 2011
Location: Shrewsury, MA
Device: Lenovo Android Tablet
|
|
![]() |
![]() |
![]() |
#12 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 735
Karma: 35936
Join Date: Apr 2011
Location: Shrewsury, MA
Device: Lenovo Android Tablet
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Recipes of "Berliner Zeitung" and "Tagesspiegel" broken | axlben | Recipes | 2 | 04-29-2016 04:52 AM |
Gamasutra recipes broken | tom_a_sparks | Recipes | 8 | 11-11-2015 12:25 PM |
Free (iTunes) Tasting Chef's Recipes: Summer 2012 Cookbook [Enhanced Recipes] | ATDrake | Deals and Resources (No Self-Promotion or Affiliate Links) | 3 | 08-15-2012 11:15 PM |
Asian Recipes - 50 Tasty & Easy Unique Exotic Recipes (With Images Of Each Dish And C | asiafoodguru | Self-Promotions by Authors and Publishers | 1 | 08-10-2012 05:01 AM |
Times Of India, DNA recipes broken? | mihirp | Recipes | 1 | 09-23-2011 03:09 PM |