-
-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Error exporting notes #38
Comments
I had the exact same problem right now. The culprit in my case was a single note whose creation date, as reported within EN 10, was In my case, this one note was no longer useful, so I deleted it and expunged it from Trash in EN itself. Then, after a Thanks for a great tool! Editing to add: I've kept an Evernote-Legacy exported .enex of the faulty note if helpful, but the only remarkable thing about it is the clearly corrupt |
I'm not running on a machine where I can try changing python code, but perhaps this special case, which is erroneous data within EN itself, could be simply caught with a |
It may be caused by an invalid timestamp (for me it's a negative timestamp). I fixed it in PR #48. Alternatively, you can try...catch the OSError and simply ignore all cases. |
Windows 7 x64, evernote-backup 1.9.3 $ evernote-backup
Usage: evernote-backup.exe [OPTIONS] COMMAND [ARGS]...
Try 'evernote-backup.exe --help' for help.
$ evernote-backup --single-notes export ./myfiles
Error: No such option: --single-notes
$ evernote-backup export --single-notes ./myfiles
Reading database en_backup.db...
Exporting notebooks...
[#################-------------------] 9/19 00:00:12
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 97, in _export_notes
File "evernote_backup\note_exporter.py", line 115, in _output_single_notes
File "evernote_backup\note_exporter.py", line 128, in _write_export_file
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\...\\myfiles\\loooooong.enex' Two failures here:
|
evernote-backup version
1.9.2
What OS are you using?
Windows
OS Version / Linux distribution
Windows 10
Bug description
Sync and auth works fine, but exporting notes give an error. Allways same notebook (8 from 91), no matter if single export or notebook export.
Log excerpt
The text was updated successfully, but these errors were encountered: