jonaswinkler / paperless-ng

A supercharged version of paperless: scan, index and archive all your physical documents
https://paperless-ng.readthedocs.io/en/latest/
GNU General Public License v3.0
5.38k stars 352 forks source link

[Other] Overflow error while exporting documents before UNIX epoch #1706

Open Yann21 opened 2 years ago

Yann21 commented 2 years ago

I tried to run the document_exporter and received the following error: OverflowError: mktime argument out of range

It turns out that I had input a document as dating from 1900 and any date before UNIX epoch (1970) will return the previous overflow error. For future reference, changing the date solved my problem and I was able to export my documents.