View Single Post
Old 02-01-2025, 07:23 PM   #730
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,221
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by onibocho View Post
Thanks for the reply. It doesn't look like the date is a problem. The oldest date value I have is 2003. It looks like the problem is coming from the Auto Add function.

I thought this function would automatically add all the books on that shelf with TBR as the value, but when I add TBR it throws the error. If I add tbr it don't, but still doesn't add the books.
I'm sorry, but I'll have to insist. The error points the line 1287:
Code:
date = date.astimezone()
When you have an invalid date, the astimezone() method fails with 'OSError:[Errno 22] Invalid argument'. The date referred here is the one coming from your '#goodreads_date_read' custom column, not the calibre standard 'Date' column.

The invalid date is present in one (or more) of your TBR books. Please check again.
thiago.eec is offline   Reply With Quote