Skip to content
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

Empty org-gcal-fetch results #254

Open
DruhanShah opened this issue Oct 11, 2024 · 0 comments
Open

Empty org-gcal-fetch results #254

DruhanShah opened this issue Oct 11, 2024 · 0 comments

Comments

@DruhanShah
Copy link

I've managed to set up org-gcal using straight.el as mentioned in the README, and it seems like it's worked seamlessly.
However, when I try to run any of the org-gcal- commands, I get no results and also no reproducible errors. I've tried org-gcal-toggle-debug, but the error messages were hard for me to understand. Is it something I'm doing?

My org-gcal config is as follows:

(use-package org-gcal
  :straight t
  :after org
  :config
  (setq plstore-cache-passphrase-for-symmetric-encryption t)
  (setq org-gcal-down-days 365)
  (setq org-gcal-up-days 365)
  (setq org-gcal-client-id "client-id.apps.googleusercontent.com"
        org-gcal-client-secret "secret"
        org-gcal-fetch-file-alist '(("[email protected]" .  "~/Notes/gcal.org"))))

I'm also getting some messages in the *Messages* buffer but I'm not sure if they're indicative of an error. I've included them anyways:

[debug] request--callback: UNPARSED
HTTP/2 200 
cache-control: private, max-age=0, must-revalidate, no-transform
content-length: 368
content-type: application/json; charset=UTF-8
expires: Fri, 11 Oct 2024 05:58:26 GMT
date: Fri, 11 Oct 2024 05:58:26 GMT
vary: Origin
vary: X-Origin
vary: Referer
server: ESF
x-xss-protection: 0
x-frame-options: SAMEORIGIN
x-content-type-options: nosniff
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000

{
 "kind": "calendar#events",
 "etag": "\"something\"",
 "summary": "[email protected]",
 "description": "",
 "updated": "2024-10-11T05:55:35.191Z",
 "timeZone": "Asia/Kolkata",
 "accessRole": "owner",
 "defaultReminders": [
  {
   "method": "popup",
   "minutes": 10
  }
 ],
 "nextSyncToken": "token",
 "items": []
}

[debug] request--callback: PARSED
(:kind calendar#events :etag "something" :summary [email protected] :description  :updated 2024-10-11T05:55:35.191Z :timeZone Asia/Kolkata :accessRole owner :defaultReminders [(:method popup :minutes 10)] :nextSyncToken token :items [])
[debug] request--callback: executing complete

When viewing the Messages buffer in Emacs, there are ^Ms visible after each line, which are somewhat concerning.

Please do let me know if I've missed out on any helpful diagnostics (I'm still very fresh to Emacs :P), and thank you for the amazing package! :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant