oliveryh / pandora

0 stars 0 forks source link

Kobuddy sanity check is causing some books to fail #4

Closed oliveryh closed 1 year ago

oliveryh commented 4 years ago

The following error seems to be occurring on books that are created with html2epub. It may be Chinese characters or alternatively some other metadata that html2epub is causing.

One workaround is to run the following before doing anything with the SQLite database:

DELETE FROM Event WHERE EventType == 3

This ends up with the following error if left unhandled.

File "/home/oliveryh/Documents/notion-kobo-assistant/venv/lib/python3.7/site-packages/kobuddy/__init__.py", line 639, in _iter_events_aux_Event
    assert part_name_len < 1000, context()
oliveryh commented 1 year ago

No longer relevant as moved away from kobo