Відгуки: Extracting Text from the Images using the Google Cloud Vision API
4536 відгуків
student_03_0f17af6e3f35@cloudshell:~/python-docs-samples/functions/ocr/app (qwiklabs-gcp-00-5a2beaec2166)$ gcloud functions deploy ocr-extract --region=us-west1 --runtime python39 --trigger-bucket gs://image_qwiklabs-gcp-00-5a2beaec2166 --en try-point process_image --set-env-vars "^:^GCP_PROJECT=qwiklabs-gcp-00-5a2beaec2166:TRANSLATE_TOPIC=TSN:RESULT_TOPIC=TSNR:TO_LANG=es,en,fr,ja" Preparing function...done. X Updating function (may take a while)... OK [Build] Logs are available at [https://console.cloud.google.com/cloud-build/builds;region=us-west1/1387ebd8-7b18-41e6-9007-46f84b946dc8?project=958274565537] [Service] - [Trigger] Creating Eventarc trigger... . [ArtifactRegistry] . [Healthcheck] . [Triggercheck] Failed. [WARNING] Cloud Run service projects/qwiklabs-gcp-00-5a2beaec2166/locations/us-west1/services/ocr-extract for the function was not found. The service was redeployed with default values. ERROR: (gcloud.functions.deploy) OperationError: code=7, message=Creating trigger failed for projects/qwiklabs-gcp-00-5a2beaec2166/locations/us-west1/triggers/ocr-extract-978334: The Cloud Storage service account for your bucket is unable to publish to Cloud Pub/Sub topics in the specified project. To use GCS CloudEvent triggers, the GCS service account requires the Pub/Sub Publisher (roles/pubsub.publisher) IAM role in the specified project. (See https://cloud.google.com/eventarc/docs/run/quickstart-storage#before-you-begin): permission denied
Muhamad Arwani M. · Відгук надано близько 1 року тому
Ahmad Luay A. · Відгук надано близько 1 року тому
Ahmad Luay A. · Відгук надано близько 1 року тому
errors occurred and could not be solved...
René K. · Відгук надано близько 1 року тому
Issue regarding IAM with qwiklabs. Trigger seems to build ok but does not show up in the "Triggers" tab. No traces of triggers are found when deploying the trigger. This may be me not understanding fully the inner working of all of it, but this lacks explanation in the lab then :)
Baptiste L. · Відгук надано близько 1 року тому
Gayathri D. · Відгук надано близько 1 року тому
I was unable to complete the lab due to error: student_03_21646a0bd071@cloudshell:~/python-docs-samples/functions/ocr/app (qwiklabs-gcp-01-92a5270ab6a7)$ gcloud functions deploy ocr-extract --region=us-central1 --runtime python39 --trigger-bucket gs://image_bucket_qwiklabs-gcp-01-92a5270ab6a7 --entry-point process_image --set-env-vars "^:^GCP_PROJECT=qwiklabs-gcp-01-92a5270ab6a7:TRANSLATE_TOPIC=translate_topic:RESULT_TOPIC=result_topic:TO_LANG=es,en,fr,ja" Preparing function...done. X Updating function (may take a while)... OK [Build] Logs are available at [https://console.cloud.google.com/cloud-build/builds;region=us-central1/ff589c9e-eaed-406e-b87a-f8365ccc560d?project=939117344446] [Service] - [Trigger] Creating Eventarc trigger... . [ArtifactRegistry] - [Healthcheck] Rollback Cloud Run service traffic... . [Triggercheck] Failed. [INFO] A new revision will be deployed serving with 100% traffic. ERROR: (gcloud.functions.deploy) OperationError: code=7, message=Creating trigger failed for projects/qwiklabs-gcp-01-92a5270ab6a7/locations/us-central1/triggers/ocr-extract-027735: The Cloud Storage service account for your bucket is unable to publish to Cloud Pub/Sub topics in the specified project. To use GCS CloudEvent triggers, the GCS service account requires the Pub/Sub Publisher (roles/pubsub.publisher) IAM role in the specified project. (See https://cloud.google.com/eventarc/docs/run/quickstart-storage#before-you-begin): permission denied OperationError: code=3, message=Invalid resource name '' for pattern 'projects/{project=*}/locations/{location=*}/triggers/{trigger=*}'.
Krzysztof K. · Відгук надано близько 1 року тому
Jakub J. · Відгук надано близько 1 року тому
Rama A. · Відгук надано близько 1 року тому
event arc and pub/sub publisher permission not there
Rajesh G. · Відгук надано близько 1 року тому
exceeded cloud storage bucket quota
Rajesh G. · Відгук надано близько 1 року тому
exceeded cloud storage bucket quota
Rajesh G. · Відгук надано близько 1 року тому
Mohamed Z. · Відгук надано близько 1 року тому
Rulli Y. · Відгук надано близько 1 року тому
invalid project id
Rajesh G. · Відгук надано близько 1 року тому
invalid project id
Rajesh G. · Відгук надано близько 1 року тому
Ty S. · Відгук надано близько 1 року тому
Ty S. · Відгук надано близько 1 року тому
Lukas T. · Відгук надано близько 1 року тому
Lukas T. · Відгук надано близько 1 року тому
Lukas T. · Відгук надано близько 1 року тому
Lukas T. · Відгук надано близько 1 року тому
kept getting error ERROR: (gcloud.functions.deploy) OperationError: code=7, message=Creating trigger failed for projects/qwiklabs-gcp-02-5f084919dde6/locations/us-central1/triggers/ocr-extract-560392: The Cloud Storage service account for your bucket is unable to publish to Cloud Pub/Sub topics in the specified project. cannot complete tried everything
Zhane Z. · Відгук надано близько 1 року тому
Lukas T. · Відгук надано близько 1 року тому
Jakub J. · Відгук надано близько 1 року тому
Ми не гарантуємо, що опубліковані відгуки написали клієнти, які придбали продукти чи скористалися ними. Відгуки не перевіряються Google.