myuhe / org-gcal.el

Org sync with Google Calendar
452 stars 113 forks source link

'deferred error : (invalid-read-syntax "#")' when refreshing token #106

Open telotortium opened 6 years ago

telotortium commented 6 years ago

Occasionally, especially at the beginning of the day, when org-gcal is attempting to refresh the token during a sync, fetch, etc., the following will appear in *Messages*:

OAuth token expired. Now trying to refresh-token
deferred error : (invalid-read-syntax "#")

Once I retry the request, the error goes away. Perhaps one of the token files is temporarily filled with garbage data at some point -- this error would make sense then, because org-gcal directly loads them to populate org-gcal-tokens-plist.

itf commented 5 years ago

I had a slightly worse version of the error, where the error happened every time.

I fixed this error by upgrading the packages that org-cal depends on, deleting the token in my .emacs folder, and then running org-gcal-fetch.

telotortium commented 4 years ago

Hi everyone! This repository is obsolete - the actively developed fork is now https://github.com/kidd/org-gcal.el, which is also the "org-gcal.el" on MELPA (see #115). I'm one of the maintainers of https://github.com/kidd/org-gcal.el. I can't directly close issues or PRs on this repo, but please download https://github.com/kidd/org-gcal.el and see if your issue or PR is still applicable. If so, open an issue or PR on https://github.com/kidd/org-gcal.el. In any case, you should close your issue or PR in this repo.