Closed eXvimmer closed 1 year ago
This report contains no clue for me to investigate. Please debug the plugin with the :Calendar -debug
flag, see what's downloaded in ~/.cache/calendar.vim/download/
, or look into the event files in ~/.cache/calendar.vim/google/event/
.
There are 2 events for today in my Google calendar. One (4:00 - 5:00 test number 2) is showing up in the plugin but the first one (1:00 - 3:30 the other one) doesn't show up.
This is the content of google_calendar_calendarList_202303010445010001
HTTP/1.1 200 OK
Cache-Control: private, max-age=0, must-revalidate, no-transform
Date: Wed, 01 Mar 2023 01:15:02 GMT
Content-Type: application/json; charset=UTF-8
Content-Length: 1740
Expires: Wed, 01 Mar 2023 01:15:02 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#calendarList",
"etag": "\"p334dhuetomsvq0g\"",
"nextSyncToken": "I changed this",
"items": [
{
"kind": "calendar#calendarListEntry",
"etag": "\"1662238508263000\"",
"id": "addressbook#contacts@group.v.calendar.google.com",
"summary": "Birthdays",
"description": "Displays birthdays, anniversaries, and other event dates of people in Google Contacts.",
"timeZone": "Asia/Tehran",
"colorId": "13",
"backgroundColor": "#92e1c0",
"foregroundColor": "#000000",
"selected": true,
"accessRole": "reader",
"defaultReminders": [],
"conferenceProperties": {
"allowedConferenceSolutionTypes": [
"hangoutsMeet"
]
}
},
{
"kind": "calendar#calendarListEntry",
"etag": "\"1677629575920000\"",
"id": "my email was here",
"summary": "Deep Work",
"description": "Everything related to web development/hacking/programming and work.",
"timeZone": "Asia/Tehran",
"colorId": "7",
"backgroundColor": "#42d692",
"foregroundColor": "#000000",
"selected": true,
"accessRole": "owner",
"defaultReminders": [
{
"method": "popup",
"minutes": 5
},
{
"method": "popup",
"minutes": 0
}
],
"notificationSettings": {
"notifications": [
{
"type": "eventCreation",
"method": "email"
},
{
"type": "eventChange",
"method": "email"
},
{
"type": "eventCancellation",
"method": "email"
},
{
"type": "eventResponse",
"method": "email"
}
]
},
"primary": true,
"conferenceProperties": {
"allowedConferenceSolutionTypes": [
"hangoutsMeet"
]
}
}
]
}
And this is the content of google_calendar_download_202303010445030003
HTTP/1.1 200 OK
Content-Length: 1376
Expires: Wed, 01 Mar 2023 01:15:04 GMT
Cache-Control: private, max-age=0, must-revalidate, no-transform
Date: Wed, 01 Mar 2023 01:15:04 GMT
Content-Type: application/json; charset=UTF-8
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": "\"p334dhuetomsvq0g\"",
"summary": "Deep Work",
"description": "Everything related to web development/hacking/programming and work.",
"updated": "2023-03-01T01:09:04.893Z",
"timeZone": "Asia/Tehran",
"accessRole": "owner",
"defaultReminders": [
{
"method": "popup",
"minutes": 0
},
{
"method": "popup",
"minutes": 5
}
],
"nextSyncToken": "I removed this",
"items": [
{
"kind": "calendar#event",
"etag": "\"3355265889786000\"",
"id": "I removed this",
"status": "confirmed",
"htmlLink": "https://www.google.com/calendar/event?eid=I remove this id",
"created": "2023-03-01T01:09:04.000Z",
"updated": "2023-03-01T01:09:04.893Z",
"summary": "test number 2",
"creator": {
"email": "My email was here",
"self": true
},
"organizer": {
"email": "My email was here",
"self": true
},
"start": {
"dateTime": "2023-03-01T04:00:00+03:30",
"timeZone": "Asia/Tehran"
},
"end": {
"dateTime": "2023-03-01T05:00:00+03:30",
"timeZone": "Asia/Tehran"
},
"transparency": "transparent",
"iCalUID": "I changed this@google.com",
"sequence": 0,
"reminders": {
"useDefault": true
},
"eventType": "default"
}
]
}
Do the events belong to the same calendar (Deep Work
)? What's the condition event does not appear (e.x. 2:00-3:00
or 1:00-2:00
)?
Yes, they do. The 01:00 - 03:30 event
doesn't show up.
Please give me some time for fixing. I now find what's wrong with the plugin.
Thank you very much. It might be a Google's problem, though.
I was wondering, can you reproduce this problem?
If you enter 01:00 - 03:30 some event
, does it show up in both of your calendars?
I fixed the issue.
Thank you very much!
Hi. Thanks for creating this awesome plugin. I'm using this plugin in neovim, and it works very well. When I try to add the event
01:00 - 03:30 some event
, it creates the event in my Google calendar correctly, but doesn't fetch (and show) this particular event. Even after pressing<C-R>
(which correctly re-fetches other tasks and events). Am I doing something wrong? Thanks!