lfos / calcurse

A text-based calendar and scheduling application
https://calcurse.org
BSD 2-Clause "Simplified" License
978 stars 93 forks source link

--init = two-way sync copying same calcurse item twice in the local calcurse calendar #123

Open saamkhya opened 6 years ago

saamkhya commented 6 years ago

I installed calcurse 4.3.0 from the tarball. I also successfully configured the calcurse-caldav for syncing with the google calendar. However, whenever I sync (using --init=two-way) the local calendar with the google calendar (remote), the same items are getting redundantly copied into the local calendar.

What is desirable is that if the item already present in the local calendar then it shouldn't copy that calcurse appointment/item again to the local calendar during calcurse-caldav.

Also, I want to know how to push only the changes made in the local copy to the google calendar, or the changes in the google calendar to the local copy, without having to entirely delete the local objects and downloading the remote objects using (init = keep-remote) or init=keep-local in the other case.

loweryaustin commented 6 years ago

@saamkhya As far as I have found, calcurse has not created any duplicate entries for me when I sync. It seems likely that there is an issue with the way that things are setup for you.

If you set everything up from scratch again, are you able to reproduce the problem? If so, could you provide the exact steps that you're taking to set everything up? Also could yo provide the configuration that you're using?

Also, I recommend keeping each issue to one single topic. Otherwise it makes it significantly harder for someone to reply to your issues.

lfos commented 6 years ago

Any updates? This is fairly hard to reproduce without any additional information...

saamkhya commented 6 years ago

The problem got fixed, thank you for your help.

On Aug 25, 2018, at 1:39 PM, Lukas Fleischer notifications@github.com<mailto:notifications@github.com> wrote:

Any updates? This is fairly hard to reproduce without any additional information...

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/lfos/calcurse/issues/123#issuecomment-415988556, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKCcwRmVVPc6g6-U8GPI1-Efr-x-Aqk9ks5uUZnJgaJpZM4U3S1r.

lfos commented 6 years ago

What was the problem?

fabiobianchiwebdev commented 5 years ago

How did you fixed @saamkhya ?

davidrihtarsic commented 4 years ago

Hi, same issue here and I think this issue is related also to #232 ... if I run: calcurse-caldav --init two-way --authcode XXXXXXXXXX duplicated events appears... BUT!! it was my mistake, running just: calcurse-caldav works like a charm! THX for calcurse!!!