View Single Post
Old 05-01-2016, 02:47 AM   #10
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,486
Karma: 8025704
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Terisa de morgan View Post
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
All I can see from that exception trace is that the date parser wasn't able to handle what was passed into it. I can repeat this by replacing the date with something that isn't recognizable as a date. For example, if I use French words for the month then I get the same exception.

Can you give me some source values and the S/R expression you are using?
chaley is offline   Reply With Quote