[google-appengine] Re: Error caused by webapp2.uri_for

2014-01-16 Thread timh
I went to a valid page. I then went to an invalid page and got the 404, but after that I did not get any 'uri_for' undefined error. Any ideas? Thanks, Jeff On Thursday, January 16, 2014 4:21:11 AM UTC-8, timh wrote: Check and see if you have had a deadline exceeded error during instance

[google-appengine] Re: Error caused by webapp2.uri_for

2014-01-16 Thread timh
raise exc.HTTPNotFound() HTTPNotFound: The resource could not be found. Never gets out of the webapp2.py to start anything. Any idea on what needs to be done? On Thursday, January 16, 2014 3:41:39 PM UTC-8, timh wrote: Hi I would look at how you 404 handler is initialized and if it has

[google-appengine] Re: Executing code outside of a transaction (python + NDB)

2014-01-15 Thread timh
Why not just use the non transactional decorator, @ndb.non_transactional @ndb.non_transactional(allow_existing=True)Decorator to ensure that a function runs *outside* a transaction. *Arguments:* allow_existingIf True (the default) and if the decorated function is called by code in a

[google-appengine] Re: User facing requests going into the warm up instances and getting served

2014-01-10 Thread timh
You do have warmup requests enabled ? On Friday, January 10, 2014 2:23:09 PM UTC+8, aswath wrote: Hello, The user facing requests are going into the instance startup and getting served. Any settings recommended recently for avoiding this. My settings are instance_class: F2

[google-appengine] Re: App engine examples and documentation suck -Don't waste your time

2014-01-09 Thread timh
How is listbucket not capable of listing files in your bucket ? https://developers.google.com/appengine/docs/python/googlecloudstorageclient/functions#listbucket GCS works like S3, these are all read, write only and delete. Neither support append to a particular file. On Thursday, January 9,

[google-appengine] Re: Can i use linux command in google app

2013-12-27 Thread timh
No You should read the docs. You can import pure python and call functions, and instantiate classes. On Friday, December 27, 2013 8:24:09 PM UTC+8, Shipu Ahamed wrote: can i use linux command in google appspot or always run a python program. -- You received this message because you

[google-appengine] Re: Centralized logging to cloud storage

2013-12-27 Thread timh
You still have to wait. From a code point of view it might look like you are doing an async write, not waiting and sending a response back , but you will find the response is held until all outstanding rpc's are resolved. On Saturday, December 28, 2013 3:54:22 AM UTC+8, Chad Vincent

[google-appengine] Re: couting the each entity from the datastore

2013-12-26 Thread timh
The best place to start is by reading the documentation. In addition the method used will differ depending on the language you have chosen (go, java, python) On Thursday, December 26, 2013 9:03:58 PM UTC+8, raj karthi wrote: i want to count the each entity from the data store. if the single

[google-appengine] Re: Platform stability

2013-12-19 Thread timh
The most common cause of DEE's is during startup, especially if the instance is started and has to serve a request. Are you using warmup requests? T On Thursday, December 19, 2013 5:03:35 PM UTC+8, FastGeert wrote: Lately I'm getting an affwull amount of DeadlineExceededError requests when

[google-appengine] Any one else noticed the increased number of attempts to access php (and more specifically wordpress) exploit attempts

2013-12-19 Thread timh
Howdy I have noticed recently a lot more attempts to access php (and more specifically wordpress) exploits of late. I don't use either so it will never affect me, but there does seem to be a lot more of this sort of activity Cheers T -- You received this message because you are subscribed

[google-appengine] Re: Wait, what? App Engine doesn't work with latest version of WordPress?

2013-12-17 Thread timh
Half the things mentioned here as desirable would all of sudden make app engine instances as vulnerable as all the other word press instances out there. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and

[google-appengine] Re: Bug in counting datastore small ops?

2013-12-15 Thread timh
You didn't mention disabling indexes in your OP. You are using iter over remote api, I usually use big batches (1000) using a cursor for remote_api work. It may be the small iter/small batches create a lot of roundtrips and these would add up as small ops. On Monday, December 16, 2013

[google-appengine] Re: Bug in counting datastore small ops?

2013-12-14 Thread timh
Are you sure the over quota is from the query. The delete will cause all indexes associated with the deleted entity to be updated. So that will be more likely the cause of the over quota. To prove this run the same query without the delete ;-) T On Sunday, December 15, 2013 12:32:25 AM

[google-appengine] Re: Requests being duplicated

