TypeError: can't compare offset-naive and offset-aware datetimes

Bug #1761248 reported by Stephen Thompson
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
calibre
Expired
Undecided
Unassigned

Bug Description

Sorting columns by clicking on them and now I receive the following:

calibre 3.18 embedded-python: True is64bit: True
Linux-4.13.0-37-generic-x86_64-with-debian-stretch-sid Linux ('64bit', 'ELF')
('Linux', '4.13.0-37-generic', '#42-Ubuntu SMP Wed Mar 7 14:13:23 UTC 2018')
Python 2.7.12
Linux: ('debian', 'stretch/sid', '')
Interface language: en_GB
Successfully initialized third party plugins: Reading List (1, 6, 6) && Barnes & Noble (1, 2, 14) && Kobo Utilities (2, 6, 0) && Amazon.com Multiple Countries (1, 0, 0) && Goodreads Sync (1, 11, 0) && Manage Series (1, 2, 8) && Kobo Books (1, 3, 0) && Goodreads (1, 1, 13) && KoboTouchExtended (3, 0, 2) && FanFicFare (2, 23, 0)
Traceback (most recent call last):
  File "site-packages/calibre/gui2/library/models.py", line 481, in sort
  File "site-packages/calibre/gui2/library/models.py", line 489, in _sort
  File "site-packages/calibre/db/view.py", line 267, in incremental_sort
  File "site-packages/calibre/db/view.py", line 247, in _do_sort
  File "site-packages/calibre/db/cache.py", line 63, in call_func_with_lock
  File "site-packages/calibre/db/cache.py", line 952, in multisort
TypeError: can't compare offset-naive and offset-aware datetimes

If I shutdown calibre and restart all is ok.

Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1761248

Attach the metadata.db file from your calibre library folder.

 status incomplete

Changed in calibre:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for calibre because there has been no activity for 60 days.]

Changed in calibre:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.