Skip to content

Add timestamp field so calibre koreader sync plugin works with progress sync. #116

@famewolf

Description

@famewolf

Currently koreader sync fails to use the progress sync server to populate custom fields that track progress, page position etc. The error given is:

calibre 9.8 embedded-python: True
Linux-7.0.6-arch1-1-znver3-x86_64-with-glibc2.43 Linux ('64bit', 'ELF')
('Linux', '7.0.6-arch1-1-znver3', '#1 SMP PREEMPT_DYNAMIC Tue, 12 May 2026 19:19:55 +0000')
Python 3.14.4
Interface language: None
EXE path: /opt/calibre/bin/calibre
Successfully initialized third party plugins: Count Pages (1, 15, 2) && FanFicFare (4, 57, 0) && Generate Cover (2, 3, 7) && KOReader Sync (0, 8, 2) && Modify ePub (1, 8, 9)
Traceback (most recent call last):
File "calibre_plugins.koreader.action", line 1068, in sync_progress_from_progresssync
'column_date_synced': datetime.fromtimestamp(progress_data['timestamp']/1000, tz=local_tz),
~~~~~~~~~~~~~^^^^^^^^^^^^^
KeyError: 'timestamp'

This field is present in official progress sync v 9.8.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions