Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Note fails to import, but unable to narrow down cause #416

Closed
upnix opened this issue Nov 5, 2022 · 3 comments
Closed

Note fails to import, but unable to narrow down cause #416

upnix opened this issue Nov 5, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@upnix
Copy link

upnix commented Nov 5, 2022

This note will fail to import:
TestNote.enex.zip

With the message in conversion.log:

Conversion started at Sat Nov 05 2022 11:27:34 GMT-0600 (Mountain Daylight Time)
Converting note "Aug. 4 - 9"...
Failed to convert note: Aug. 4 - 9, {}
Conversion finished at Sat Nov 05 2022 11:27:34 GMT-0600 (Mountain Daylight Time)
Note "Aug. 4 - 9" converted successfully in 0.136 seconds.
Notes processed: 1

In Evernote, if I make any change to the note, then re-export, Yarle is able to import the note. Examining the re-exported note I notice that there are a lot more <div>'s around content than the original export. But I can't determine why Yarle is unhappy with the fewer <div> export.

Here is the same note with only an extra new line added in Evernote before export:
TestNote_2.enex.zip

Here is the entire contents of conversion.log, but I changed no settings from the defaut:
conversion.log.txt

Sorry I wasn't able to narrow it down more.

@akosbalasko
Copy link
Owner

Hi @upnix ,
Thanks for the report and for the example enex file, I'll investigate the situation soon.
akos

@akosbalasko akosbalasko added the bug Something isn't working label Nov 7, 2022
@upnix
Copy link
Author

upnix commented Dec 28, 2022

I keep coming across this bug. I think the difference between the note that imports and the note that doesn't comes down to the <en-todo/> tag. Every note that fails to import will have checkboxes.

In the note that fails to import, unchecked boxes precede text with <en-todo/>.

The note that will import replaces these with <en-todo checked="false" />

@akosbalasko
Copy link
Owner

Hi @upnix ,
Thank you for the investigation, I fixed the issue and released a new version(4.5.1).
I close this issue but do not hesitate to open a new one if you still see problems.
Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants