notable / dumper

Library for extracting attachments, notes and metadata out of formats used by popular note-taking apps.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error report: Expected "#", ":", "\n", "\r", or [ \t] but "s" found.

koakh opened this issue · comments

  • OS Version: linux 5.9.1-1-default
  • Notable Version: v1.8.4
SyntaxError: Expected "#", ":", "\n", "\r", or [ \t] but "s" found.
    at peg$buildStructuredError (file:///tmp/.mount_NotablmRRhdm/resources/app.asar/renderer/chunk.801f2cae377ea1944a34.js:2:17119)
    at Object.peg$parse [as parse] (file:///tmp/.mount_NotablmRRhdm/resources/app.asar/renderer/chunk.801f2cae377ea1944a34.js:2:31526)
    at Function.cson2json [as default] (file:///tmp/.mount_NotablmRRhdm/resources/app.asar/renderer/chunk.801f2cae377ea1944a34.js:2:11347)
    at BoostnoteProvider.getNotesRaw (file:///tmp/.mount_NotablmRRhdm/resources/app.asar/renderer/chunk.801f2cae377ea1944a34.js:2:10004)
    at BoostnoteProvider.dump (file:///tmp/.mount_NotablmRRhdm/resources/app.asar/renderer/chunk.801f2cae377ea1944a34.js:2:3430)
    at async Object.dump (file:///tmp/.mount_NotablmRRhdm/resources/app.asar/renderer/chunk.801f2cae377ea1944a34.js:2:201681)
    at async import_Import.import (file:///tmp/.mount_NotablmRRhdm/resources/app.asar/renderer/renderer.js:2:24287)

Interesting, it looks like you were either trying to import some malformed Boostnote notes, or more likely the parser we are using isn't parsing some things correctly 🤔 I'll have to take a closer look at that.