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

2013-10-14 Thread Mitul Golakiya
I will submit a feature request for this On Tuesday, October 15, 2013 7:35:27 AM UTC+5:30, Alfred Fuller wrote: > > FYI, I do not recommend you use that solution as it registers kind in the > kind_map for all requests used by a given instance. Instead there should be > an option to decode un

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

2013-10-14 Thread Alfred Fuller
FYI, I do not recommend you use that solution as it registers kind in the kind_map for all requests used by a given instance. Instead there should be an option to decode undeclared kinds using an Expando. This feature actually does exist, though I noticed it was broken when using memcache. I recomm

Re: [google-appengine] BlobInfo object from a BlobKey created using blobstore.create_gs_key

2013-10-14 Thread PK
Thanks Vinny, the permissions on the bucket look good. What about the permissions on the files created by the app? How are these supposed to look? Are they inherited from the bucket, or should they be explicitly specified? Thanks, PK http://www.gae123.com On October 14, 2013 at 4:54:29 PM, Vi

Re: [google-appengine] update record using ndb.expando in python

2013-10-14 Thread Vinny P
On Mon, Oct 14, 2013 at 2:17 AM, Vijay Kumbhani wrote: > update record using ndb.expando in python > See here for a code example: https://developers.google.com/appengine/docs/python/ndb/entities#expando In short, query for the entity, retrieve it, update the property you need to, and then put

Re: [google-appengine] how reduce memory usage on mapreduce controller callback

2013-10-14 Thread Jason Galea
thanks Jason, yeh I starred that one a while back. On Mon, Oct 14, 2013 at 11:58 PM, Jason Collins wrote: > You guys should star > https://code.google.com/p/googleappengine/issues/detail?id=9610 > > In the past, I've found surprising amount of memory use when working with > NDB, especially when

Re: [google-appengine] Some tasks are never executed and dynamic backend gets stuck

2013-10-14 Thread Vinny P
On Sun, Oct 13, 2013 at 11:48 AM, Luis Pereira < l.pereira.fernan...@gmail.com> wrote: > > Haven't had the chance to download the log files yet. But in the console, > there is no sign at all about these tasks in the backend log files. Only > when we shut down the backend we see those commented erro

Re: [google-appengine] BlobInfo object from a BlobKey created using blobstore.create_gs_key

2013-10-14 Thread Vinny P
On Mon, Oct 14, 2013 at 12:40 AM, PK wrote: > I posted this question at StackOverflow a few days ago but I have not > received any response. I would appreciate any suggestions: > > > http://stackoverflow.com/questions/19287709/blobinfo-object-from-a-blobkey-created-using-blobstore-create-gs-key >

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

2013-10-14 Thread Vinny P
On Mon, Oct 14, 2013 at 5:19 AM, Alejandro González Rodrigo < alejandro.gonza...@intelygenz.com> wrote: > You can have 2 problems here: > > 1 - You are creating an entity with an empty key > 2 - Your entity key exceeds 500 bytes > +1 On Mon, Oct 14, 2013 at 3:53 AM, Vijay Kumbhani wrote: >

Re: [google-appengine] ImagesService getServingUrl fails often

2013-10-14 Thread Wilson MacGyver
glad to see you found the problem. I think imageService can use some better error messages :) On Mon, Oct 14, 2013 at 2:24 PM, Theodore Book wrote: > Thanks for the response! I realized that most of my problems were due to > some empty URLs that I was passing to getServingUrl(). It turns out t

Re: [google-appengine] ImagesService getServingUrl fails often

2013-10-14 Thread Theodore Book
Thanks for the response! I realized that most of my problems were due to some empty URLs that I was passing to getServingUrl(). It turns out that I am not seeing consistent failure of the API. On Oct 14, 2013, at 1:16 PM, Wilson MacGyver wrote: > It still happens every so often. I just catc

Re: [google-appengine] ImagesService getServingUrl fails often

2013-10-14 Thread Wilson MacGyver
It still happens every so often. I just catch the exception and mark particular file for retry later. With enough retries spaced out, I eventually get perma url for all of them. not the best solution, but the only one I found that worked for me On Fri, Oct 11, 2013 at 9:12 PM, Theodore Book wrot

Re: [google-appengine] how reduce memory usage on mapreduce controller callback

2013-10-14 Thread Jason Collins
I dug up some old research I had done which found the entities that should be smaller than 10kB were lugging around almost 100kB in-memory due to the in-memory protobuf representation. On Monday, 14 October 2013 07:58:46 UTC-6, Jason Collins wrote: > > You guys should star > https://code.google

Re: [google-appengine] how reduce memory usage on mapreduce controller callback

2013-10-14 Thread Jason Collins
You guys should star https://code.google.com/p/googleappengine/issues/detail?id=9610 In the past, I've found surprising amount of memory use when working with NDB, especially when using repeated properties. In my experiments, it was very easy to blow up instances with a seemingly small number o

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

2013-10-14 Thread Shilendra Sharma
Hi Vijay, Please provide all details what kind of help bcoz your giving information not be sufficient for any solution. On Mon, Oct 14, 2013 at 3:49 PM, Alejandro González Rodrigo < alejandro.gonza...@intelygenz.com> wrote: > You can have 2 problems here: > > 1 - You are creating an entity wi

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

2013-10-14 Thread Alejandro González Rodrigo
You can have 2 problems here: 1 - You are creating an entity with an empty key 2 - Your entity key exceeds 500 bytes See this: http://stackoverflow.com/questions/2557632/how-long-max-characters-can-a-datastore-entity-key-name-be-is-it-bad-to-haver ¿What are your trying to do, and how? If you wan

Re: [google-appengine] how reduce memory usage on mapreduce controller callback

2013-10-14 Thread Jason Galea
Hi Moises, you can find all the details here.. https://developers.google.com/appengine/docs/python/ndb/cache "The In-Context Cache The in-context cache persists only for the duration of a single incoming HTTP request and is "visible" only to the code that handles that request. It's fast; this ca

[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 grou

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

2013-10-14 Thread Vijay Kumbhani
help -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@go

Re: [google-appengine] how reduce memory usage on mapreduce controller callback

2013-10-14 Thread Moises Belchin
Hi Jason, Thanks for the detailed answer. I'm very surprised that no one else is talking about these issues. I'm using ndb and my appstats are off. I could see a incredible great improvement in my app when I turned off the stats. So, I recommend people only use stats for testing or debug. As you

[google-appengine] update record using ndb.expando in python

2013-10-14 Thread Vijay Kumbhani
please help -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appen