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

Quick Link breaks Sync in NixNote2 #14

Closed
artmg opened this issue Jul 8, 2014 · 6 comments · Fixed by #17
Closed

Quick Link breaks Sync in NixNote2 #14

artmg opened this issue Jul 8, 2014 · 6 comments · Fixed by #17

Comments

@artmg
Copy link
Contributor

artmg commented Jul 8, 2014

Error

"Unable to update note. Invalid note structure" appears after using Quick Link to note with name containing spaces

Version

NixNote2 (2.0-beta2)

Reproduce

  • Sync to ensure there are no errors
  • Create a new note
  • type in the name of another note which contains spaces
  • select the note name
  • right-click / Quick Link
  • Move off note to save
  • Click Sync
  • Log shows:

ERROR ( communication/communicationmanager.cpp @ 488 ) EDAMUserException: 11
INFO ( nixnote.cpp @ 1564 ) "Unable to update note. Invalid note structure : "

Diagnosis

  • The Quick Link works, but malformed HTML causes ENML_VALIDATION error
  • This is because spaces are handled incorrectly when adding the attribute Title="name of other note"
  • Click on note to open, then View / Show Source

<a href="evernote:///view/xxxxx/nxxx/uid/uid" title="name" of="" other="" note"="">

Additional information

  • The status bar did not tell me which Note caused the validation error
  • With Message Level = Debug the logs did not say which Note caused it
  • To find out which Note is causing Sync Error:
    • Click on Notebooks in navigation pane to view all Notes
    • Click on Date Updated column header to sort by most recent note
    • Scroll horizontal bar to right until Sync column is visible
    • the last note with a * in the Sync column is likely to be the one with issues
    • diagnose issues using View Menu / Show Source

Appreciation

  • Thanks so much to baumgarr for the effort he has put into this project - NixNote2 without Java gives me the powerful evernote client I wanted, with non of the lag
@ulel
Copy link
Contributor

ulel commented Jul 17, 2014

This happens because of a missing " before the title when inserting the Quick Link.
Tidy try to fix it but messes up the HTML instead.

I have submitted #17 adding the missing ".

@kenden
Copy link

kenden commented Aug 25, 2014

I am having this issue also (or the one fixed in #16).
Could you create a new build with those two fixes? Thanks!

@kenden
Copy link

kenden commented Nov 3, 2014

Could you create a new build this this fix? I'm starting to get worried about NOT have my info sync'ed in Evernote.
I get this error when trying to build the project, and there is no build information.
Thanks!

Nixnote2-master $ make
make: *** No rule to make target `/usr/share/qt4/mkspecs/linux-g++-64/qmake.conf', needed by `Makefile'.  Stop.

@artmg
Copy link
Contributor Author

artmg commented Nov 3, 2014

Hi Kenden, unfortuantely as you are commenting on a Closed issue, it might not be getting as much attention from contributors to this project as you might hope.

I used to get frustrated that a new build was not available, but as I rely on the functionality of NixNote2, I plucked up the courage to try building the project myself. Buamgarr did put some useful generic instructions into the documentation, but it seemed aimed more at developers, and I wanted to avoid installing a whole development environment.

I have begun creating some Build-It-Yourself instructions for a User to simply Copy and Paste Into Terminal - see this project's wiki at https://github.com/baumgarr/Nixnote2/wiki/Building-from-latest-Git-source-code - at the moment they work on Ubuntu, but I'd hope they would not need much tweaking to work on other Linux distributions/flavours.

If these do not help you overcome your build issue, then perhaps it might help if you could supply some info about a) what system you are using and b) what commands you have already used to get you up to the point of the error?

@kenden
Copy link

kenden commented Nov 6, 2014

Hi artmy, thanks for the info.

Where did you find the original generic build instructions in the doc?
Thanks for your own instructions! I was able to go a bit further. Now I get stuck at:
In file included from ./gui/nbrowserwindow.h:40:0,
./gui/nwebview.h:23:20: fatal error: QWebView: No such file or directory

I use Linux Mint 17 64bits and installed the packages from you pages before running make.

@artmg
Copy link
Contributor Author

artmg commented Nov 19, 2014

kenden,

If I was to make a wild guess, I would suggest you tried installing libqtwebkit-dev too

sudo apt-get install -y libqtwebkit-dev

or maybe libqt4-dev, perhaps even qt4-dev-tools.

If none of these allows your build to complete, then you will find instructions on setting up a full development environment at the end of the User Documentation (https://github.com/baumgarr/Nixnote2/blob/master/help/UserDocumentation.pdf). Although this is perhaps over the top for many users, the bit where you open the .pro file in QtCreator should automatically download any missing dependencies.

Hope this helps
artmg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants