kidd / org-gcal.el

Org sync with Google Calendar. (active maintained project as of 2019-11-06)
432 stars 47 forks source link

Getting error after today's org-gcal update #207

Closed vnckppl closed 1 year ago

vnckppl commented 1 year ago

I just updated org-gcal via melpa and now it does not sync with gmail anymore. In the messages buffer, the following shows up:

Log in to your account for Emacs in your browser window
Contacting host: oauth2.googleapis.com:443
deferred error : (wrong-number-of-arguments #<subr seconds-to-time> 2)

When I sync org-gcal, it opens the google calendar webpage and let's me select my account. It then also shows me the message in the browser:

Authentication token successfully obtained by Emacs! You may close this page now.

But, then, emacs gives the error:

deferred error : (wrong-number-of-arguments #<subr seconds-to-time> 2)

org-gcal was working correctly before this update and the following variables are all set and have not been changed before or after the update: org-gcal-local-timezone org-gcal-client-id org-gcal-client-secret org-gcal-fetch-file-alist

Is there anything I need to change to my config to make org-gcal work again?

telotortium commented 1 year ago

Let me debug this today

On Sat, Nov 19, 2022, 09:37 vnckppl @.***> wrote:

I just updated org-gcal via melpa and now it does not sync with gmail anymore. In the messages buffer, the following shows up:

Log in to your account for Emacs in your browser window Contacting host: oauth2.googleapis.com:443 deferred error : (wrong-number-of-arguments # 2)

When I sync org-gcal, it opens the google calendar webpage and let's me select my account. It then also shows me the message in the browser:

Authentication token successfully obtained by Emacs! You may close this page now. But, then, emacs gives the error:

deferred error : (wrong-number-of-arguments # 2) org-gcal was working correctly before this update and the following variables are all set and have not been changed before or after the update: org-gcal-local-timezone org-gcal-client-id org-gcal-client-secret org-gcal-fetch-file-alist

Is there anything I need to change to my config to make org-gcal work again?

— Reply to this email directly, view it on GitHub https://github.com/kidd/org-gcal.el/issues/207, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANMVDPIP5RTARR7MZAVZFTWJEF67ANCNFSM6AAAAAASFNK3JM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

telotortium commented 1 year ago

@vnckppl What version of Emacs are you running?

vnckppl commented 1 year ago

@vnckppl What version of Emacs are you running?

GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2022-10-20

telotortium commented 1 year ago

@vnckppl try patching your installation with my change in https://github.com/kidd/org-gcal.el/pull/208

telenieko commented 1 year ago

@vnckppl try patching your installation with my change in #208

Fixed the error for me, my version:

GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.16.0) of 2022-11-14

(the build is Emacs master, 17889dd828dabc8d4a015c3df889799818178afb)

vnckppl commented 1 year ago

Thanks, this is working for me now.