[google-appengine] Loading data into automatic scaled instance memory

2015-11-05 Thread John Smith
Each instance of my application module (default) needs to load data from the datastore into local memory (for performance/cost reasons), where it will be read-only. A separate module updates the data in the datastore (updater), and the data needs to be refreshed (entirely) in each default instan

[google-appengine] Re: How to store open connection to external MongoDB

2015-11-05 Thread timh
This just won't work on a front end request. Any thread you create will be destroyed at the end of the request. The appengine front end is not designed for this type of capabiltiy. You could consider running your mongo interface on a managed vm, and then use some sort of simple rpc mechanism t

[google-appengine] " Some of your projects are in violation of our Terms of Service. Click the button in the status column of the project to address the issue. "

2015-11-05 Thread Venetsian Jakimov
Hey, Yesterday I tried to setup a test app but seems I used my paypal debit card which caused a violation (I didn't know it worked with regular credit cards only). I filed petition but got no response. Today I tried to setup new project but it gives me "forbidden" error. How can this be fixed? I

[google-appengine] Labelled versions added to appengine-deploy (PHP)

2015-11-05 Thread Tom Walder
For anyone using our environment and deployment manager tool, we've release v1.1 with a couple of key changes 1. Support for labelled versions - make it easier to recognise version purpose (e.g. "version3-feature") 2. Change to command line parameters (- and -- syntax) https://github.com/Vendit

[google-appengine] Re: " Some of your projects are in violation of our Terms of Service. Click the button in the status column of the project to address the issue. "

2015-11-05 Thread Patrice (Cloud Platform Support)
Hi, There is unfortunately not much to be done besides waiting for the relevant team to reply to you. You could start new projects on a different account and link a credit card on those projects, but for the account you had a violation on, you need to wait for the official response, we can't

[google-appengine] Re: How to store open connection to external MongoDB

2015-11-05 Thread Minie Takalova
Hi Re. timh: OK, I understand that keep open connection which is based on threads, in frontend is prohibited. So, what is the easiest and clearest way how to solve it? What I tried: * convinced PyMongo to work without threads. Tried many parameters (from here http://api.mongodb.org/python/cur

[google-appengine] FeatureNotEnabledError: The API call images.Transform() is currently not enabled.

2015-11-05 Thread Zengyang Wang
After switching to a Managed VM, calls to the Image API are now broken: E 16:35:47.227 The API call images.Transform() is currently not enabled. Traceback (most recent call last): File "/home/vmagent/python_vm_runtime/lib/webapp2-2.5.2/webapp2.py", line 570, in dispatch

Re: [google-appengine] FeatureNotEnabledError: The API call images.Transform() is currently not enabled.

2015-11-05 Thread Nickolas Daskalou
Hi Zengyang, We had the same problem (I created the other question you linked to). We also had PIL installed and some tinkering did not help, so we switched the module back to classic App Engine long before it took Google Support one month to reply back to me. If you get it working, please let m

Re: [google-appengine] FeatureNotEnabledError: The API call images.Transform() is currently not enabled.

2015-11-05 Thread Nickolas Daskalou
Also FYI, we run some image manipulations for ImageResizer.io on the classic App Engine module, and others (like image blur) on the managed VM module. The classic App Engine module receives the image transformation request from the client, and depending on what image man

[google-appengine] GAE NDB put_multi only load partial data from text file

2015-11-05 Thread LYMLeon
Hi, Currently I'm trying to write data from a text file to NDB on local datastore using the development web server. I have around ~4200 entity on the text file but on the Datastore Viewer, only 1000 entities had been loaded. The method that I'm using to put the data is: listOfEntities

[google-appengine] Re: GAE NDB put_multi only load partial data from text file

2015-11-05 Thread LYMLeon
Seems like I was careless, Datastore Viewer is only fetching 1000 entity. On Friday, November 6, 2015 at 10:20:53 AM UTC+8, LYMLeon wrote: > > Hi, > > Currently I'm trying to write data from a text file to NDB on local > datastore using the development web server. I have around ~4200 entity on

[google-appengine] Re: How to store open connection to external MongoDB

2015-11-05 Thread Minie Takalova
Can be used, *Task Queue *as separate, non request dependent, process for storing open database connection? https://cloud.google.com/appengine/docs/python/taskqueue/ Cite:... *With the Task Queue API, applications can perform work outside of a user request, initiated by a user request. If an app

Re: [google-appengine] Re: How to store open connection to external MongoDB

2015-11-05 Thread Jeff Schnitzer
Due to the nature of classic google app engine, you can't leave threads running. This doesn't mean you can't have sockets open between requests, but the MongoDB driver wants to use threads to manage those sockets for you and that's a no-no. This leaves you pretty much two choices if you want to us

[google-appengine] ApiProxy$OverQuotaException without being over quota!!

2015-11-05 Thread Sagar Mutha
I have seen this error 2 days in a row now. My app is way below the quota but it keeps showing this exception. `/api/seat com.google.apphosting.api.ApiProxy$OverQuotaException: The API call remote_socket.SetSocketOptions() required more quota than is available.` This is adversely affecting the

[google-appengine] Re: How to store open connection to external MongoDB

2015-11-05 Thread Minie Takalova
Re. Jeff Schnitzer: Thank you for advice. Also it mean, that without Managed VMs or hacking DB driver is no way how to keep open connection between requests? Not GAE Backend process, not Task Queue, not Backend Threads, not Multitenancy, not Non-Blocking Sockets can be used ? -- You receiv