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

Allow open_browser=False #187

Closed
kuzmoyev opened this issue May 21, 2024 · 0 comments · Fixed by #192
Closed

Allow open_browser=False #187

kuzmoyev opened this issue May 21, 2024 · 0 comments · Fixed by #192

Comments

@kuzmoyev
Copy link
Owner

https://discord.com/channels/920269602771070976/920271575813615666/1242407353526259722

web-1  |     calendar = GoogleCalendar(email)
web-1  |                ^^^^^^^^^^^^^^^^^^^^^
web-1  |   File "/usr/local/lib/python3.12/site-packages/gcsa/googlecalendar.py", line 71, in _init
web-1  |     super().init(
web-1  |   File "/usr/local/lib/python3.12/site-packages/gcsa/services/baseservice.py", line 19, in __init
web-1  |     super().init(*args, **kwargs)
web-1  |   File "/usr/local/lib/python3.12/site-packages/gcsa/services/authentication.py", line 66, in _init
web-1  |     self.credentials = self._get_credentials(
web-1  |                        ^^^^^^^^^^^^^^^^^^^^^^
web-1  |   File "/usr/local/lib/python3.12/site-packages/gcsa/_services/authentication.py", line 110, in _get_credentials
web-1  |     credentials = flow.run_local_server(host=host, port=port, bind_addr=bind_addr)
web-1  |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
web-1  |   File "/usr/local/lib/python3.12/site-packages/google_auth_oauthlib/flow.py", line 444, in run_local_server
web-1  |     webbrowser.get(browser).open(auth_url, new=1, autoraise=True)
web-1  |     ^^^^^^^^^^^^^^^^^^^^^^^
web-1  |   File "/usr/local/lib/python3.12/webbrowser.py", line 66, in get
web-1  |     raise Error("could not locate runnable browser")
web-1  | webbrowser.Error: could not locate runnable browser
flow.run_local_server(host=host, port=port, open_browser=True/False) 
kuzmoyev added a commit that referenced this issue Sep 19, 2024
@kuzmoyev kuzmoyev linked a pull request Sep 19, 2024 that will close this issue
Merged
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

Successfully merging a pull request may close this issue.

1 participant