[google-appengine] Re: Requesting Same Entity Multiple Times in 1 Model.get_by_key_name Call

2009-10-05 Thread Nick Johnson (Google)
Hi Devel63, The SDK will pass the list of keys through to the backend unmodified. Whether the backend will de-duplicate before fetching is undefined, but probable. In any case, your code will still have the overhead of decoding the same entity several times - so I would suggest deduplicating yourse

[google-appengine] Re: bulk uploading to related tables

2009-10-05 Thread Nick Johnson (Google)
Hi Graham, On Sun, Oct 4, 2009 at 10:25 PM, Graham Charles wrote: > > I'm struggling with bulk uploading CSV files to related tables. I have > foreign keys in the source data, but obviously, GAE doesn't use them. > You can translate foreign keys into db.Key instances, and use a ReferenceProperty

[google-appengine] Re: How to obtain the number of rows of one kind

2009-10-05 Thread Kenneth
You can't beyond 1000. You will need to keep the total in another table and update it as the number of rows changes. So work out how many you have uploaded and seed that number into the table. If you don't know how many you uploaded, to find out the number already in the table you will need to

[google-appengine] Re: beginner need for help about Cookie!

2009-10-05 Thread Allen
Tobias and skyleecm, Thanks for your kindly help. I get it done. --~--~-~--~~~---~--~~ 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 u

[google-appengine] Re: Failing cron job

2009-10-05 Thread Nick Johnson (Google)
On Sat, Oct 3, 2009 at 1:16 PM, David wrote: > > Hi Nick > > Even when I replace my grabber with the below, the cron still fails. > By this I mean that when I look in the dashboard and click the cron > jobs, it says that the cron has failed. > > I don't really understand why. I think my problem i

[google-appengine] Re: Is This a Bug in admin console ?

2009-10-05 Thread Nick Johnson (Google)
Hi, The local admin console is only designed to run on the dev_appserver. Although most of it will work in production, some, such as the task queue page, will not. -Nick Johnson On Sat, Oct 3, 2009 at 11:25 AM, gimme wrote: > > I just visiting my admin console with the following settings in > a

[google-appengine] Re: [appengine-python] Mail api doesn't allow "+token" in email ids

2009-10-05 Thread Nick Johnson (Google)
Hi Prashant, This looks like a bug. Could you file it in the issue tracker, please? -Nick Johnson On Sat, Oct 3, 2009 at 6:54 AM, Prashant wrote: > Hi, > > I tried to send mail from "myemailid*+tok...@gmail.com" but mail api threw > error on this. is this not allow deliberately or not just ever

[google-appengine] TyphoonAE alpha released

2009-10-05 Thread Tobias
Hi, I happily announce the first alpha release of TyphoonAE. The TyphoonAE project aims at providing a full-featured and productive serving environment to run Google App Engine (Python) applications. It delivers the parts for building your own scalable App Engine while staying compatible with Go

[google-appengine] Re: Pagination with Ranking

2009-10-05 Thread Nick Johnson (Google)
Hi Josh, You might want to look into the 'ranklist' library. It'll allow you to keep a large (much larger than 1000) set of records in ranked order, and efficiently answer queries like 'what is the value of the 235th entry?' and 'where would a score of 500 place me?'. http://code.google.com/p/goog

[google-appengine] Re: Increase Number of Apps

2009-10-05 Thread Nick Johnson (Google)
Hi EW, I've increased your app count to 20. -Nick Johnson On Fri, Oct 2, 2009 at 9:31 PM, EW wrote: > > Is there any way to increase the number of allotted apps? When I > create apps for clients, its more practical to use my account rather > than have them open app engine accounts, but I'm abou

[google-appengine] Re: Pagination with Ranking

2009-10-05 Thread Joshua Smith
I'd approach this by using some kind of a tree structure, with each node in the tree represented by an entity in the data store. Your player items would be in leaf nodes pointing at those interior node entities. Put a count in each node saying how many items are below that node. If you

[google-appengine] Re: Failing cron job

2009-10-05 Thread David
OOOs it was me being dumb! I hadn't got the url mappings correct in the WSGIApplication call. Du! Thanks for your help David On Oct 5, 2:20 pm, "Nick Johnson (Google)" wrote: > On Sat, Oct 3, 2009 at 1:16 PM, David wrote: > > > Hi Nick > > > Even when I replace my grabber with the bel

[google-appengine] Re: beginner need for help about Cookie!