2013-12-10 Thread timh
Do you have page speed enabled. You do see this sort of thing with that. On Tuesday, December 10, 2013 6:08:39 AM UTC+8, Theodore Book wrote: In examining my appengine logs, I discovered today that nearly all of my requests are being executed multiple times. The two executions tend to be

[google-appengine] Re: Requests being duplicated

2013-12-10 Thread timh
speed, but I may have some misconfiguration there. I'll google a bit and see what I can find. On Tuesday, December 10, 2013 2:05:47 AM UTC-6, timh wrote: Do you have page speed enabled. You do see this sort of thing with that. On Tuesday, December 10, 2013 6:08:39 AM UTC+8, Theodore Book

[google-appengine] Re: SocketTimeoutException from one AppEngine Server to another

2013-12-10 Thread timh
You could well be in breach of the TOS doing this. (I assume you have checked) In addition if a front facing request is setting the deadline to 60 secs, and a front facing request maximum lifetime is 60 secs then it would seem you could run into troubles. Why not try with a short timeout

[google-appengine] Re: Wait, what? App Engine doesn't work with latest version of WordPress?

2013-12-05 Thread timh
I am not commenting on the appropriateness or other wise of specific versions etc... Just that it is not possible for wordpress to be upgraded automatically as was suggested in the OP T On Friday, December 6, 2013 2:40:00 PM UTC+8, OC2PS wrote: On Wednesday, December 4, 2013 5:05:49 AM

[google-appengine] Re: Wait, what? App Engine doesn't work with latest version of WordPress?

2013-12-05 Thread timh
PM UTC+8, OC2PS wrote: That info was based on - http://wordpress.org/news/2013/10/basie/ - http://nakedsecurity.sophos.com/2013/10/26/wordpress-3-7-is-out-now-and-promises-to-update-while-you-sleep/ On Friday, December 6, 2013 3:01:12 PM UTC+8, timh wrote: it is not possible

[google-appengine] Re: Wait, what? App Engine doesn't work with latest version of WordPress?

2013-12-03 Thread timh
Think about it. Automatic updates of code (PHP) or otherwise are not possible on appengine. Unless the PHP code is stored in the datastore/mysql which it isn't The only possible path would be an automatic update on the dev environment (I don't believe that could happen either the the SDK

[google-appengine] Re: Wait, what? App Engine doesn't work with latest version of WordPress?

2013-11-30 Thread timh
Except they can't automatically start upgrading wordpress on appengine. The only way to update code is via deploying a new version. On Saturday, November 30, 2013 11:47:58 PM UTC+8, OC2PS wrote: Looks like App Engine has trouble with WordPress 3.7.1

[google-appengine] Re: Precompilation error - Cannot deploy application (as of today)

2013-11-28 Thread timh
If you are running python based apps, why wouldn't you upgrade? You will already be running against 1.8.8 in production. On Thursday, November 28, 2013 4:12:40 AM UTC+8, Kaan Soral wrote: I'm getting a 503 with urllib2.URLError: urlopen error [Errno 8] _ssl.c:503: EOF occurred in violation

[google-appengine] Re: insert large content record in NDB at runtime ?

2013-11-26 Thread timh
You can't do *dbObjData[key] = ndb.TextProperty(data[key])* It doesn't work that way. You can only assign values to instance of properties, not at instantiation. You should probably explain what you are trying to do. I can probably guess, but won't bother. However I think there are other ways

[google-appengine] Re: How to insert records more than 1000 in Google App Engine Datastore ?

2013-11-25 Thread timh
You do it the same way you insert 1000 records, you just insert a few more, then you will have more than 1000 records. On Monday, November 25, 2013 2:51:54 PM UTC+8, Vijay Kumbhani wrote: pls help -- You received this message because you are subscribed to the Google Groups Google App

[google-appengine] Re: URGENT: Getting lots of deadline Exceeded exceptions tonight. Anyone else?

2013-11-25 Thread timh
No. It doesn't appear to be affecting everyone. On Tuesday, November 26, 2013 2:56:26 PM UTC+8, fross...@conceptuamath.com wrote: Getting lots of deadline Exceeded exceptions tonight. Anyone else? Can anyone help? Fred Ross-Perry VP, Product Development Conceptua Math 179 H St.

Re: [google-appengine] Naked Domain Question

2013-11-14 Thread timh
Easydns can do it too. I have found there support is very good. T On Friday, November 15, 2013 2:24:33 PM UTC+8, Vinny P wrote: On Thu, Nov 14, 2013 at 1:38 PM, Joshua Smith joshua...@charter.netjavascript: wrote: Thanks. So I guess I'm doing the best I can with godaddy already (which

