Comments (6)
Notice that I can see two calendars from the same Google account.
from alfred-gcal.
I'm using the workflow with multiple accounts, too, and it's working just fine for me.
I'm afraid I can't say any more than that without more information. Please check the workflow's log file (enter gdate workflow:log
in Alfred).
from alfred-gcal.
Ok I decribe you the new behavior.
- I'm currently logged in with just 1 Google account (ACCOUNT1 containing CALENDAR1) and everything works fine
- I log in with a second account (ACCOUNT2): can't see the events from this second account calendar CALENDAR2 (still seeing events from the first account).
I took a look at the logs and it seems that the CALENDAR2 gets associated with ACCOUNT1 and when it tries to retrieve the calendar it receives a 404 error from Google API. Here are the most significant logs (registering ACCOUNT2, associating the CALENDAR2 to ACCOUNT1, Google error):
17:35:16 ---- Google Calendar View/0.2.3 (AwGo/0.14.0) ----
17:35:16 Opening Google signin page;
17:35:16 Sent 1 result(s) to Alfred
17:35:16 [auth] starting local webserver on localhost:61432 ...
17:35:24 [preview] 10s since last request
17:35:34 [preview] 20s since last request
17:35:43 [auth] oauth2 state=<HIDDEN>
17:35:43 [auth] oauth2 code=<HIDDEN>
17:35:43 [auth] oauth2 error=
17:35:43 [auth] local webserver stopped
17:35:44 [preview] 30s since last request
17:35:44 [auth] fetching user info from https://openidconnect.googleapis.com/v1/userinfo ...
17:35:45 [auth] fetching user avatar ...
17:35:46 [icons] saved <HIDDEN>
17:35:46 [account] saved "ACCOUNT2"
17:35:47 [account] saved "ACCOUNT2"
17:35:47 ----------------- 30.612390351s ------------------
17:36:27 ---- Google Calendar View/0.2.3 (AwGo/0.14.0) ----
17:36:27 [bind] unbindable kind: struct
17:36:27 [bind] unbindable kind: struct
17:36:27 [main] query="", startTime=2019-03-07 00:00:00 +0100 CET, endTime=2019-03-08 00:00:00 +0100 CET
17:36:27 [account] loaded "ACCOUNT2"
17:36:27 [account] loaded "ACCOUNT1"
17:36:27 [update] fetching events for 2019-03-07 ...
17:36:27 [main] 9 calendar(s) in 2 account(s)
17:36:27 [update] 2 active calendar(s)
17:36:27 [account] account="ACCOUNT1", cal="CALENDAR1", start=2019-03-07 00:00:00 +0100 CET, end=2019-03-12 00:00:00 +0100 CET
17:36:27 [account] account="ACCOUNT1", cal="CALENDAR2", start=2019-03-07 00:00:00 +0100 CET, end=2019-03-12 00:00:00 +0100 CET
17:36:28 ---- Google Calendar View/0.2.3 (AwGo/0.14.0) ----
17:36:28 [bind] unbindable kind: struct
17:36:28 [bind] unbindable kind: struct
17:36:28 [main] query="", startTime=2019-03-07 00:00:00 +0100 CET, endTime=2019-03-08 00:00:00 +0100 CET
17:36:28 [account] loaded "ACCOUNT2"
17:36:28 [account] loaded "ACCOUNT1"
17:36:28 [main] 9 calendar(s) in 2 account(s)
17:36:28 2 active calendar(s)
17:36:28 progress: current=0, next=1
17:36:28 0 event(s) for 2019-03-07
17:36:28 Sent 4 result(s) to Alfred
17:36:28 ------------------- 3.211189ms -------------------
17:36:28 [update] ERR: fetching events for calendar "CALENDAR2": googleapi: Error 404: Not Found, notFound
17:36:28 [update] 5 event(s) in calendar "CALENDAR1"
<EVENTS from CALENDAR1 HIDDEN>
17:36:28 ------------------ 884.510834ms ------------------
from alfred-gcal.
I've fixed the problem shown in the log file in v0.2.4 (which you can also install via gcalconf
in Alfred).
Hopefully, multiple accounts will now work correctly for you.
from alfred-gcal.
That was quick! Already downloaded and tested, it works :)
from alfred-gcal.
Marvellous. Your log and analysis made it very easy to find the error.
Thanks for finding the bug.
from alfred-gcal.
Related Issues (20)
- Development info
- Getting to the wrong calendar when navigating to a particular event from gcal
- Hide declined events?
- Same calendar name, different account - select/deselect not exclusive at account level
- No Accounts Configured
- Add an action to join a linked google meet call HOT 1
- "No Accounts Configured" HOT 1
- Can't add events new events w specified day apart from 'every day'
- Need to re-config the account and calendar everytime after restart
- "This app is blocked" HOT 1
- Calendar Limit HOT 1
- Problems with shared calendars of two different accounts
- ⇧ / ⌘Y meaning HOT 1
- Set default calendar (or change order of active calendars) HOT 3
- Time for adding new events is wrong HOT 3
- Render HTML in Quicklook preview
- Access Zoom or other meeting URLs HOT 1
- No Accounts Configured! HOT 2
- Add whole day events to the upcoming list HOT 4
- Error when clicking on event name
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alfred-gcal.