2009-10-05 Thread Anh Hai Trinh
> NEW_SID = > sha.new(repr(time.time())).hexdigest()cookie=Cookie.SimpleCookie()cookie['sid'] > = NEW_SIDcookie['sid']['expires'] = 24*60*60 > I believe you can do > self.response.out.write(cookie.output()) --~--~-~--~~~---~--~~ You received this message becaus

[google-appengine] Porting an existing site to GAE - deploying the GAE app on the existing domain

2009-10-05 Thread Gerard Mason
I have Google Apps working nicely on gerardmason.com. Thank you very much, no complaints. I also have a little Servlet/JSP/PostgreSQL-based website at wow.gedsguides.com that I have just finished porting to App Engine, more or less. The new version is currently accessible at http://com-gedsguides

[google-appengine] The google app is open for other search engine to crawl

2009-10-05 Thread Peter
I am hosting some app in google GAE with domain name. And also submit my site to couple search engines which includes google.com. But couple days passed, I tried to type my domain name for search, nothing!. Is GAE allowing search engine come to crawl? thanks --~--~-~--~~~-

[google-appengine] Re: Child Objects and Relationships (JDO)

2009-10-05 Thread Andreas
I have the exact same problem. Have you found a solution yet? On 25 Sep., 21:32, Prashant wrote: > Hi, > > I created a relationship similar to the one given > here. > Suppose fetched an *Employee*** entity from datastore,

[google-appengine] is there some opensource 'wap cms' project for google app engine?

2009-10-05 Thread terry-wang
Hi, I'm working for a wap cms application on google app engine. Could you pls tell me that there is some open source 'wap cms' here, and then i can use it as reference. many thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribe

[google-appengine] Re: Slow response static javascript files on development server

2009-10-05 Thread Toms Bauģis
I can confirm that the history file size has direct impact to how fast static files are being returned. After mine had grown to 312kb, reloading the dev server page took about 8 secs (serving in the test page ~15 static stylesheets, images and js files). Removing history sets it back to something

[google-appengine] Google App Engine Doesn't support Grails enum?

2009-10-05 Thread xigua
I was trying a simple grails app which only has one domain class, I used generate-all to generate the control class and view then I compiled it locally and tested it locally which worked. I then deployed it to google app engine and it failed when I tried to create a new instance of the domain obje

[google-appengine] GAE Docs redirections bug.

2009-10-05 Thread thepumpkin1979
Hi. I try to explore the docs but the browser keeps redirecting to spanish. this link for example: http://code.google.com/appengine/docs/inboundservices.html it redirect several times like this: http://code.google.com/intl/es-419/intl/es-419/intl/es-419/intl/es-419/intl/es-419/intl/es-419/intl/e

[google-appengine] Re: Admins Emailed quota ?

2009-10-05 Thread Aurelian
i suppose you code something like MailService ms = MailServiceFactory.getMailService(); ... try { ms.send(msg); } .. You should use ms.sendToAdmins(msg); instead.. Regards. On 4 Ott, 19:53, Prashant wrote: > Hi, > > Whenever I mail to myself, it always counts to Recipients Emailed q

[google-appengine] Serving Dynamic Images with Google App Engine - Java

