Error importing notes from format: enex

Operating system

macOS

Joplin version

3.7.21

Desktop version info

Joplin 3.7.21 (prod, darwin)

Device: darwin, Apple M4 Pro
Client ID: bd2579d728844040bd3660990823ed76
Sync Version: 3
Profile Version: 54
Keychain Supported: Yes
Alternative instance ID: -
Sync target: (None)
Editor: Markdown

Revision: e41516e

Backup: 1.5.1
Freehand Drawing: 4.3.0

What issue do you have?

Body

  • Input format: enex
  • Output format: md

Errors

Error: Line 15193056:0: "Chinese big brother is watching...": Unclosed root tag
Line: 15193056
Column: 0
Char: 
    at error (file:///Applications/Joplin.app/Contents/Resources/fork-sax/lib/sax.js:651:10)
    at strictFail (file:///Applications/Joplin.app/Contents/Resources/fork-sax/lib/sax.js:677:7)
    at end (file:///Applications/Joplin.app/Contents/Resources/fork-sax/lib/sax.js:658:47)
    at SAXParser.end (file:///Applications/Joplin.app/Contents/Resources/fork-sax/lib/sax.js:154:24)
    at SAXStream.u.end (file:///Applications/Joplin.app/Contents/Resources/fork-sax/lib/sax.js:248:18)
    at ReadStream.onend (node:internal/streams/readable:950:10)
    at Object.onceWrapper (node:events:630:28)
    at ReadStream.emit (node:events:509:28)
    at endReadableNT (node:internal/streams/readable:1729:12)
    at processTicksAndRejections (node:internal/process/task_queues:90:21)

I'd keep the original ENEX file and try a fresh Evernote export into a separate file first. In forum threads 50156 and 47834, users reported that a new export resolved their import problem; in 50156, exporting with a maximum file size also helped. Those are user reports, not a confirmed diagnosis of your file. Does a fresh export fail with the same error and note title?

Hi
Thanks for this.
If exported to a NAS. When I exported to my Mac's SSD and then imported, it worked fine.
Thanks again
Cheers
Iain