zadam / trilium

Build your personal knowledge base with Trilium Notes
GNU Affero General Public License v3.0
27.3k stars 1.91k forks source link

ENEX Format not recognized #241

Closed meyer-roessl closed 5 years ago

meyer-roessl commented 5 years ago

When Importing ENEX files (right-click on node, import into node), the following error message ist displayed after selecting the ENEX file:

Import error: unrecognized extension .enex, must be .tar or .opml

screenshot: grafik

App version: 0.23.1 Build date: 2018-10-25T18:13:37+02:00 0c007566ad31a98ad585fa97435fc9306ec0a3c8

Or have I done something wrong?

zadam commented 5 years ago

Hello, ENEX import is available only in 0.24 which is currently in beta - https://github.com/zadam/trilium/releases You can try it, it's pretty stable (except for one search related issue).

I apologize for this confusion - the problem is that documentation doesn't use branching so the docs and the actual version is not in sync at the moment.

meyer-roessl commented 5 years ago

Hi, I can confirm it works in 0.24. :-) There are some html converting issues ( there is a 'lang="de" style="font-family:Calibri;font-size:11.0pt">' at the beginning of every note, seems somewhere is the '<' lost), however since I converted from OneNote -> Evernote -> ENEX, I first need to make sure it does not come from this previous convertions. Closing this issue. Thanks for your quick reply, appreciate your great work. I really like where trilium is going, please keep up the good work. 👍

zadam commented 5 years ago

I would really appreciate if you could send me a sample of the ENEX file which produced this conversion error so I can fix the issue. The problem with ENEX is that there isn't many samples around on the net so it's difficult to test it.

Since it's an XML file, you can open it in a text editor and just copy paste some snippet which contains the "lang="de" style="font-family:Calibri;font-size:11.0pt">"

meyer-roessl commented 5 years ago

Hi,

I created some test pages. Since I am usind OneNote (and not Evernote), I also included the OneNote source files. I used Evernote to import OneNote and export to ENEX. Not sure whether the attachments will go though, if not please advise where I can put the testfiles.

Hope that helps.

Thanks,

From: zadam notifications@github.com Sent: Montag, 26. November 2018 11:06 To: zadam/trilium trilium@noreply.github.com Cc: meyer-roessl meyer-roessl@gmx.at; State change state_change@noreply.github.com Subject: Re: [zadam/trilium] ENEX Format not recognized (#241)

I would really appreciate if you could send me a sample of the ENEX file which produced this conversion error so I can fix the issue. The problem with ENEX is that there isn't many samples around on the net so it's difficult to test it.

Since it's an XML file, you can open in a text editor and just copy paste some snippet which contains the "lang="de" style="font-family:Calibri;font-size:11.0pt">"

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/zadam/trilium/issues/241#issuecomment-441584048 , or mute the thread https://github.com/notifications/unsubscribe-auth/AGUFOsygVNI7SHziPnjOf01fwUWiek6yks5uy70ggaJpZM4YyEdG . https://github.com/notifications/beacon/AGUFOplmXImtCZKVOj0BgcG_hAzxYFe6ks5uy70ggaJpZM4YyEdG.gif

zadam commented 5 years ago

Hello, unfortunately I can't see any attachments. Could you perhaps send them to my email: zadam.apps@gmail.com?

Thanks!