streetwriters / notesnook-importer

Import your notes from any app into Notesnook
https://importer.notesnook.com/
GNU General Public License v3.0
48 stars 9 forks source link

JSON error using web importer on Standard Notes exported zip file #69

Open mmlmrx opened 1 year ago

mmlmrx commented 1 year ago

Hello! Using a Standard Notes exported decrypted zip file, I am unable to import using the Notesnook Importer. I have 600+ notes in SN but it only finds around 300 before giving this error:

In Vivaldi or Chrome, the error is: 1. Expected ',' or ']' after array element in JSON at position 21151 In Firefox, the error is: 1. JSON.parse: expected ',' or ']' after array element at line 1 column 21152 of the JSON data

This has been happening for over 6 months now. I usually try once a month or so, using a newly-exported zip file. The most recent version of the exporter I tried was 1.7.5. I have tried using Firefox, Vivaldi, and Chrome. I have notes of various types in SN - plain text, sheets, etc.

If I could figure out which note is having the formatting problem, I could remove it before running the import. I know this issue could be hard to trace without my data file, which is of course private. Is it possible the importer could display the name of the node it was last working on when the parsing failure happened? Or would that be a potential privacy issue? Is there some other way I can narrow it down, I opened the main file in JSONedit, but the validation did not find any errors.

Please let me know if there is anything else I can try.

Thanks!