-
Notifications
You must be signed in to change notification settings - Fork 315
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
Cache does not seem to be getting used in my macOS environment #824
Comments
@sideshowbarker oh, did you figure out the problem? |
Hi @dbarnett — I didn’t actually get it figured out. I initially closed it because — despite what I said the issue description — I found that I did in fact have a However, I subsequently found that that case file never seems to get updated. Every time I run I’ve not yet been able to do any useful troubleshooting to try to isolate what might be going wrong. But I’ll go ahead and reopen this in the meantime. |
Which version are you running? Try |
Running After running |
The latest, I think:
…installed from brew:
|
I have gcalcli installed and working as expected — except that the cache does not seem to be getting used.
nothing seems to be getting cached.Steps to reproduce
Install gcalcli per the instructions in the repo. Run a few gcalcli commands. Notice that the responses always come back relatively slowly (~4–6 seconds in my environment) — indicating that the responses are not getting served from the cache but instead gcalcli is sending new requests over the network each time.
Check the
~/Library/Application Support/gcalcli/
directory and notice there’s no cache there.Expected behavior
A cache should be found in the
~/Library/Application Support/gcalcli/
directory, and responses should be getting served from the cache rather than gcalcli sending new requests over the network each time.Actual behavior
There is a cache in the
~/Library/Application Support/gcalcli/
directory, but responses do not seem to be getting served from the cache; instead, gcalcli seems to be sending new requests over the network each time. And the cache does not seem to ever be getting updated.Fixing
I’m still investigating and trying to isolate how this could be fixed in the code, and I’d be willing to contribute a patch myself for fixing it — if/when I do manage to figure it out on my own.
But if somebody else manages to find and fix it first, that’d be great too 😀
The text was updated successfully, but these errors were encountered: