You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running the emulator via docker locally (bigtruedata/gcloud-bigtable-emulator) on port 8086.
I get the following error when trying to run the code:
Traceback (most recent call last):
File "/home/job/projects/sg_lab/server/bigtable_handler.py", line 34, in <module>
dh = BigtableHandler()
File "/home/job/projects/sg_lab/server/bigtable_handler.py", line 12, in __init__
self.client = bigtable.Client(admin=True)
File "/home/job/.local/lib/python3.8/site-packages/google/cloud/bigtable/client.py", line 184, in __init__
super(Client, self).__init__(
File "/home/job/.local/lib/python3.8/site-packages/google/cloud/client.py", line 316, in __init__
_ClientProjectMixin.__init__(self, project=project, credentials=credentials)
File "/home/job/.local/lib/python3.8/site-packages/google/cloud/client.py", line 264, in __init__
project = self._determine_default(project)
File "/home/job/.local/lib/python3.8/site-packages/google/cloud/client.py", line 283, in _determine_default
return _determine_default_project(project)
File "/home/job/.local/lib/python3.8/site-packages/google/cloud/_helpers.py", line 152, in _determine_default_project
_, project = google.auth.default()
File "/home/job/.local/lib/python3.8/site-packages/google/auth/_default.py", line 483, in default
raise exceptions.DefaultCredentialsError(_HELP_MESSAGE)
google.auth.exceptions.DefaultCredentialsError: Could not automatically determine credentials. Please set GOOGLE_APPLICATION_CREDENTIALS or explicitly create credentials and re-run the application. For more information, please see https://cloud.google.com/docs/authentication/getting-started
Process finished with exit code 1
The text was updated successfully, but these errors were encountered:
@supergreditur Thanks for the report! As of PR #430, the emulator should be fine running in an environment lacking any credentials (we now run it that way in a Github Workflow action). That fix should be available once we make a new release (likely next week, after all the Googlers return from the NEXT conference).
I'm experiencing issues with connecting locally to a cloud big table emulator.
It is very similar to this issue:
#184 (comment)
Environment details
OS type: Ubuntu
Python version: 3.8
pip version: 21.2.4
google-cloud-bigtable version: 2.4.0
my code:
I'm running the emulator via docker locally (bigtruedata/gcloud-bigtable-emulator) on port 8086.
I get the following error when trying to run the code:
The text was updated successfully, but these errors were encountered: