kidd/org-gcal.el

Scheduled TODO re-syncs with every sync

megodoonch opened this issue · 0 comments

I have a SCHEDULED task, call it "my task". Every time I use org-gcal-sync, I get a new ETag and I get this in the Messages buffer:

Decrypting /home/mego/.emacs.d/oauth2-auto.plist...done
Scheduled to <2022-11-24 Thu 10:00-10:15>
Org-gcal post event
  my task
Event Posted
Org-gcal post event
  my task

Some additional facts:

  • The calendar is paired with tasks.org for pulling events from the google calendar side but this task is in work.org.
  • I thought this might have something to do with Syncthing, but I turned it off to test this, and the problem persists.
  • When I delete all the org-gcal-added stuff and post-at-point again, that works, but when I then fetch or sync, the ETag changes again.
  • Sometimes it also reports the ETag obsolecence with an HTTP error, and sometimes it doesn't. I don't know what governs that.
  • Sometimes it creates mutlitple google calendar entries, which would certainly explain the ETag mismatch, but when I deleted those from google calendar it stopped doing that and the problem persists.
  • No duplicate entries are being created in any orgmode files
  • I'm using version 0.4.2 on Ubuntu with Emacs 26.3

Thanks for any help!