2009-10-05 Thread Nitin Joshi
I read the article "Serving Dynamic Images with Google App Engine" by Austin Chau, Google Developer Programs, April 2008. (http://code.google.com/appengine/articles/images.html) In this article there is information to store and serve images using python language. Actually I want to store images

[google-appengine] Re: Child Objects and Relationships (JDO)

2009-10-05 Thread Prashant
the inheritance 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 t

[google-appengine] Re: Admins Emailed quota ?

2009-10-05 Thread Prashant
thanks a lot.. --~--~-~--~~~---~--~~ 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-ap

[google-appengine] Re: TyphoonAE alpha released

2009-10-05 Thread bFlood
this is excellent work Tobias, thanks. this could certainly help with smaller sites that need to keep at least a single instance handler hot, have you tried it on EC2 yet? cheers brian On Oct 5, 9:45 am, Tobias wrote: > Hi, > > I happily announce the first alpha release of TyphoonAE. > > The Ty

[google-appengine] Re: Porting an existing site to GAE - deploying the GAE app on the existing domain

2009-10-05 Thread Nick Johnson (Google)
Hi Gerard, On Sun, Oct 4, 2009 at 2:53 AM, Gerard Mason wrote: > > I have Google Apps working nicely on gerardmason.com. Thank you very > much, no complaints. > > I also have a little Servlet/JSP/PostgreSQL-based website at > wow.gedsguides.com that I have just finished porting to App Engine, >

[google-appengine] Job in Task Queue using up all my CPU, how to stop?

2009-10-05 Thread Kevin
Hello, I have a Job in Task Queue that is using all my CPU within an a hour after the quota reset. The problem is my quota resets at like 5am in the morning for me. Is the only way for me to stop the Job is to wake up at 5am and do it? The Job is setup to infinitely add jobs to the queue, so the

[google-appengine] Re: Persistant Data: Sometimes Persistant Sometimes Not ?

2009-10-05 Thread Kevin
I solved this, but I dont know why this was the solution... I has a Portfolio class that contained a persistent Vector of Stocks. I had to remove this. On Sep 30, 10:29 pm, Kevin wrote: > It is also worth noting that the object never persist on my local > computer running from eclipse debug,

[google-appengine] Re: Indexes in building state for quite a while. Unable to vacuum.

2009-10-05 Thread Jeff S (Google)
Hi Sakthivel, I've moved these indices to the error state so you should be able to vacuum them now. Thank you, Jeff On Fri, Oct 2, 2009 at 5:35 AM, Sakthivel wrote: > > Hi, > > I updated a set of indexes and it is in building state for more > than 2 hours now. I tried to use update_indexes, v

[google-appengine] Protocol Buffer Question

2009-10-05 Thread dplouffe
I want to use protocol buffer to transfer data between two applications, one being on GAE and the other being on EC2. I noticed this *note* when reading through the documentation of the model_to_protobuf method of google.appengine.ext.db. Note: This method uses a different (older) format for pro

[google-appengine] Re: bulk uploading to related tables

2009-10-05 Thread Graham Charles
Thanks for the reply! Any idea where I can find any documentation or sample code? Thanks, g. On Oct 5, 2:39 am, "Nick Johnson (Google)" wrote: > Hi Graham, > > On Sun, Oct 4, 2009 at 10:25 PM, Graham Charles > wrote: > > > > > I'm struggling with bulk uploading CSV files to related tables. I

[google-appengine] Re: missing logs

2009-10-05 Thread neil souza
thanks nick, responses in line (hope they come through right, i don't really know how to use groups) On Sep 30, 2:57 am, "Nick Johnson (Google)" wrote: > Hi Neil, > > Sorry for the delay responding. Responses inline. > > > > > > On Sat, Sep 26, 2009 at 1:40 PM, neil souza wrote: > > > the issue

[google-appengine] Re: [appengine-java] Incoming email support

2009-10-05 Thread Jason (Google)
Yes, it is tentatively scheduled to ship with the next release. - Jason On Fri, Oct 2, 2009 at 9:34 PM, Prashant wrote: > Hi, > > Will "Incoming email support" be there in the next release? When is it > expected to release?? > > Thanks > > > > --~--~-~--~~~---~--~--

[google-appengine] Re: [appengine-java] Incoming email support

2009-10-05 Thread Prashant
And, when it is scheduled/expected to release? --~--~-~--~~~---~--~~ 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

[google-appengine] Re: missing logs

2009-10-05 Thread jonathan
I have been using a lockless memcache queue for something similar. It is only for data that it is ok if you lose some of it. But it scales quite well. The implementation here is a little out of date: http://www.redredred.com.au/memcache-lockless-queue-implementation/. I plan to update with my cur

[google-appengine] Re: Requesting Same Entity Multiple Times in 1 Model.get_by_key_name Call

2009-10-05 Thread Devel63
Thanks for the response; already de-duped just to be safe. On Oct 5, 2:07 am, "Nick Johnson (Google)" wrote: > Hi Devel63, > The SDK will pass the list of keys through to the backend unmodified. > Whether the backend will de-duplicate before fetching is undefined, but > probable. In any case, yo

[google-appengine] Is it possible to read gmail from appengine project?

2009-10-05 Thread Joseph
Hi, I tried via poplib, but it returns 'module' object has no attribute 'getaddrinfo'. Is there anyway to read gmail from within appengine? Any alternatives? Thank you, Joseph --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[google-appengine] Re: Increase Number of Apps

2009-10-05 Thread EW
Thank You! - Eric On Oct 5, 7:05 am, "Nick Johnson (Google)" wrote: > Hi EW, > I've increased your app count to 20. > > -Nick Johnson > > On Fri, Oct 2, 2009 at 9:31 PM, EW wrote: > > > Is there any way to increase the number of allotted apps? When I > > create apps for clients, its more pract