baumgarr / nixnote2

Nixnote - A clone of Evernote for Linux
http://www.nixnote.org
Other
1.12k stars 158 forks source link

Long notes duplicating and creating conflicts #465

Open adamoxford opened 6 years ago

adamoxford commented 6 years ago

While taking long notes Nixnote 2 encounters an error (I think during sync) that causes a duplicate note to be created and stored in Conflict-1. This can happen more than once for a single note with multiple conflicts created. The original note is created in Nixnote.

I can't see an obvious error in the message log that is creating this.

robert7 commented 6 years ago

hi, can you provide steps to reproduce the problem?

The conflict can happen, when you modify particular note in more than one evernote client at the same time (e.g. you have copy in offline client e.g. in nixnote, you modify the copy and you modify the same copy in other evernote client e.g. web client before the changes are synced).

Do the conflict also happen to you, if you only using one client to edit particular note?

I don't know what you mean by "long note" but I did some tests with beloved GDPR document https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX%3A32016R0679 which is like 125 pages - consider this "long enough" :smile: , I did some random modification in nixnote, then synced ... all went OK, I repeated the procedure like 6 times... no conflicts at all...

There is newer nixnote version at https://github.com/robert7/nixnote2 ... see wiki https://github.com/baumgarr/nixnote2/wiki ... this repo is currently maintained. But I did not modify the sync so far, so its unlikely that the behavior is changed in new version.

But it could be the problem is only how you use the app.. so maybe a little workflow adjustment is all you need..

adamoxford commented 6 years ago

Hi Robert,

Thanks for the reply and I'll definitely check out the new repo.

It's a difficult one to reproduce I think - but here's some context.

I'm a journalist and take notes (during interviews, press conferences, etc) directly into Nixnote, so by "long note" I mean one that I'm continuously editing and ends up with both a lot of text updated over 30-90 mins.

I do use Nixnote on two machines (never the web app, sometimes but rarely on Android), laptop and desktop, so it might be that the problem is happening when the other machine is logged in - I couldn't say for sure right now but will do some testing and let you know.

robert7 commented 6 years ago

hi, if you can't describe step for reproduction, its difficult to analyse ... you could try to isolate the problem a bit. I suggest:

adamoxford commented 6 years ago

Thanks Robert

It does seem to be related to running two instances - can't confirm 100%, but will keep looking into it. Thanks for your help.