product_video_ads icon indicating copy to clipboard operation
product_video_ads copied to clipboard

Python error during install

Open behtjes opened this issue 6 months ago • 0 comments

I get tons of red lines when installing the app. All are python related. Here are the last lines ( I don't know how to export all the lines in the terminal, is that even possible?)

ERROR: Command errored out with exit status 1: /usr/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-qEqW9K/grpcio/setup.py'"'"'; __file__='"'"'/tmp/pip-install-qEqW9K/grpcio/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-vspxkY/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/roy/.local/include/python2.7/grpcio Check the logs for full command output. ERROR: (gcloud.secrets.describe) NOT_FOUND: Secret [projects/485701222961/secrets/video_generator_auth_token] not found. This command is authenticated as [email protected] which is the active account specified by the [core/account] property. Traceback (most recent call last): File "/home/roy/product_video_ads/video-generator/authenticator.py", line 26, in <module> from google.cloud import secretmanager ImportError: cannot import name 'secretmanager' from 'google.cloud' (unknown location) Granting access to the secret for GKE service account ERROR: (gcloud.secrets.add-iam-policy-binding) Status code: 404. Secret [projects/485701222961/secrets/video_generator_auth_token] not found. This command is authenticated as [email protected] which is the active account specified by the [core/account] property.. ********************************************************************************

I can open the app, and I try to generate the example, but it doesn't generate anything: image

What's going wrong?

behtjes avatar Aug 26 '24 09:08 behtjes