Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#134 synchronizing error report

open
nobody
5
2012-10-28
2012-10-28
easior
No

I'm a gentoo user. I find that evernote is a great tool for notes after using Mac OS X. As a clone of evernote in Linux, nixnote is amazing to me. I downloaded the latest verson, i.e. nixnote-1.4, and installed it by gentoo portage with a simple ebuild. However, there was strange behaviors in working with nixnote. One of those is the following:

--------------------------------------------------xx-----------------------------------xx--------------------------------------------------
2012-10-28 07:17:01.114 dirty count: 2
2012-10-28 07:17:01.115 Dirty Notes Before Sync: 2
2012-10-28 07:17:02.805 Full Sequence Before: 1346333536000
2012-10-28 07:17:02.806 Last Sequence Date: 1351341687688
2012-10-28 07:17:02.806 Var Last Sequence Number: 91
2012-10-28 07:17:02.806 DB Last Sequence Number: 91
2012-10-28 07:17:02.807 Update Count: 91
2012-10-28 07:17:02.807 Last Update Count: 91
2012-10-28 07:17:02.815 Dirty local notes: 2
2012-10-28 07:17:04.753 dirty count: 2
2012-10-28 07:17:04.754 Dirty local notes found: 2
2012-10-28 07:17:04.759 Dirty local notes: 2
2012-10-28 07:17:04.759 Fetching note content
2012-10-28 07:17:04.760 Creating note : 1351170441322
2012-10-28 07:17:07.737 *** EDAM User Excepton syncLocalNotes EDAMUserException(errorCode:ENML_VALIDATION, parameter:Attribute "class" must be declared for element type "font".)
2012-10-28 07:17:07.737 EDAMUserException(errorCode:ENML_VALIDATION, parameter:Attribute "class" must be declared for element type "font".)
2012-10-28 07:17:07.738 Updating note : 8deaa1d2-8b65-42f3-98be-daf8d57b7efa
2012-10-28 07:17:08.955 *** EDAM User Excepton syncLocalNotes EDAMUserException(errorCode:ENML_VALIDATION, parameter:Attribute "class" must be declared for element type "font".)
2012-10-28 07:17:08.955 EDAMUserException(errorCode:ENML_VALIDATION, parameter:Attribute "class" must be declared for element type "font".)
2012-10-28 07:17:08.957 dirty count: 2
2012-10-28 07:17:08.957 Dirty Notes After Sync: 2
--------------------------------------------------xx-----------------------------------xx--------------------------------------------------

Any hint?

Discussion

  • Evernote restricts what HTML tags can be in a note. NixNote tries to clean them up, but sometimes it fails. In this case, there are font tags with an invalid element.

    You can view the source of a note and try to remove them manually. That is about the easiest thing to do with a note that won't sync.

    I don't recommend clipping directly from web pages into NixNote. It can have a hard time cleaning things up so Evernote accepts them. I recommend using Evernote's web clipper and then synchronizing back down to NixNote. That way, Evernote cleans them up properly and you shouldn't have any troubles.

     
  • easior
    easior
    2012-10-28

    Thank you for your comment, baumgarr! My problem has been fixed with your advice.

    However, another problem about font tag is raised. In evernote, a note written with different fonts can be imported properly. It will be transformed into HTML format in evernote with many font tags. Moreover, it can well synchronize with other devices where there is evernote installed. Unfornately, the copy can't synchronize back to the origin if it synchronizes with Linux device by nixnote.

    Hence, I think that a mechanism on font tag should be added to nixnote. Should it?

     
  • Where was the note created and how was it initially created? I'm not sure I understand what is having a problem from your last description.

     
  • easior
    easior
    2012-10-30

    Ok, let me clarify it.

    First, I create a note in Apple Notes where the default font is Noteworthy. Then I create a note in evernote by copying the text from Apple Notes. Obviously, this note is of Noteworthy font and Noteworthy font tags are created when I view the source of those text in evernote. In fact, Noteworthy is displayed in font menu of evernote 3.3.1. At last step, I synchronize it to nixnote installed in Linux. New note with font tags is then created in nixnote. However, it can't be synchronized back to evernote.

    In a word, I think that font menu should be developed in nixnote, in which fonts selection can work for single note.