_lzma.LZMAError: Corrupt input data #87
Replies: 1 comment
-
Encountered what seems to be a similar problem. After exporting 2601 notes out of 3958, it failed with the below. Traceback (most recent call last): Is there a way to catalog the problematic notes and continue the backup? |
Beta Was this translation helpful? Give feedback.
-
I'm trying to use evernote-backup to make enex backups of all my notebooks. I have lots of notebooks with lots of notes with lots of images. I ran "evernote-backup init-db" and "evernote-backup sync". It took quite some time, but did finish. The db file is more than 18GB. Then I ran "evernote-backup export" -- it ran for several minutes then crashed with this:
Reading database en_backup.db...
Exporting notebooks...
[###############---------------------] 19/43 00:10:24
Traceback (most recent call last):
File "evernote_backup\cli.py", line 305, in main
File "click\core.py", line 1157, in call
File "click\core.py", line 1078, in main
File "click\core.py", line 1688, in invoke
File "click\core.py", line 1434, in invoke
File "click\core.py", line 783, in invoke
File "evernote_backup\cli.py", line 260, in export
File "evernote_backup\cli_app.py", line 160, in export
File "evernote_backup\note_exporter.py", line 64, in export_notebooks
File "evernote_backup\note_exporter.py", line 88, in _export_active
File "evernote_backup\note_exporter.py", line 99, in _export_notes
File "evernote_backup\note_exporter.py", line 122, in _output_notebook
File "evernote_backup\note_exporter.py", line 150, in _write_export_file
File "evernote_backup\note_storage.py", line 303, in iter_notes
File "lzma.py", line 334, in decompress
_lzma.LZMAError: Corrupt input data
I tried twice, same result. Then I tried again with -v which shows which note it is failing on (I think), but there are several notes in the notebook with the title shown in the log output:
2024-04-15 20:48:26,026 | [DEBUG] | 9652 | Exporting note 'Snapshot' [33101ceb-841a-4a75-8ec2-9ba40c0b6400], notebook_id [84c31c85-ab7e-4b8c-b192-cfbd9299851c]
Question: Is there a way to figure out exactly which note it is failing on, so I can remove it or try to fix it? How can I use the ID shown in square brackets above after the title? Or is there a way to tell the export to continue on and just skip the note with "Corrupt input data"?
Beta Was this translation helpful? Give feedback.
All reactions