Jump to content

Receiving "Evernote XML Error 4" when trying to import from Mac Notes


Recommended Posts

I'm trying to use the Mac script on https://lwilli.github.io/2018-02-04-How-to-copy-mac-notes-to-evernote/ to copy notes from Mac Notes into Evernote. I've done this before with another Mac, but this time it always fails on certain notes with the following error: "Evernote got an error: The operation couldn't be completed. (Evernote XML Error error 4.)". 

If I open the Activity Log there are a few more detailed errors:

2018/09/07 14:14:43:082 E|*** 17492 -[ENXHTMLToENMLConverter convertEditorXHTMLFile:toENMLFile:resourceHashStrings:error:] | Parse failed converting XHTML to ENML: Error Domain=Evernote XML Error Code=4 "(null)" UserInfo={ENXMLErrorDomain_LibXMLError=46}
2018/09/07 14:14:43:083 E|*** 17492 -[ENMacNoteMO convertXHTMLToENML:] | Error converting xhtml to enml for note <ENMacNoteMO: 0x60c0003aafe0 MOID: 0x1340006b <x-coredata://D46C7834-A9C0-4660-8149-B274F27E81DA/ENNote/p77> GUID: 0a8f8e71-1f14-4673-a855-10640d0f11aa Account: (null) USN: 0 ContentUSN: 0 Title: Effective Java Second Edition Dirty: 1 ContentDirty: 1 Hash: <0984a153 b1ee0d2f 0c1c5042 80048839> Length: 170>: Error Domain=Evernote XML Error Code=4 "(null)" UserInfo={ENXMLErrorDomain_LibXMLError=46}
2018/09/07 14:14:43:083 E|*** 17492 -[ENMacNoteMO(AppleScript) setScriptingHtml:]_block_invoke | AppleScript update note html failed: Error Domain=Evernote XML Error Code=4 "(null)" UserInfo={ENXMLErrorDomain_LibXMLError=46}

After extensive searching, I've only found two forums talking about this issue: https://discussion.evernote.com/topic/16575-archived-cant-synchronize-content-si-not-valid/ and https://discussion.evernote.com/topic/12622-archived-checklist-items-not-syncing/. However, neither of these have solved my problem.

How can I fix this issue? It's currently blocking me from using Evernote because I don't have any of my old notes.

Link to post
  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...