Maboroshy / Note-Station-to-markdown

The cross-platform script that converts notes from Synology Note Station to markdown files
Apache License 2.0
240 stars 51 forks source link

Crash when trash is not empty #10

Closed AMTQ closed 5 years ago

AMTQ commented 5 years ago

When the trash is not empty, it gives me this error on line 132: parent_notebook = notebook_id_to_path_index[parent_notebook_id]

KeyError: '1027_#00000000'

Emptying the trash and re-exporting the notebook solves the issue.

Maboroshy commented 5 years ago

I can't reproduce it. I get nothing from trash exported to .nsx. I've put an exception handling though.