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

hardcoded bucket "tatt_transcript_goog" for Google #69

Open
ad-m opened this issue Feb 13, 2022 · 1 comment
Open

hardcoded bucket "tatt_transcript_goog" for Google #69

ad-m opened this issue Feb 13, 2022 · 1 comment

Comments

@ad-m
Copy link

ad-m commented Feb 13, 2022

I have tried to use this tool. Unfortunately, I miss access to the hardcoded bucket tatt_transcript_goog on Google.

$ transcribe this /tmp/skw\ cz1.mp3 google
Traceback (most recent call last):
  File "/tmp/tmp.RSx3Aji6YS/bin/transcribe", line 5, in <module>
    from tatt.transcribe import cli
  File "/tmp/tmp.RSx3Aji6YS/lib/python3.9/site-packages/tatt/transcribe.py", line 8, in <module>
    from tatt import config, exceptions, helpers, vendors
  File "/tmp/tmp.RSx3Aji6YS/lib/python3.9/site-packages/tatt/helpers.py", line 8, in <module>
    from tatt import config, exceptions, vendors
  File "/tmp/tmp.RSx3Aji6YS/lib/python3.9/site-packages/tatt/vendors/__init__.py", line 1, in <module>
    from tatt.vendors import amazon, google
  File "/tmp/tmp.RSx3Aji6YS/lib/python3.9/site-packages/tatt/vendors/google.py", line 29, in <module>
    class Transcriber(TranscriberBaseClass):
  File "/tmp/tmp.RSx3Aji6YS/lib/python3.9/site-packages/tatt/vendors/google.py", line 168, in Transcriber
    transcript_bucket = storage_client.get_bucket(BUCKET_NAME_TRANSCRIPT)
  File "/tmp/tmp.RSx3Aji6YS/lib/python3.9/site-packages/google/cloud/storage/client.py", line 780, in get_bucket
    bucket.reload(
  File "/tmp/tmp.RSx3Aji6YS/lib/python3.9/site-packages/google/cloud/storage/bucket.py", line 1029, in reload
    super(Bucket, self).reload(
  File "/tmp/tmp.RSx3Aji6YS/lib/python3.9/site-packages/google/cloud/storage/_helpers.py", line 232, in reload
    api_response = client._get_resource(
  File "/tmp/tmp.RSx3Aji6YS/lib/python3.9/site-packages/google/cloud/storage/client.py", line 364, in _get_resource
    return self._connection.api_request(
  File "/tmp/tmp.RSx3Aji6YS/lib/python3.9/site-packages/google/cloud/storage/_http.py", line 80, in api_request
    return call()
  File "/tmp/tmp.RSx3Aji6YS/lib/python3.9/site-packages/google/api_core/retry.py", line 283, in retry_wrapped_func
    return retry_target(
  File "/tmp/tmp.RSx3Aji6YS/lib/python3.9/site-packages/google/api_core/retry.py", line 190, in retry_target
    return target()
  File "/tmp/tmp.RSx3Aji6YS/lib/python3.9/site-packages/google/cloud/_http/__init__.py", line 480, in api_request
    raise exceptions.from_http_response(response)
google.api_core.exceptions.Forbidden: 403 GET https://storage.googleapis.com/storage/v1/b/tatt_transcript_goog?projection=noAcl&prettyPrint=false: [email protected] does not have storage.buckets.get access to the Google Cloud Storage bucket.
@zevaverbach
Copy link
Owner

hey @ad-m, sorry not to have seen this comment 'til now! I will have a look soon hopefully.

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

No branches or pull requests

2 participants