Error importing notes from format: enex

Operating system

Windows

Joplin version

3.7.22

Desktop version info

Joplin 3.7.22 (prod, win32)

Appareil : win32, Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz
ID client : 01ba73541339412c9a5a3ceacb647c92
Version de Synchro : 3
Version du profil : 54
Trousseau supporté : Oui
ID d'instance alternatif : -
Cible de synchronisation : Joplin Cloud
Éditeur : Rich Text

Révision : 95cab5a

Backup: 1.5.1
Freehand Drawing: 4.3.0

What issue do you have?

Body

  • Input format: enex
  • Output format: html

Errors

Error: Line 7555:28: "Liste de lectures et recommandations de livres": Unexpected close tag
Line: 7555
Column: 28
Char: >
    at error (file:///C:/Users/Aline%20Baron/AppData/Local/Programs/Joplin/resources/app.asar/main-html.bundle.js:3607:16)
    at strictFail (file:///C:/Users/Aline%20Baron/AppData/Local/Programs/Joplin/resources/app.asar/main-html.bundle.js:3607:416)
    at closeTag (file:///C:/Users/Aline%20Baron/AppData/Local/Programs/Joplin/resources/app.asar/main-html.bundle.js:3609:1682)
    at SAXParser.write (file:///C:/Users/Aline%20Baron/AppData/Local/Programs/Joplin/resources/app.asar/main-html.bundle.js:3611:4804)
    at SAXStream.u.write (file:///C:/Users/Aline%20Baron/AppData/Local/Programs/Joplin/resources/app.asar/main-html.bundle.js:3603:8237)
    at ReadStream.ondata (node:internal/streams/readable:1012:24)
    at ReadStream.emit (node:events:509:28)
    at addChunk (node:internal/streams/readable:563:12)
    at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
    at ReadStream.Readable.push (node:internal/streams/readable:394:5)

Could you please share the ENEX file that is causing a problem? Or perhaps the note that appears in the error message?

Idées de Lectures livres et films (12 notes).enex
Voici le carnet qui pose problème et je ne sais pas quelle note en particulier.Cordialement

This cannot be downloaded. Any way make the link public? Or send it to my via a private message?

can I send y a WeTransfer with the file to this email address?
A

I believe you can add the file to WeTransfer and paste the link here. WeTransfer expires in 3 days so it's not the greatest file-sharing program.

If you instead use a service like https://transfer.it it can be stored on a temporary transfer server for up to 90 days.Your choice.

Yes either of these is fine for me

To use WeTransfer, I need your email address.

Hello, I've sent you a PM

Thank you for sending the file. This is now fixed in https://github.com/laurent22/joplin/commit/be60c3a2fd2d961a1f3d7c6b58adc3749e407add - Evernote has recently started generating corrupted ENEX files, so it was breaking the importer. So there will be a workaround for this in the next pre-release 3.8

What I could suggest is to keep your imported Evernote files in a separate notebook, and once 3.8 is available, delete that notebook, and import the ENEX again (which this time should happen without an error)

@111swana111 @laurent

There is a very nice Evernote backup program available on GitHub that does its own independent backup of all of the notebooks in a person's account. It might, in this case, bypass any bugs that have been introduced in the client software because I've never had any issues.

That's very possible. Any half competent developer can export data without generating corrupted xml files, so I wouldn't be surprised if there was a good open source alternative out there. Maybe they get the raw data and convert it to a proper format.

This free open-source utility logs into the Evernote account and attempts to download all the notebooks and the notes inside them. It stores them in an SQLite database file. It makes no difference if it gets interrupted midstream or if it runs until it completes. If you run it again it will just pick up where it left off, adding data to the database file.

After you've completed your backup you can just keep that database handy. If you ever add an entry or change an entry in the Evernote data, you can just rerun the backup and it will update the changes.

When you're ready to import data into Joplin, there's a command you run in the terminal window. That will export from the SQLite database into a subdirectory, with one .enex file for each notebook that was in the Evernote database. If Evernote had 100 notebooks there will be 100 files in the subdirectory. All you have to do is go into Joplin and import them. You can import one for starters, just to see how it goes and see what it looks like. When you're ready you can just tell it to import the whole directory and you're done.

This is how I migrated myself from Evernote to Joplin.