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
{{ message }}
Repository navigation
Attribute error thrown in gcloud/exceptions.py #653
I'm closing this out since the issue is not the library, but either a) the incorrect dataset ID or b) the insufficient information returned in the backend response.
Please re-open if you'd like to discuss more. I'm happy to brainstorm on this.
Activity
dhermes commentedon Feb 17, 2015
Thanks for the report. I just "fixed"
make_exceptionand it seems I broke it in some other way. Looking into it.dhermes commentedon Feb 17, 2015
Ahh I see now, it's not
make_exceptionthat's broken, you just expect better errors when using the "wrong" dataset ID.The answer is that your dataset ID is not your numeric project ID, but is instead a word or phrase. The following are actually equivalent
Using your project ID is just like using
FOOBARAZas your dataset ID, and the backend returns a503.Maybe we should file a Cloud Datastore issue?
I'm closing this out since the issue is not the library, but either a) the incorrect dataset ID or b) the insufficient information returned in the backend response.
Please re-open if you'd like to discuss more. I'm happy to brainstorm on this.
craigloftus commentedon Feb 17, 2015
@dhermes It is a 'real'
AttributeErrorthat I am seeing. If you're not able to reproduce it, it is probably down to my environment.I had to jump and hack through some hoops to use a Python 3 only library I needed for a prototype.
dhermes commentedon Feb 17, 2015
Can you send the stack trace? Also, maybe the output of
envfrom the command line (at least what you are willing to send)?dhermes commentedon Feb 18, 2015
@craigloftus I have been trying to reproduce and got
which is due to the issue fixed in googleapis/oauth2client#126
After installed from
HEADinoauth2clientand usingprotobuf==3.0.0-alpha-1:From
HEADinoauth2client, using a valid ID:dhermes commentedon Mar 9, 2015
I'm closing this out since it's being fixed upstream in
httplib2andoauth2client:googleapis/oauth2client#104
googleapis/oauth2client#136
jcgregorio/httplib2#291
jcgregorio/httplib2#296
build(deps): [autoapprove] bump cryptography from 41.0.0 to 41.0.2 (#653
chore(deps): update dependency google-cloud-bigquery to v3.11.4 (#653)
chore: fallback to unary_unary when wrapping async callables (#653)
fix: refactor global cache to address concurrency and fault tolerance…
chore: fix comment about clock_skew (#653)
Samples(test): Extend timeout eod receive test (#653)
chore: use 3.8 for blacken session (#653)
chore: ignore tx warnings in pdml test (#653)