gcalcli icon indicating copy to clipboard operation
gcalcli copied to clipboard

List of calendars not getting updated (requires --refresh to update the list)

Open jason-mehmel opened this issue 3 years ago • 6 comments

I've recently been given access to a new calendar as a reader in my Google Calendar account, but I'm not seeing it reflected in my Agenda.

I'm not sure how to update the calendars that gcalcli has access to. Do I need to recreate the API or anything to absorb the new calendar's access?

jason-mehmel avatar Dec 13 '21 20:12 jason-mehmel

Had the same problem just now. And I did recreate the API, which was silly. But the fix is actually very simple:

rm ~/.gcalcli_cache

ComedyTomedy avatar Jan 04 '22 14:01 ComedyTomedy

What happened after you ran that command?

After that removes the cache, does it basically just reset itself after when gcalcli runs again? Or did you have to reauthorize everything?

jason-mehmel avatar Jan 05 '22 20:01 jason-mehmel

No reauth, just runs as normal but fetching a fresh list of calendars etc. :)

ComedyTomedy avatar Jan 05 '22 22:01 ComedyTomedy

That worked great! Thank you!

jason-mehmel avatar Jan 07 '22 03:01 jason-mehmel