[google-appengine] Re: Google App engine is only web hosting service?

2013-11-12 Thread timh
You only need different ports if the underlying protocol is not http,https based. If you do need to provide a server for some other protocol then you can't use appengine. T On Tuesday, November 12, 2013 7:42:50 PM UTC+8, David Garcia wrote: Hello, I just made my first application on App

Re: [google-appengine] App Engine Version 1.8.8 in control panel ???

2013-11-12 Thread timh
They always roll out new versions, and you have no control over it. Its a fact of life with appengine. On Wednesday, November 13, 2013 7:50:16 AM UTC+8, o...@haitov.com wrote: Do you know if there is some documentation about it anywhere ??? Can i disable this ?? I provide a paid service to

Re: [google-appengine] Re: Not able to delete an Item in Entity. Help needed :)

2013-11-09 Thread timh
Its not SQL, and it's a mistake to think of it in those terms. In many cases I think it is easier than SQL, just depends on what you are used to and what you want to do. Tree's are much easier in the datastore than SQL for instance. T On Sunday, November 10, 2013 9:05:17 AM UTC+8, Weilies Chok

[google-appengine] Re: Not able to delete an Item in Entity. Help needed :)

2013-11-08 Thread timh
Just look at the dashboard and the records there. w_key = ndb.Key(DSusers, 'weilies') can't possibly match any record. You are setting the username to 'weilies' but not the key name You need to perform a query for the matching entity then delete. delete() method doesn't return anything hence

Re: [google-appengine] Is there 3-4 second differences between instance clocks?

2013-11-02 Thread timh
I have at times experienced definite clock skews (I documented some up as much a minute in the early stages.) I personally think it is a mistake to design a solution that needs 5 sec clock accuracy with appengine. T On Saturday, November 2, 2013 12:32:43 PM UTC+8, Vinny P wrote: On Fri,

[google-appengine] Re: Google-branded 503 error screens?

2013-10-31 Thread timh
On Wednesday, 30 October 2013 18:02:23 UTC-6, timh wrote: You need to consider all the layers involved here. If the errors occur in infrastructure before it even gets to appengine (and custom static error pages) then how can you brand the error page, and something has to be shown. T On Thursday

[google-appengine] Re: Google-branded 503 error screens?

2013-10-30 Thread timh
You need to consider all the layers involved here. If the errors occur in infrastructure before it even gets to appengine (and custom static error pages) then how can you brand the error page, and something has to be shown. T On Thursday, October 31, 2013 1:23:16 AM UTC+8, Jason Collins wrote:

Re: [google-appengine] Why GAE is very expensive?

2013-10-23 Thread timh
I agree with @Kaan. I run a small business site on gae, and I am both happy with the price, the performance and the reliability. Sure I could run it on other hosting services, however I don't have the time or the inclination to maintain the whole stack down to the OS, manage scalability,

[google-appengine] Re: App Engine datastore bug - indexes aren't synced (even after an hour)

2013-10-21 Thread timh
If you know the key of the missing entity, do a get() on it. Then try the query. T On Thursday, October 17, 2013 6:12:59 PM UTC+8, eg...@storee.us wrote: Hello, This happened to me today; I have an entity E with properties p1, p2, p3 I create a new E and Put() it in the datastore.

[google-appengine] Re: why required bind in GQL ?

2013-10-18 Thread timh
You will get more value by reading the docs and trying to work it out for yourself. If something is not working then show us the code you are trying and we can help you work out where you are going wrong. T On Friday, October 18, 2013 3:34:16 PM UTC+8, Vijay Kumbhani wrote: i used *ndb.gql *

Re: [google-appengine] Google App Engine SDK 1.8.6 is now available!

2013-10-17 Thread timh
Has anyone got any results from the new memcache total cache size graph ? T On Thursday, October 17, 2013 10:37:51 AM UTC+8, Vinny P wrote: On Wed, Oct 16, 2013 at 11:57 AM, Richmond Manzana rich...@google.comjavascript: wrote: We're pleased to announce that we have released the 1.8.6

[google-appengine] Re: App engine is down on some apps

2013-10-16 Thread timh
No.. I am on python and am finding it's running particularly well at the moment. This morning memecache was being purged rapidly now it's settled down and response times are good. T On Wednesday, October 16, 2013 3:24:50 PM UTC+8, ZeroCool wrote: Anyone else seeing the same problem? My app

[google-appengine] Re: App engine is down on some apps

