-
-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Labels
bugSomething isn't workingSomething isn't working
Description
When adding a highlight from firefox, this error appears in the docker debug log.
Traceback (most recent call last):
File "/home/nonroot/pdfding/pdf/service.py", line 292, in set_highlights_and_comments
date_time_string = f'{annotation_object["/CreationDate"].split(':')[-1]}-+00:00'
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/home/nonroot/.venv/lib/python3.12/site-packages/pypdf/generic/_data_structures.py", line 472, in getitem
return dict.getitem(self, key).get_object()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: '/CreationDate'
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working