View Single Post
Old 05-01-2016, 02:26 AM   #8
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,600
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by chaley View Post
src/calibre/utils/date.py

The issue fixed is that dates expressed without a day-of-the-month get that day from the current month. That day can be out-of-range for the actual month in the date. For example, the 30th and 31st are out-of-range for leap-February, and the 29th is out-or-range for non leap-February. And so on.
I'm running from source with the new date.py, but I still have the problem. This is the debug trace:

Spoiler:

Traceback (most recent call last):
File "D:\Lectores\calibre\Codigo\calibre-2.56.0\src\calibre\gui2\dialogs\metadata_bulk.py", line 122, in do_it
File "D:\Lectores\calibre\Codigo\calibre-2.56.0\src\calibre\gui2\dialogs\metadata_bulk.py", line 291, in do_all
File "D:\Lectores\calibre\Codigo\calibre-2.56.0\src\calibre\db\cache.py", line 57, in call_func_with_lock
File "D:\Lectores\calibre\Codigo\calibre-2.56.0\src\calibre\db\cache.py", line 1058, in set_field
File "D:\Lectores\calibre\Codigo\calibre-2.56.0\src\calibre\db\write.py", line 512, in set_books
File "D:\Lectores\calibre\Codigo\calibre-2.56.0\src\calibre\db\write.py", line 512, in <dictcomp>
File "D:\Lectores\calibre\Codigo\calibre-2.56.0\src\calibre\db\write.py", line 70, in adapt_datetime
File "D:\Lectores\calibre\Codigo\calibre-2.56.0\src\calibre\utils\date.py", line 131, in parse_date
File "site-packages\python_dateutil-2.2-py2.7.egg\dateutil\parser.py", line 748, in parse
File "site-packages\python_dateutil-2.2-py2.7.egg\dateutil\parser.py", line 310, in parse
TypeError: 'NoneType' object is not iterable
Terisa de morgan is offline   Reply With Quote