2013-10-16 Thread timh
Though the dashboard is very slow at the moment. T On Wednesday, October 16, 2013 3:52:37 PM UTC+8, timh wrote: No.. I am on python and am finding it's running particularly well at the moment. This morning memecache was being purged rapidly now it's settled down and response times

[google-appengine] Re: How to access local class outside function ?

2013-10-16 Thread timh
The only reason you would define it this way is to prevent what you are doing. On the face of it looks like a very odd thing to do. T On Wednesday, October 16, 2013 7:41:36 PM UTC+8, Vijay Kumbhani wrote: *def myFunction(data):* *class MyClass(ndb.Exapando):* *def

[google-appengine] Re: Count GQL

2013-10-16 Thread timh
You can't You have stop thinking of appengine/gql in SQL terms. Use the remote_api shell, then you can get the query object and then call count() on it. On Wednesday, October 16, 2013 11:56:52 PM UTC+8, Martin Descours wrote: I am sure you had that a lot, but how can count results on a

[google-appengine] Looks like 1.8.6 has rolled out, seeing a few small issues.

2013-10-15 Thread timh
1.8.6 is now being shown in the dashboard, and I think we are going to have a few days of instabililty ;-( - dashboard failures, memcache rapid purging. Also the new Memcache Total Cache Size doesn't appear show any data. I wonder if running instances (one reserved instance has been

[google-appengine] Re: Error : Key kind string must be a non-empty string up to 500bytes

2013-10-14 Thread timh
help what ? You need to provide a lot more information here if you want some help On Monday, October 14, 2013 4:53:59 PM UTC+8, Vijay Kumbhani wrote: help -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group

[google-appengine] Re: Not Equal Operator in Filter with datastore.Query in GAE with Python

2013-10-11 Thread timh
entities. So how can I create dynamic entities with dynamic field support ?? On Friday, October 11, 2013 11:24:49 AM UTC+5:30, timh wrote: You could use metaclasses to create dynamic models, however you would always have to create a matching class (which would register the class to kind map

[google-appengine] Re: Not Equal Operator in Filter with datastore.Query in GAE with Python

2013-10-11 Thread timh
Ignore the namespace comment. On Friday, October 11, 2013 5:43:43 PM UTC+8, timh wrote: As I said I would use a metaclass to create classes on demand. However you would need to use some name mangling scheme so that each users class name was garunteed to be unique otherwise you could end

[google-appengine] Re: major MEMCACHE changes started October 5th

2013-10-11 Thread timh
I really think you confuse various localised and/or widespread problems with intent. I just don't see intent I have been using appengine (totally reliant on it) since 2008. memcache has always been vague in it's rentention of records. See me earlier response to this thread , you see I had

[google-appengine] Re: major MEMCACHE changes started October 5th

2013-10-10 Thread timh
I don't believe the evidence you present can necessarily lead one to the conclusion that google is actively purging memcache to force you to buy premium memcache. If they where doing such a thing I would imagine lots of people would be seeing the same behaviour as you. T On Monday, October

[google-appengine] Re: Not Equal Operator in Filter with datastore.Query in GAE with Python

2013-10-10 Thread timh
First off you should have spaces between the name and the operator in the query string. However that won't solve you problem in this case in the code of datastore.Query you will see the following docs query = Query('Person') query.update({'name =': 'Ryan', 'age =': 21}) The supported

Re: [google-appengine] Not Equal Operator in Filter with datastore.Query in GAE with Python

2013-10-10 Thread timh
As an aside you really misunderstand how the datastore works there are no tables. On Thursday, October 10, 2013 2:00:57 PM UTC+8, Mitul Golakiya wrote: Thanks Alfred... To use both ndb or Expando class, first I have to create a class which extends ndb or Expando... But I am getting

[google-appengine] Re: Not Equal Operator in Filter with datastore.Query in GAE with Python

2013-10-10 Thread timh
You could use metaclasses to create dynamic models, however you would always have to create a matching class (which would register the class to kind map) before you could perform any query. I think you should elaborate more on what you are trying to do, we may be able to suggest an approach

[google-appengine] Re: M/S vs HRD Datastore pricing

2013-10-08 Thread timh
Hi I moved from a M/S to HR about 12 months ago, this is a relatively low volume site with at least one resident instance. I have seen no price change for our workload. T On Tuesday, October 8, 2013 3:54:17 PM UTC+8, John Wheeler wrote: Hi - When HRD was announced, there was a tentative

[google-appengine] Re: major MEMCACHE changes started October 5th

2013-10-08 Thread timh
I would check the totals of how much you are storing in memcache. There seems to be a high water mark (never seen it documented) which once you exceed there is a lot of churn. I have noted in the past that memcache can be affected locally. (ie one instances contents of memcache gets purged

[google-appengine] Re: major MEMCACHE changes started October 5th

2013-10-07 Thread timh
Can't say I have noticed any significant difference in memcache other than the usual week or so of instability when they roll out new releases. Hit count:70713Miss count:5933Hit ratio:92%Item count:1979 item(s)Total cache size:40909470 byte(s)Oldest item age:23 hour(s) 36 min(s) 40 second(s)

Re: [google-appengine] Re: __setattr__ and __getattr__ causing memcacahe error in 1.8.5

2013-10-01 Thread timh
= value.rstrip(' ,;:)(') self.__dict__[ 'orig'] = value *From:* google-a...@googlegroups.com javascript: [mailto: google-a...@googlegroups.com javascript:] *On Behalf Of *timh *Sent:* Tuesday, October 01, 2013 12:34 AM *To:* google-a...@googlegroups.com javascript: *Subject

Re: [google-appengine] Re: __setattr__ and __getattr__ causing memcacahe error in 1.8.5

2013-10-01 Thread timh
= value.rstrip(' ,;:)(') self.__dict__[ 'orig'] = value *From:* google-a...@googlegroups.com javascript: [mailto: google-a...@googlegroups.com javascript:] *On Behalf Of *timh *Sent:* Tuesday, October 01, 2013 12:34 AM *To:* google-a...@googlegroups.com javascript: *Subject

Re: [google-appengine] Re: __setattr__ and __getattr__ causing memcacahe error in 1.8.5

2013-10-01 Thread timh
, it is strictly a service which processes a string and spits back a result. *From:* google-a...@googlegroups.com javascript: [mailto: google-a...@googlegroups.com javascript:] *On Behalf Of *timh *Sent:* Tuesday, October 01, 2013 3:34 AM *To:* google-a...@googlegroups.com javascript: *Subject

Re: [google-appengine] Re: __setattr__ and __getattr__ causing memcacahe error in 1.8.5

2013-10-01 Thread timh
. Brian *From:* google-a...@googlegroups.com javascript: [mailto: google-a...@googlegroups.com javascript:] *On Behalf Of *timh *Sent:* Tuesday, October 01, 2013 3:57 AM *To:* google-a...@googlegroups.com javascript: *Subject:* Re: [google-appengine] Re: __setattr__ and __getattr__ causing

[google-appengine] Re: __setattr__ and __getattr__ causing memcacahe error in 1.8.5

2013-09-30 Thread timh
You should show some code. Are you actually overriding __settattr__ and __getattr__ in your models ? T On Tuesday, October 1, 2013 12:34:12 PM UTC+8, Brian Becker wrote: After upgrading to 1.8.5 (from 1.8.1) I instantly had Internal Server Error whenever my class was instantiated and

[google-appengine] Re: datastore stats not updated for 4 days

2013-09-26 Thread timh
Yeah mine where updated earlier today. T On Monday, September 23, 2013 7:55:19 PM UTC+8, timh wrote: Howdy Normally stats are only a couple of days old, but I am up to 4+ days and no updated datastore stats. Anyone else seeing this ? T -- You received this message because you

[google-appengine] Re: datastore stats not updated for 4 days

2013-09-25 Thread timh
Yeah stats still not updates.. I wonder if it has anything to do with the upgrade to 1.8.5 runtime, plus all the scheduler instability. T On Monday, September 23, 2013 7:55:19 PM UTC+8, timh wrote: Howdy Normally stats are only a couple of days old, but I am up to 4+ days and no updated

[google-appengine] Large numbers of Error 500 - log says (Error code 121) after only a few seconds.

2013-09-25 Thread timh
In the last hour appengine has become completely unreliable. I am getting constant Error 500's A problem was encountered with the process that handled this request, causing it to exit. This is likely to cause a new process to be used for the next request to your application. (Error code 121)

[google-appengine] datastore stats not updated for 4 days

2013-09-23 Thread timh
Howdy Normally stats are only a couple of days old, but I am up to 4+ days and no updated datastore stats. Anyone else seeing this ? T -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving

[google-appengine] Re: Lots of warmup requests

2013-09-23 Thread timh
I am seeing odd things with instances at the moment. Again low traffic site - (which has been fine for ages) at the moment after a request 6 instances pop up, then get shut down immediately then a couple more are started , then they shut down within a minute and a few more instacnes are

[google-appengine] Re: Scheduler seems to be a little mad this evening.

2013-09-23 Thread timh
I have noticed that overnight (for me) we went from appengine 1.8.4 release to 1.8.5 On Tuesday, September 24, 2013 12:04:16 AM UTC+8, timh wrote: Hi I am seeing instances started via warmup request, not serving any request, then shut down, then a new request immediately causes a new

[google-appengine] Re: Concurrency broken?

2013-09-21 Thread timh
I am not getting errors but my warmup requests have gone from between 2-4 secs to consistent 5+sec in the last 2 hours. T On Sunday, September 22, 2013 5:29:04 AM UTC+8, Jeff Schnitzer wrote: Yesterday and today (and possibly longer) our (Java) app is spinning up quite a few instances to

[google-appengine] Re: Huge time difference for serving the same request

2013-09-14 Thread timh
recommend you us appstats and logging, and determine where in your request processing the time is consumed on this initial request - maybe you can get whatever it does performed as part of a warmup request. T -Aswath On Sat, Sep 14, 2013 at 10:50 AM, timh zute...@gmail.com javascript:wrote: I

[google-appengine] Re: What is the best Python Framework for hosting on Google App Engine ?

2013-09-13 Thread timh
I have used pyramid a lot. For large sophisticated apps requiring the notion of scoped security there is not much that comes close. I have also built sophisticated apps using bobo/repoze.who/what (again authentication/authorization) in both cases these env's are not tied in any way to a

[google-appengine] Re: Huge time difference for serving the same request

2013-09-13 Thread timh
You truncated the log for the 4159ms request. Did it say it started a new instance ? T On Saturday, September 14, 2013 11:15:37 AM UTC+8, aswath wrote: Hello, I am finding a huge time difference for serving the same request. Attached is the logs that shows the serving time for the same

[google-appengine] Re: Huge time difference for serving the same request

2013-09-13 Thread timh
instance. But, there was a instance startup before that log /_ah/warmup 200 15380ms 0kb I noticed that the request that is taking longer was served by the newly started instance. -Aswath On Sat, Sep 14, 2013 at 9:48 AM, timh zute...@gmail.com javascript:wrote: You truncated

[google-appengine] Re: app engine issue for java (using Spring) in production blocking requests

2013-09-11 Thread timh
Have enabled warmup requests, that log shows the instance was started as well as trying to process the request. T On Saturday, September 7, 2013 8:37:18 AM UTC+8, Jorge Amat wrote: my website is getting blocked and not working every few time, getting the log I show below. Each time this

Re: [google-appengine] Count of reads for a request in the Datastore

2013-09-03 Thread timh
On Tuesday, September 3, 2013 5:28:56 PM UTC+8, imadeddine mountasser wrote: Hi Vinny Thank you for your answer, but you should know that this screen is only available for local deployment. Thats what vinny said. So if I need to know how many read/write operations performed by my

[google-appengine] Re: How can I change the Data Storage Selection setting?

2013-08-31 Thread timh
As I understand the current situation you can only select a location on app creation. The location cannot be changed after the fact. T On Friday, August 30, 2013 11:46:26 PM UTC+8, Ian Marshall wrote: The Google App Engine terms of service, under paragraph 2.3a, state Customer may select

Re: [google-appengine] Migrating to Python 2.7

2013-08-29 Thread timh
The errors you reported are pretty specific. It's a problem with you app.yaml I would look at the line immediately preceeding line 10. On Friday, August 30, 2013 8:51:16 AM UTC+8, Kim Jae wrote: Hello! thank you for your response. I don't think spacing is the problem because I was able to

Re: [google-appengine] How to view Google datastore in locally ? and which structure used Google datastore ?

2013-08-24 Thread timh
Actually you don't use /_ah/admin on the dev server any more. With the new version of the SDK (1.7.x - can't remember the specific release) you connect to port 8000 and datastore is http://localhost:8000/datastore Cheers Tim On Saturday, August 24, 2013 12:47:03 PM UTC+8, Vinny P wrote:

[google-appengine] Re: Confusing message about GAE's datacenter relocation

2013-08-23 Thread timh
He Jeff Did you see this sentence ***For the en masse migration to our new datacenters, we prepared for this situation by replicating the historical load data from each old datacenter to the each new datacenter for use by the new scheduler* It suggests more than one datacenter was moved.

[google-appengine] Re: Confusing message about GAE's datacenter relocation

2013-08-23 Thread timh
Maybe location doesn't mean singular datacentre but could refer to multiple datacentres in a region/location? It would be interesting to find out more. T On Friday, August 23, 2013 7:19:45 PM UTC+8, timh wrote: He Jeff Did you see this sentence ***For the en masse migration to our new

Re: [google-appengine] Unable to connect to GAE apps due to Timeout errors

2013-08-22 Thread timh
When you say timeout do you actually mean DeadlineExceededError ? Does this occurr when the instance is starting up or with already running instances ? T On Thursday, August 22, 2013 1:48:05 PM UTC+8, muhamma...@k2-labs.com wrote: Hi Vinny P, Thanks for your reply. The issue occurs mostly

Re: [google-appengine] Accessing to non-default version apps get many 500 Errors

2013-08-16 Thread timh
Remember not default versions won't be receiving warmup requests. Combine that with doing work, and you may well get errors and slow response. On Saturday, August 17, 2013 8:28:48 AM UTC+8, husayt wrote: We have the same issue on non-default version. GAE Status page also shows elevated

[google-appengine] Re: Datastore: how to design for huge time-series data

2013-08-14 Thread timh
If you do not specify an ancestor the entity group of the entity consists of only itself. So if you create 2 million entities with no parent entity then you have 2 million separate entity groups. Which is fine for what you are doing. Any thing else will severely limit write through put.

[google-appengine] Re: Datastore Viewer - Internal Server Error

2013-08-10 Thread timh
From the stack trace it appears it has a problem with the index definitions. Check what you have in index.yaml as well as clearing the datastore. T On Saturday, August 10, 2013 10:49:16 AM UTC+8, Robbie Edwards wrote: Hi all, When trying to view my development datastore, I'm getting an

[google-appengine] Re: Instability with my app

2013-08-09 Thread timh
I am not seeing any actual issues (nothing in the logs) but I have noticed all my instances are getting shut down and restarted about every 30 mins. Normally an instances are at least half a day old. Billing enabled but low traffic site. T On Saturday, August 10, 2013 7:55:06 AM UTC+8, PK

[google-appengine] Re: may host android/phonegap app server code like walk able app(see URL below)...in App Engine? is any incompatibility...?

2013-08-04 Thread timh
Have you looked at the structure of that project. It is based on node.js and that doesn't run on appengine On Sunday, August 4, 2013 1:47:35 PM UTC+8, LWDLSE wrote: may host android/phonegap app server code like walk able app(see URL below)...in App Engine? is any incompatibility...?

Re: [google-appengine] Re: quick guide on using Boa-Constructor and remote debugger with SDK 1.7.6 new dev server

2013-08-01 Thread timh
wrote: Hi, Thanks for your message, I wasn’t even aware of the new pre-release SDK. I tried using the 1.8.3 pre-release but unfortunately breakpoints are still not working on Visual Studio :( *From:* timh javascript: *Sent:* Wednesday, July 31, 2013 8:45 AM *To:* google

[google-appengine] Re: quick guide on using Boa-Constructor and remote debugger with SDK 1.7.6 new dev server

2013-07-31 Thread timh
way of doing this but for Visual Studio? The debugger doesn't work with the new dev server... El lunes, 25 de marzo de 2013 11:30:05 UTC+1, timh escribió: Hi Here is a quick note to get people started with an IDE based interactive debugger with the new dev server You have to fix some

[google-appengine] Re: Lots of 500's served tonight

2013-07-27 Thread timh
Looking at the user agent (assuming I am interpreting it correctly) you are being hit by google bot. Its probably hitting you very fast and each request can not be serviced so it causes heaps of new instances to be started to service the requests. It's odd you instance is failing immediately

Re: [google-appengine] Re: Modules vs Backends

2013-07-25 Thread timh
Hi Chris I have asked this a couple of times, there is no mention of warmup requests for front end instances in the docs on modules. Do/Will they still exist for auto scaled frontends? T On Friday, July 26, 2013 5:44:09 AM UTC+8, Chris Ramsdale wrote: good feedback. perhaps the

Re: [google-appengine] Re: Modules vs Backends

2013-07-25 Thread timh
4:21 PM, timh zute...@gmail.com javascript: wrote: Hi Chris I have asked this a couple of times, there is no mention of warmup requests for front end instances in the docs on modules. Do/Will they still exist for auto scaled frontends? T On Friday, July 26, 2013 5:44:09 AM UTC+8

[google-appengine] modules and warmup requests

2013-07-19 Thread timh
I have read through the docs on modules. There is no reference to warmup requests for automatic scaling only start requests for manual and basic scaling, So does this mean that with auto scaling frontends they must start and process the request in one go ? If so that would seem to be a

[google-appengine] Re: Asking for Google App Engine Scalablility and Price

2013-07-19 Thread timh
How long is a piece of string ? Seriously without some idea of the number of entities in the datastore, read/write rates, requests per sec etc..., other features you need (backends, mail, channels, search) no one can give you an answer. Build a prototype and profile then you will have a good

Re: [google-appengine] Running App Engine Instance 1.8.2

2013-07-16 Thread timh
Hi I have read through the App Engine Modules documentation you have linked to, and seen the modules stuff appear in the dashboard. How does this affect existing instances that use automatic scaling only and rely on warmup requests. Are these left untouched ? I note that warmup requests

[google-appengine] Re: Error if I set required=False for a StringListProperty

2013-07-10 Thread timh
=rpc) return keys On Wednesday, July 10, 2013 3:09:56 PM UTC+8, timh wrote: Alternately make the property not required (required=False), load the entities set the value of the list to a [] and then rewrite, once you have migrated all the entities you can then set the property

Re: [google-appengine] Re: Error if I set required=False for a StringListProperty

2013-07-10 Thread timh
. Other way is to use GenericProperty, use MapReduce to convert data from one type to another then change the property type, required, defaults, etc. Good luck ! Saludos. Moisés Belchín. 2013/7/10 timh zute...@gmail.com Alternately make the property not required (required=False), load

[google-appengine] Re: any SOAP capable client for GAE/Python2.7?

2013-07-05 Thread timh
I have used suds on appengine. The main issue I faced was large SOAP schemas for services you will consume can take a lot of processing, and suds like to write to the filesystem a cache of that processing. This you can't do in appengine. So I made some changes to SUDS so that I could run the

[google-appengine] Re: Instances are terminated and restarted every few hours without errors!

2013-07-03 Thread timh
What class of front end instance are you running. You memory use looks high for a standard front end. T On Wednesday, July 3, 2013 4:55:11 PM UTC+8, Stefano Ciccarelli wrote: I want to add another screenshot: - why some instances are restarted every few hours? - why the resident instance is

Re: [google-appengine] Re: Instances are terminated and restarted every few hours without errors!

2013-07-03 Thread timh
, as far as I know, all memory intensive operations are handled by B2 backends because I had memory soft limit errors that killed instances. But this is not the case, I think. 2013/7/3 timh zute...@gmail.com javascript: What class of front end instance are you running. You memory use

[google-appengine] Re: Caching certain pages for long periods

2013-06-30 Thread timh
You can always use the datastore as another level of cache. Process the sitemap, store its rendered output as a record in the datastore, and in memcache. If memcache fails do get() to fetch the rendered output from the datastore, which will still be heaps faster than re-building it. It also

[google-appengine] Re: dynamic image creation on app engine python

2013-06-26 Thread timh
You can use full PIL now. On Thursday, June 27, 2013 6:07:12 AM UTC+8, Pumplerod wrote: I'm trying to dynamically create and display images in the browser using app engine. It doesn't seem that the images module will do all I need as I am changing color on a pixel by pixel basis. is

[google-appengine] Re: ndb Query using parent?

2013-06-25 Thread timh
Use an ancestor query https://developers.google.com/appengine/docs/python/ndb/queries#ancestor On Wednesday, June 26, 2013 7:48:42 AM UTC+8, Pumplerod wrote: put another way... If I have a list members which are all of class ItemIndex, can I search through and pull out just the ones who's

[google-appengine] Re: App Engine VM-based Backends - Trusted Tester Sign-up

2013-06-21 Thread timh
Thats pretty cool. Just looked at the SQlite example for backend VM on python. It raises an obvious question, what app server runtime are you running on the vm backend to support a deployed python app. Is it the new dev_appserver or something else ? What sort of concurrency does it support ?

[google-appengine] Re: Safety of using threading.currentThread on GoogleAppEngine (Python)

2013-06-17 Thread timh
problem. But surely if Python can't tell when an alien thread gets joined, then the variables used in threading.local will never go out of scope and get garbage collected? Which leads to a memory leak, like before? On Saturday, June 15, 2013 1:47:25 AM UTC+1, timh wrote: Why do you need

[google-appengine] Re: Safety of using threading.currentThread on GoogleAppEngine (Python)

2013-06-14 Thread timh
Why do you need to call currentThread() to create thread local storage? You can just create threadlocal storage. On Friday, June 14, 2013 8:15:25 PM UTC+8, bmurr wrote: After switching threadsafe to true in my app.yaml, I had some concurrency issues (detailed in this SO question, here :

<    1   2   3   >