-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
google.cloud.error_reporting AttributeError: 'Client' object has no attribute 'project' #3167
Comments
forgot to mention I get a similar error when I try to use the google.cloud.logging client as well. |
Thanks for reporting, @cva. :-) Looking into this now. |
@lukesneeringer Was fixed in #3159 |
when might those changes show up in a new release? |
I can release a new error reporting client today. |
Thanks for the update. btw, did anyone check to see if the same fix has also been made to google.cloud.logging? (or should I just open a separate issue?) It seems to exhibit the same behavior. |
I was not able to find the issue on logging. |
…GoogleCloudPlatform/python-docs-samples#3167) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [google-cloud-speech](https://togithub.com/googleapis/python-speech) | patch | `==1.3.1` -> `==1.3.2` | --- ### Release Notes <details> <summary>googleapis/python-speech</summary> ### [`v1.3.2`](https://togithub.com/googleapis/python-speech/blob/master/CHANGELOG.md#​132httpswwwgithubcomgoogleapispython-speechcomparev131v132-2020-02-03) [Compare Source](https://togithub.com/googleapis/python-speech/compare/v1.3.1...v1.3.2) </details> --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Never, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#GoogleCloudPlatform/python-docs-samples).
…GoogleCloudPlatform/python-docs-samples#3167) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [google-cloud-speech](https://togithub.com/googleapis/python-speech) | patch | `==1.3.1` -> `==1.3.2` | --- ### Release Notes <details> <summary>googleapis/python-speech</summary> ### [`v1.3.2`](https://togithub.com/googleapis/python-speech/blob/master/CHANGELOG.md#​132httpswwwgithubcomgoogleapispython-speechcomparev131v132-2020-02-03) [Compare Source](https://togithub.com/googleapis/python-speech/compare/v1.3.1...v1.3.2) </details> --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Never, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#GoogleCloudPlatform/python-docs-samples).
…GoogleCloudPlatform/python-docs-samples#3167) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [google-cloud-speech](https://togithub.com/googleapis/python-speech) | patch | `==1.3.1` -> `==1.3.2` | --- ### Release Notes <details> <summary>googleapis/python-speech</summary> ### [`v1.3.2`](https://togithub.com/googleapis/python-speech/blob/master/CHANGELOG.md#​132httpswwwgithubcomgoogleapispython-speechcomparev131v132-2020-02-03) [Compare Source](https://togithub.com/googleapis/python-speech/compare/v1.3.1...v1.3.2) </details> --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Never, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#GoogleCloudPlatform/python-docs-samples).
…GoogleCloudPlatform/python-docs-samples#3167) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [google-cloud-speech](https://togithub.com/googleapis/python-speech) | patch | `==1.3.1` -> `==1.3.2` | --- ### Release Notes <details> <summary>googleapis/python-speech</summary> ### [`v1.3.2`](https://togithub.com/googleapis/python-speech/blob/master/CHANGELOG.md#​132httpswwwgithubcomgoogleapispython-speechcomparev131v132-2020-02-03) [Compare Source](https://togithub.com/googleapis/python-speech/compare/v1.3.1...v1.3.2) </details> --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Never, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#GoogleCloudPlatform/python-docs-samples).
…GoogleCloudPlatform/python-docs-samples#3167) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [google-cloud-speech](https://togithub.com/googleapis/python-speech) | patch | `==1.3.1` -> `==1.3.2` | --- ### Release Notes <details> <summary>googleapis/python-speech</summary> ### [`v1.3.2`](https://togithub.com/googleapis/python-speech/blob/master/CHANGELOG.md#​132httpswwwgithubcomgoogleapispython-speechcomparev131v132-2020-02-03) [Compare Source](https://togithub.com/googleapis/python-speech/compare/v1.3.1...v1.3.2) </details> --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Never, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#GoogleCloudPlatform/python-docs-samples).
…GoogleCloudPlatform/python-docs-samples#3167) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [google-cloud-speech](https://togithub.com/googleapis/python-speech) | patch | `==1.3.1` -> `==1.3.2` | --- ### Release Notes <details> <summary>googleapis/python-speech</summary> ### [`v1.3.2`](https://togithub.com/googleapis/python-speech/blob/master/CHANGELOG.md#​132httpswwwgithubcomgoogleapispython-speechcomparev131v132-2020-02-03) [Compare Source](https://togithub.com/googleapis/python-speech/compare/v1.3.1...v1.3.2) </details> --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Never, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#GoogleCloudPlatform/python-docs-samples).
…GoogleCloudPlatform/python-docs-samples#3167) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [google-cloud-speech](https://togithub.com/googleapis/python-speech) | patch | `==1.3.1` -> `==1.3.2` | --- ### Release Notes <details> <summary>googleapis/python-speech</summary> ### [`v1.3.2`](https://togithub.com/googleapis/python-speech/blob/master/CHANGELOG.md#​132httpswwwgithubcomgoogleapispython-speechcomparev131v132-2020-02-03) [Compare Source](https://togithub.com/googleapis/python-speech/compare/v1.3.1...v1.3.2) </details> --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Never, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#GoogleCloudPlatform/python-docs-samples).
…GoogleCloudPlatform/python-docs-samples#3167) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [google-cloud-speech](https://togithub.com/googleapis/python-speech) | patch | `==1.3.1` -> `==1.3.2` | --- ### Release Notes <details> <summary>googleapis/python-speech</summary> ### [`v1.3.2`](https://togithub.com/googleapis/python-speech/blob/master/CHANGELOG.md#​132httpswwwgithubcomgoogleapispython-speechcomparev131v132-2020-02-03) [Compare Source](https://togithub.com/googleapis/python-speech/compare/v1.3.1...v1.3.2) </details> --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Never, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#GoogleCloudPlatform/python-docs-samples).
I am trying to follow the sample code here in an appengine custom flexible runtime and whenever I run the code, I get the following error:
In the same project I'm also creating clients for pubsub and storage with the same default constructor and they both find the project and credentials, both when running in appengine as well as when I run the container locally and specify credentials by setting GOOGLE_APPLICATION_CREDENTIALS to point to a json file containing credentials for a service account.
I have also tried explicitly passing the project explicitly using something like:
and
to no avail.
Here is the sample code that fails:
Here is the output from
pip freeze | grep ^google-cloud
:The text was updated successfully, but these errors were encountered: