Hi,
i am using joplin CLI 1.6.4 (prod), and since the last update of manjaro I get this error. I've seen a precedent message here but it didn't provide any solution.
Did I miss something ?
I've tried to uninstall it and reinstall with npm but there is no change.
Joplin start and then crash with this message.
Sorry for the trouble...
Unhandled promise rejection Promise {
<rejected> Error: Invalid patch string: @@ -0,0 +1,5 @@\n+Blini\n
at diff_match_patch.patch_fromText (/home/julien/.nvm/versions/node/v14.5.0/lib/node_modules/joplin/node_modules/diff-match-patch/index.js:2092:13)
at Function.applyTextPatch (/home/julien/.nvm/versions/node/v14.5.0/lib/node_modules/joplin/node_modules/@joplin/lib/models/Revision.js:24:15)
at Function.mergeDiffs (/home/julien/.nvm/versions/node/v14.5.0/lib/node_modules/joplin/node_modules/@joplin/lib/models/Revision.js:197:24)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Function.deleteOldRevisions (/home/julien/.nvm/versions/node/v14.5.0/lib/node_modules/joplin/node_modules/@joplin/lib/models/Revision.js:234:21)
at async RevisionService.maintenance (/home/julien/.nvm/versions/node/v14.5.0/lib/node_modules/joplin/node_modules/@joplin/lib/services/RevisionService.js:262:5)
} reason: Error: Invalid patch string: @@ -0,0 +1,5 @@\n+Blini\n
at diff_match_patch.patch_fromText (/home/julien/.nvm/versions/node/v14.5.0/lib/node_modules/joplin/node_modules/diff-match-patch/index.js:2092:13)
at Function.applyTextPatch (/home/julien/.nvm/versions/node/v14.5.0/lib/node_modules/joplin/node_modules/@joplin/lib/models/Revision.js:24:15)
at Function.mergeDiffs (/home/julien/.nvm/versions/node/v14.5.0/lib/node_modules/joplin/node_modules/@joplin/lib/models/Revision.js:197:24)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Function.deleteOldRevisions (/home/julien/.nvm/versions/node/v14.5.0/lib/node_modules/joplin/node_modules/@joplin/lib/models/Revision.js:234:21)
at async RevisionService.maintenance (/home/julien/.nvm/versions/node/v14.5.0/lib/node_modules/joplin/node_modules/@joplin/lib/services/RevisionService.js:262:5)
{
npm: '6.14.5',
ares: '1.16.0',
brotli: '1.0.7',
cldr: '37.0',
icu: '67.1',
llhttp: '2.0.4',
modules: '83',
napi: '6',
nghttp2: '1.41.0',
node: '14.5.0',
openssl: '1.1.1g',
tz: '2020a',
unicode: '13.0',
uv: '1.38.0',
v8: '8.3.110.9-node.23',
zlib: '1.2.11'
}
DISTRIB_ID=ManjaroLinux
DISTRIB_RELEASE=21.0.1
DISTRIB_CODENAME=Ornara
DISTRIB_DESCRIPTION="Manjaro Linux"