[google-appengine] Re: index.yaml and mutiple filters

2009-05-17 Thread 风笑雪
Are you talk about this: if request.param_a2 != None: q.filter('a2 =', request.param_a2) 2009/5/16 Tom Wu service.g2...@gmail.com Hi All, - kind: model properties: - name: a1 - name: a2 - name: a3 - name: a4 - name: c1 - name: c2 - name: c3 - name: c4 - name:

[google-appengine] Re: index.yaml and mutiple filters

2009-05-17 Thread Tom Wu
Hi 风笑雪, if request.param_a2 != None: q.filter('a2 =', request.param_a2) This will cacuse a problem with index.yaml. It need to add a new index definition in index.yaml. I am trying use only one index definition with this model. Best Regards Tom Wu 2009/5/17 风笑雪 kea...@gmail.com Are

[google-appengine] Re: Very strange error inside of transactions..?

2009-05-17 Thread Tim Hoffman
I would suggest you include all of the code in this block If you are getting the error then I will trust the python interpreter over your code ;-) T On May 17, 10:34 am, astrid.thuec...@googlemail.com astrid.thuec...@googlemail.com wrote: I encounter a very strange error which wasn't here

[google-appengine] Re: Shorthand to modify model-Objects?

2009-05-17 Thread djidjadji
You can write a function that does it def updateAttr(obj, **kwds): if obj is None: return for k,v in kwds.iteritems(): setattr(obj,k,v) .. me = MyEnt.all().filter(index =, index).get() updateAttr(me, title = title, name=name, public=False) 2009/5/17

[google-appengine] Re: different urlfetch behaviour on development and production servers: URLs with the characters: ( or )

2009-05-17 Thread Matt Trinneer
Hello, Although I'm not sure why urllib2 resulted in successful retrieval of URLs containing braces I have since come to discover that the issue here lies not with Google App Engine but rather at dbpedia. I have since come to realize that I misdiagnosed the issue and thought I'd update this

[google-appengine] Re: Error in documentation?

2009-05-17 Thread linsk
On Apr 2, 9:31 pm, dafire daf...@gmail.com wrote: I guess you missed the part about the reasonably efficient application When somebody visits my app the first load of a page is 250k including scripts and images .. but after that the images and scripts are in cache and the transfer size

[google-appengine] Re: Very strange error inside of transactions..?

2009-05-17 Thread Dieter Krachtus
Some things cannot be done in the transaction block...like queries :) On May 17, 1:07 pm, Tim Hoffman zutes...@gmail.com wrote: I would suggest you include all of the code in this block If you are getting the error then I will trust the python interpreter over your code ;-) T On May 17,

[google-appengine] Uneven response time between connection to server to first byte sent

2009-05-17 Thread Anders
I don't know if this is related to only the Python version or also to the Java version, but the response time from GAE servers (Python) is very uneven. Sometimes the time from connection with the server to the first byte sent is less than a second, but sometimes the response takes several seconds

[google-appengine] Re: Email Marketing on GAE

2009-05-17 Thread Wooble
On May 15, 9:02 pm, Iap iap...@gmail.com wrote: I have some question about this issue. If people pay, why can not they send bulk of emails? How to tell spam or not? Who has the authority to say this is spam and that is not spam? Well, the block lists that would put the App Engine

[google-appengine] Re: Deleting index stuck

2009-05-17 Thread ryan
have you read: http://code.google.com/appengine/kb/general.html#error_indexes http://code.google.com/appengine/docs/python/datastore/queriesandindexes.html#Big_Entities_and_Exploding_Indexes --~--~-~--~~~---~--~~ You received this message because you are

[google-appengine] Identify user from an Android Device

2009-05-17 Thread mscwd01
Hey, Quick question: Is there an easy way to append a users Google account/ID to a call made to the App Engine so that a user does need to login? By default, a person using an Android phone is logged into their Google account at all times, so i'm assuming there may be a elegant way of letting

[google-appengine] Re: Deleting index stuck

2009-05-17 Thread rraj
Yes, I have read them and had even tried the vacuum_indexes procedure. It did not work, as I had mentioned in my mail. Tried it again today and they got deleted at once from my indexes. By the way, the problem is not related to exploding indexes - there were 3 new indexes of 2 to 3 properties

[google-appengine] Bulk upload specifying a key name

2009-05-17 Thread ecognium
Hi All, How do i specify a key name when using the bulk upload tool? I am currently using WWW:: Mechanize to upload my data one row at a time but would be nice if i can use the bulk loader as i don't want to reinvent the many options available in the tool. Thanks!

[google-appengine] Re: Email Marketing on GAE

2009-05-17 Thread Iap
That's really sucks. Can not the almighty GOOGLE do something aganist the dark power of cyber space? 2009/5/18 Wooble geoffsp...@gmail.com On May 15, 9:02 pm, Iap iap...@gmail.com wrote: I have some question about this issue. If people pay, why can not they send bulk of emails? How