Import from evernote, lost some notes

Hello,

I have more than 4000 notes on evernote, but after I imported from evernote to Joplin, there are only about 2000 notes on Joplin. I have tried it several times and all have the same result.

I am on windows 10, Joplin version 1.0.179

Could you check the log and console to see what might be the issue? https://joplinapp.org/debugging

Hello,
This is the log and console screenshort.

log.txt (92.1 KB)

There’s something invalid in your ENEX file, or maybe something we don’t support properly. I don’t assume you could share your ENEX file?

If not, could you open it with a text editor then go to line 14, column 362240 (as in the error message), and check what’s there? If you could post say, the 100 characters before and after that, that might help.

Thanks for your help.
I finally solved the problem.
The reason is that the title contains special characters such as “<”, “>”, “* &”.
I use standard-notes-to-enex.py (https://github.com/tanrax/standard-notes-to-evernote-or-joplin/blob/master/standard-notes-to-enex.py) to migrate Standard Notes to Evernote, and then import to Joplin.
My Standard Notes include the above special characters, but this script don’t handle these special characters correctly.
I slightly modified the script:

title = title.replace("<","&lt;").replace(">","&gt;").replace("&","&amp;").replace("'","&apos;").replace('"',"&quot;")

Thanks for your help.
I finally solved the problem.
The reason is that the title contains special characters such as “<”, “>”, “* &”.
I use standard-notes-to-enex.py (https://github.com/tanrax/standard-notes-to-evernote-or-joplin/blob/master/standard-notes-to-enex.py) to migrate Standard Notes to Evernote, and then import to Joplin.
My Standard Notes include the above special characters, but this script don’t handle these special characters correctly.
I slightly modified the script:

title = title.replace("<","&lt;").replace(">","&gt;").replace("&","&amp;").replace("'","&apos;").replace('"',"&quot;")