[google-appengine] Appropriate way to save hundreds of thousands of ids per user

2011-04-18 Thread nischalshetty
Every user in my app would have thousands of ids corresponding to them. I would need to look up these ids often. Two things I could think of: 1. Put them into Lists - (drawback is that lists have a maximum capacity of 5000(hope I'm right here) and I have users who would need to save more than

Re: [google-appengine] Re: etags and webkit's response -- any way to disable in GAE?

2011-04-18 Thread Wesley C (Google)
the problem with using if-none-match with ETags is fixed: http://code.google.com/p/googleappengine/issues/detail?id=575 however, if-modified-since is NOT currently supported, so if this is your issue, pls star the follow-up issue: http://code.google.com/p/googleappengine/issues/detail?id=4838 bes

[google-appengine] Re: 20 seconds problem

2011-04-18 Thread vlad
GAE folks actually answered this question some months back. What they said is backoff specified in queue.yaml only a cue for the scheduler. Scheduler does not come back to check the queue to see if retries are needed UNLESS it needs to do that anyway. If there are other tasks pending to be fired

[google-appengine] Re: Unable to retrieve entities with OpenID User objects, need a workaround

2011-04-18 Thread pjesi
Any feedback on this? On Apr 14, 8:12 pm, Viðar Svansson wrote: > Another question, is there any way to "peak" into the corrupted entity? > I know the ids from a query but I would like to have the data before I > delete it. > > > > > > > > On Wed, Apr 13, 2011 at 9:30 PM, pjesi wrote: > > Hi, >

Re: [google-appengine] File API write size limit

2011-04-18 Thread Ikai Lan (Google)
Good tip. There are very few APIs where the 1MB limit does not apply. We're working on ways to, at the very least, hide this from users. Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddi

Re: [google-appengine] Re: email sent by GAE would be regarded as spam for some email services

2011-04-18 Thread Ikai Lan (Google)
Points taken. I'll bring up the issue next chance I get. I can't make any promises though, because some things that should be easy are actually really difficult. Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engin

Re: [google-appengine] 3000 files

2011-04-18 Thread Barry Hunter
I dont think ls -R will decend into hidden directories. Try find -type f instead. On 17 April 2011 19:44, vincent wrote: > Hey Guys, > I started to build my app on google app engine and apparently my app > is 3700 files already. > As i started 2 days ago it feels a bit weird. I use django 1.2

[google-appengine] Channels documentation error

2011-04-18 Thread Andrei
I think it is supposed to be for Java app engine side not JavaScript client Quote of doc part In order to initiate the process of creating a channel, JavaScript client pages call the ChannelServiceFactory.getChannelService() method and get a ChannelService() object. Then they use the object's crea

Re: [google-appengine] Re: AppEngine IPs in SpamHaus

2011-04-18 Thread Ikai Lan (Google)
I wish we could move faster on this. We're moving as quickly as we can. Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine On Sat, Apr 16, 2011 at 7:02 PM, Kyle Jensen

[google-appengine] Temporary Blobstore Error

2011-04-18 Thread Kim
Hello, I have been getting a huge number of blobstore errors today when trying to form-post with create_upload_url(). The function clearly works (sometimes), but with close to a 90% failure rate. It's clear from a bit of searching that I am not alone in this, but my main issue isn't with the error

[google-appengine] Re: Post a multipart-form with binary data from GAE to Facebook

2011-04-18 Thread Leo Zhu
Hi Thank you. It helps. In Java, we can use HTTPUrlConnection to do this. App Engine's implementation of URLConnection does not maintain a persistent connection with the remote host. When the app sets request data or writes to the output stream, the request data is kept in memory. When the app

[google-appengine] Post a multipart-form with binary data from GAE to Facebook

2011-04-18 Thread Leo Zhu
Hi All, I want to post a form to another site(Facebook.com) on App Engine. Well, the form contains a file with binary data. e.g. Content-Type: multipart/form-data; boundary=-- bounDary-- --bounDary-- Content-Disposition: form-data; name="title" Titl

[google-appengine] Post a multipart-form with binary data from GAE to Facebook

2011-04-18 Thread Leo Zhu
Hi Team, I want to post a form to another site(Facebook.com) on App Engine. Well, the form contains a file with binary data. e.g. Content-Type: multipart/form-data; boundary=-- bounDary-- --bounDary-- Content-Disposition: form-data; name="title" Title Her

[google-appengine] 3000 files

2011-04-18 Thread vincent
Hey Guys, I started to build my app on google app engine and apparently my app is 3700 files already. As i started 2 days ago it feels a bit weird. I use django 1.2 in a zip file and when I run the commands : #!/bin/bash cd `dirname $0` echo "number of folders :" ls -lR | grep "dr" | wc -l echo "n

[google-appengine] Re: get_current_user() returns None in blobstore upload handler

2011-04-18 Thread JH
I'm using gaesessions and the cookie data seems to be passed through from gae handler to my handler, if that could help you at all.. On Apr 15, 4:17 pm, "Ikai Lan (Google)" wrote: > The upload handler isn't called by your end user. It's called by our backend > systems after the upload has been pr

Re: [google-appengine] Help a Newbie and earn Karma

2011-04-18 Thread Jeremy Foote
Thanks very much! On Mon, Apr 18, 2011 at 3:55 AM, djidjadji wrote: > The method dict.values() is the same as your mapToList(dictionary) > function, but a lot faster. > > 2011/4/14 Jeremy Foote : > > I am new to App Engine, new to Python, and new to programming. :) > > Unfortunately, I don't kno

Re: [google-appengine] Problem with catching data from Twitter by Twitter Search API

2011-04-18 Thread Barry Hunter
Get yourself a static IP address. Easiest way it probably to use a cheap VM somewhere to act as a proxy. On 18 April 2011 15:04, Jimmy wrote: > I used to catch data from Twitter by the Twitter Search API. But it's > seems like be prohibited since 1st  Apr. > Twitter official document says that "

[google-appengine] Problem with catching data from Twitter by Twitter Search API

2011-04-18 Thread Jimmy
I used to catch data from Twitter by the Twitter Search API. But it's seems like be prohibited since 1st Apr. Twitter official document says that "An application must have a static IP to be eligible for whitelisting. This means the majority of cloud platforms, including Google App Engine, cannot b

[google-appengine] Re: how to set collection_name for a dynamic property of Expando?

2011-04-18 Thread saintthor
thank you. in the first post is my real code. i regard every LTMean entity as a node, and make the nodes to a map by ( k, v ) relations. by every ( k, v ) way, i can go from one node to another, or go back to the firest. if use Model, it would be = class LTMean( db.Model):

Re: [google-appengine] Re: how to set collection_name for a dynamic property of Expando?

2011-04-18 Thread Robert Kluin
Just a note: 'collection_name' is just a query that is put on the 'target' kind when the 'referencing' kind is defined. Your definition of the 'referencing' kind doesn't define of those reference properties -- so this likely won't work as you're expecting. Perhaps if you explain how exactly you'

[google-appengine] Re: how to set collection_name for a dynamic property of Expando?

2011-04-18 Thread saintthor
how add an attribute of ReferenceProperty to Expando then? On 4月18日, 下午2时36分, "Nick Johnson (Google)" wrote: > Hi, > > 'collection_name' is a property of the ReferenceProperty class. You can't > have a collection_name if you don't have a reference property. > > -Nick Johnson > > > > On Mon, Apr 1

[google-appengine] 20 seconds problem

2011-04-18 Thread Matija
Ok, here is my story. GAE has some never officially exposed contention problem with Tasks within Transactions and I have already wrote about this problem here

Re: [google-appengine] Having a problem when I deploy my project into Google App Engine.

2011-04-18 Thread Robert Kluin
Sort of looks like you've overwrote some variable with a 'Profile' instance. On Mon, Apr 18, 2011 at 03:43, T K wrote: > Everything works fine for my local development machine, but when I deploy > into the Google App Engine, I get an error after logging in using Google > Account. > > : Profi

[google-appengine] How to resolve Object Manager has been closed error

2011-04-18 Thread Kayode Odeyemi
Hello, I'll appreciate if someone can point me to a tutorial or best practice on how to close JDO connection. I constantly get javax.jdo.JDOUserException: Object Manager has been closed error whenever I include the finally block. My code is below: public static List findAgentEntityByString(String

Re: [google-appengine] Help a Newbie and earn Karma

2011-04-18 Thread djidjadji
The method dict.values() is the same as your mapToList(dictionary) function, but a lot faster. 2011/4/14 Jeremy Foote : > I am new to App Engine, new to Python, and new to programming. :) > Unfortunately, I don't know what I don't know, so this question will be more > vague than I would like. --

[google-appengine] Re: communicate with channel over external python app?

2011-04-18 Thread Dale
Thanks, will look in to PubNub. Dale On Apr 16, 9:11 pm, Stephen Blum wrote: > Dale, > > Like Andreas stated above the XMPP API will be more what you are > seeking, however you'll need to write a wrapper between your Channel > API and the XMPP receiver.  There are Cloud services available such as

[google-appengine] Re: Getting 502 server error occassionally

2011-04-18 Thread nischalshetty
Got it a couple of times more now. There definitely is a problem! -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-

[google-appengine] Getting 502 server error occassionally

2011-04-18 Thread nischalshetty
I got it twice in a gap of 5 minutes. Displays the blue Google Error page. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to