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

Unable to retrieve calendars; poor UX when required Google scopes not authorised. #1937

Closed
galexmay opened this issue Aug 17, 2024 · 9 comments
Assignees
Labels
bug Something's not working right resolved Working hotfix available
Milestone

Comments

@galexmay
Copy link

galexmay commented Aug 17, 2024

I tried to install on my new computer. Despite your website talking about various versions, there only seems to be the option to download the 2.11.0-beta version so that is what I downloaded. In installed that version. I set up the Outlook folder and then connected my gmail account. I then got the following error messages. I tried to disconnect the account but when I went to reconnect it, it was already chosen and I immediately got the same error message. I tried uninstalling and reinstalling but nothing changed. In fact, the settings still appeared to be there despite the uninstall. What do I do now?

OGCS Version: 2.11.0-beta
Edition: Installed
Sync Direction: didn't get that far

Bug Description
see above

Steps to Reproduce the Issue
see above

Any other information
📎 Attach your OGcalsync.log file. attached
OGcalsync.log
Clipboard_08-17-2024_02
Clipboard_08-17-2024_01

@galexmay galexmay added the bug Something's not working right label Aug 17, 2024
@phw198
Copy link
Owner

phw198 commented Aug 17, 2024

Oh dear, it looks like Google have changed the authentication process and the required permission is not checked by default 🙁

You need to tick the box to give OGCS the required access:-
image

However, I will now see if:-

  • I can make OGCS handle it better when the required permissions are not present
  • the permissions can be refined better to not require share and delete calendars (as OGCS doesn't need or do anything with that permission!)

@phw198 phw198 self-assigned this Aug 17, 2024
@phw198 phw198 added the triage Issue being investigated label Aug 17, 2024
@phw198 phw198 changed the title Unable to install Poor UX when required Google scopes not authorised; OGCS doesn't work Aug 17, 2024
@galexmay
Copy link
Author

galexmay commented Aug 18, 2024 via email

@katie-hoemann
Copy link

I'm also running into this issue but cannot find the folder in Roaming that @galexmay mentions. Any memory of what the folder was called or thoughts about what else I might do?

@galexmay
Copy link
Author

galexmay commented Aug 21, 2024 via email

@Ammo999
Copy link

Ammo999 commented Aug 26, 2024

Ok, this worked for me. I disconnected the google account and restarted the app, then when it asked to reconnect, i got the checkbox option and then synced. seems to work now

@phw198
Copy link
Owner

phw198 commented Aug 28, 2024

The big problem was that OGCS uninstall left a folder in the roaming folder that remembered the failed Google authentication and therefore failed after a reinstall. I chanced upon that folder and deleted it and then re-authenticated and it worked.

📦 OK, this hotfix v2.11.0.2.zip (see instructions for applying) should at least resolve the proper deletion of the token file, thus making it easier to then authorise the required permissions.
      CRCs: Zip = 9DC4E564 Exe = A9E1AE8C

Meanwhile, I'll work on improving behaviour with insufficient scopes...

@phw198

This comment was marked as outdated.

@phw198 phw198 added waiting fix confirmation Hotfix available for testing and removed triage Issue being investigated labels Sep 1, 2024
@phw198
Copy link
Owner

phw198 commented Sep 5, 2024

📦 And now hotfix v2.11.0.6.zip (see instructions for applying) should behave better when insufficient permissions are granted to OGCS.
      CRCs: Zip = 45C85B51 Exe = BB0DEF05

Please let me know how it goes!

@phw198
Copy link
Owner

phw198 commented Oct 29, 2024

User outside of GitHub has confirmed success with hotfix.

@phw198 phw198 changed the title Poor UX when required Google scopes not authorised; OGCS doesn't work Unable to retrieve calendars; poor UX when required Google scopes not authorised. Nov 2, 2024
@phw198 phw198 added resolved Working hotfix available and removed waiting fix confirmation Hotfix available for testing labels Nov 2, 2024
@phw198 phw198 added this to the v2.11.1 milestone Nov 2, 2024
@phw198 phw198 closed this as completed in 06a1fae Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something's not working right resolved Working hotfix available
Projects
None yet
Development

No branches or pull requests

4 participants