On the first out-of-the-box run of the script, it crashes because credentials.json is missing.
Specifically:
Fmbpro:gContacts2logseq ftrotter$ python gContacts2logseq.py
Traceback (most recent call last):
File "/Users/ftrotter/gitper/gContacts2logseq/gContacts2logseq.py", line 194, in
creds = login()
^^^^^^^
File "/Users/ftrotter/gitper/gContacts2logseq/gContacts2logseq.py", line 173, in login
flow = InstalledAppFlow.from_client_secrets_file(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/google_auth_oauthlib/flow.py", line 180, in from_client_secrets_file
with open(client_secrets_file, 'r') as json_file:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'credentials.json'
On the first out-of-the-box run of the script, it crashes because credentials.json is missing.
Specifically:
Fmbpro:gContacts2logseq ftrotter$ python gContacts2logseq.py
Traceback (most recent call last):
File "/Users/ftrotter/gitper/gContacts2logseq/gContacts2logseq.py", line 194, in
creds = login()
^^^^^^^
File "/Users/ftrotter/gitper/gContacts2logseq/gContacts2logseq.py", line 173, in login
flow = InstalledAppFlow.from_client_secrets_file(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/google_auth_oauthlib/flow.py", line 180, in from_client_secrets_file
with open(client_secrets_file, 'r') as json_file:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'credentials.json'