-
Notifications
You must be signed in to change notification settings - Fork 175
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
the platform is not working on google app_engine #43
Comments
You can't add pycrypto as an external lib, you need to enable it on your appspot via app.yaml: https://cloud.google.com/appengine/docs/python/tools/libraries27 Note that you may need to convert the .p12 key file to a .pem to work on app engine. See this issue for more information. That said, the recommended way to use this on App Engine is to not use a private key at all but instead to use from bigquery import get_client
from bigquery import BIGQUERY_SCOPE
from oauth2client.appengine import AppAssertionCredentials
credentials = AppAssertionCredentials(scope=BIGQUERY_SCOPE)
client = get_client('my-project', credentials=credentials) |
can you tell me the import password for convert my key.p12 to key.pem. |
The password defaults to 'notasecret' |
Still have error :
|
Can you post the code you're using which gives this error? Looks like a bad request is happening. |
Specifically, the problem is |
The error is 0 ms second, do you know how to set the second?
|
I use the basic solution of your example:
|
What happens if you try: client.get_query_rows(job_id, offset=0) |
it works, but as the maxResult=0, it just give me 0 result, can you tell me how to set the maxResult variable? |
The On Wed, Jan 28, 2015, 9:07 PM thinksource notifications@github.com wrote:
|
Thank you it works |
I try to build a google app_engine include your code as additional libs.
currently google app_engine have only libs:
https://cloud.google.com/appengine/docs/python/tools/libraries27
I add:
to make the lib directory as my external libs.
I added some libs oauth2client, dateutil, simplejson, and bigquery
the error is no crypto libary, I try to add pycrypto, but the pycrypto contain lots of c++ or code libraries.
I do not think it will run on could when do you know the library do not contain the other language library for crypto?
or you can use other way to invoke oauth2client
The text was updated successfully, but these errors were encountered: