[google-appengine] Re: 1000 entity limit?

2009-09-17 Thread Nick Johnson (Google)
Hi Locke, On Tue, Sep 15, 2009 at 6:15 PM, Locke wrote: > > I would not be returning thousands of rows to users. This would be for > background tasks executed via cron. > > The hard limits appengine imposes (30 seconds, 1000 query results, > etc.) all seem quite reasonable for interactive apps,

[google-appengine] Re: GAE, App Engine Patch, CRON (301) Issues

2009-09-17 Thread Nick Johnson (Google)
Hi ttk, On Tue, Sep 15, 2009 at 11:11 PM, ttk wrote: > > Hello, > > I'm wondering if anyone is having similar issues with GAE cron jobs / > tasks via App Engine Patch? > > Intended Flow: > 1. Cron job 'do/store/weekly' triggers the creation of a task to build > html email. > 2. Task executes, bu

[google-appengine] Re: DownloadError: ApplicationError: 5

2009-09-17 Thread Nick Johnson (Google)
On Wed, Sep 16, 2009 at 7:37 PM, Dave wrote: > > Is there a way to catch this, so I can at least show a more graceful > error? It doesn't seem to be an exception. > As the traceback indicates, it's a (urlfetch.)DownloadError, which you can catch like any other exception. -Nick Johnson > > On

[google-appengine] Re: high amount of cpu

2009-09-17 Thread Nick Johnson (Google)
Hi rj, On Wed, Sep 16, 2009 at 4:46 AM, rj wrote: > > Hi Guys, > > I am not sure I am getting high amount of cpu usage for my web-page. > The webpage is actually a form. In my logs I can see high amount of > CPU 2410ms. I am going to make my website public in a day or two. Its > for college and

[google-appengine] Re: images api mock image

2009-09-17 Thread Nick Johnson (Google)
Hi Jay, On Wed, Sep 16, 2009 at 9:21 PM, Jay wrote: > > Does anyone know of a mock image implementation that can be used for > unit testing with the images API? I am getting a BadImageError. > If you have PIL installed, you should be able to use the Images stub like any other. See for example h

[google-appengine] Re: https support

2009-09-17 Thread J
We have implemented an interim solution for one of our clients and would like to learn if there is broader interest for us to productize it. http://earlystageit.wordpress.com/2009/09/17/secure-access-to-google-app-engine/ Any and all suggestions welcome. On Aug 22, 1:03 am, repairman wrote: >

[google-appengine] My First App

2009-09-17 Thread Prashant
Hi all, Yesterday I wrote an app which helps you meeting new friends on your Google Talk ! I named it Chat Me. When you use Chat Me, it picks another user at random and lets you have a one-on-one chat with each other. All chats are completely anonymous, although there is nothing to stop you from

[google-appengine] Re: How to get the total row number of a table

2009-09-17 Thread David Symonds
On Wed, Sep 16, 2009 at 10:19 PM, Blake HAN wrote: > I try to get the total row number of a table which has more than > 1,000,000 data. I got error message "query is too large. may not have > more than 100 filters + sort orders + ancestor total". Anyone can help > on that? Don't do that. Increm

[google-appengine] Re: How to get the total row number of a table

2009-09-17 Thread Blake HAN
My God~ I already had more than 2Million data in the datastore... BTW, if I want to show the total number of a query with filter, how to get the total row number? On Thu, Sep 17, 2009 at 7:17 PM, David Symonds wrote: > > On Wed, Sep 16, 2009 at 10:19 PM, Blake HAN wrote: > > > I try to get the

[google-appengine] Re: How to get the total row number of a table

2009-09-17 Thread David Symonds
On Thu, Sep 17, 2009 at 9:27 PM, Blake HAN wrote: > My God~ I already had more than 2Million data in the datastore... Set up a task queue to go tally them in batches. > BTW, if I want to show the total number of a query with filter, how to get > the total row number? Slap .count() on the end

[google-appengine] Using detachable property

2009-09-17 Thread Prashant
hi, I tried the "Updating an Object" (using detachable property) example given here. While experimenting with it I found that even if I do not add *detachable="true" *property to my JDO cl

[google-appengine] Re: Failed when I want to donwload a file from my web app

2009-09-17 Thread dingle
Joshua, I tried your code. The error still hapenned. Any other idea? Thanks. --~--~-~--~~~---~--~~ 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@googlegrou

[google-appengine] Re: 500 severe error Question!

2009-09-17 Thread CODY
Hi Jeff! Issue has been resolved! my filename caused the exception filename is 'time.py',the same as time module,so it's cause the exception... it's a stupid mistake.. but i hope GAE can give me some tips nextime.. thx you! On Sep 17, 5:25 am, "Jeff S (Google)" wrote: > Hi Cody, > Could

[google-appengine] Re: Problems adding developer to app

2009-09-17 Thread murraybiscuit
Yeah, I can sign in. On Sep 16, 11:28 pm, "Jeff S (Google)" wrote: > Hi Murray, > Are you able to sign in to App Engine? > > http://appengine.google.com > > Thank you, > > Jeff > > On Tue, Sep 15, 2009 at 8:40 AM, murraybiscuit wrote: > > > > > Hi there. > > > A friend and myself are collaborati

[google-appengine] Re: incoming email roadmap

2009-09-17 Thread Stephen
While you are waiting for official support, you could try: http://www.smtp2web.com/ --~--~-~--~~~---~--~~ 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

[google-appengine] Doubt with detachable property of JDO (Experts please reply)

2009-09-17 Thread Prashant
hi, I tried the "Updating an Object" (using detachable property) example given here. While experimenting with it I found that even if I do not add *detachable="true" *property to my JDO cl

[google-appengine] Re: images api mock image

2009-09-17 Thread Jay Baker
Thank you. That is just what I was looking for. On Sep 17, 5:24 am, "Nick Johnson (Google)" wrote: > Hi Jay, > > On Wed, Sep 16, 2009 at 9:21 PM, Jay wrote: > > > Does anyone know of a mock image implementation that can be used for > > unit testing with the images API? I am getting a BadImageEr

[google-appengine] Re: https support

2009-09-17 Thread Jason C
"which itself isn't very practical due to IPv4 address scarcity" ;) Akamai does provide SSL on its edge network. They provide you a _set_ of static IP addresses and force you on to a smaller set of edge servers (presumably due to the aforementioned IP scarcity) and it does cost $$. BUT... they d

[google-appengine] Re: GAE, App Engine Patch, CRON (301) Issues

2009-09-17 Thread ttk
Hi Nick, Thanks for the response. 1. The only thing in my app.yaml that has a login is: handlers: - url: /remote_api script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py secure: optional login: admin Is that why 301 is coming up because GAE is checking the user and redirecting

[google-appengine] Storage Data overhead magic

2009-09-17 Thread Denis Moskalets
Hello! My app-id: classificators-ru. I have three models with 4-5 StringProperty fields. And two indexes (for two models) with 2 properties for each. I've loaded data to production using bulk_loader from CSV files. Weight of CSV files — 61 Mb Total count of records ~ 830K Simply question: WHY m

[google-appengine] Bulkloading and searchableModel problem

2009-09-17 Thread Mat
I have a model class that looks like this: from google.appengine.ext import db, search class WorldRegion(search.SearchableModel): cityName = db.StringProperty() regionName = db.StringProperty() countryName = db.StringProperty() latitude = db.FloatProperty() longitude = db.Floa

[google-appengine] Re: doubt with detachable property...

2009-09-17 Thread Jason (Google)
Hi Prashant. Yes, you should be able to do this -- cache a detached entity and pull it out and pass it into makePersistent in subsequent requests. Anything you stick into memcache should extend Serializable. - Jason On Wed, Sep 16, 2009 at 5:43 AM, Prashant wrote: > oh sorry, i forgot to add a p

[google-appengine] Application Limit

2009-09-17 Thread jinglemansw...@googlemail.com
Hello, Can you increase my Google App Engine application limit from the standard 10. I have created various projects, and want to continue developing these, but I want to add more applications (e.g. Google Wave Python Robots, as I am on the current Google Wave Developer Preview). I know I can cre

[google-appengine] Re: Two accounts with the same username

2009-09-17 Thread Eric
I have logged into the appengine with my gmail name - and I have attempted to create a new appengine account with my gmail name - and it says that it is not available- however every name I have tried ( all within the bounds of what is allowed ) fails the name validation. And I mean every name eve

[google-appengine] How to create model with unique fields

2009-09-17 Thread eng. Ilian Iliev
HI all, I`m pretty new with GAE and DataStore and still unable to find the way for creating some "simple" tasks I`m used to. The problem is that I want create list of users that can log into my application. The model and code I`m currently using is listed bellow: class AdminUsers(db.Model):

[google-appengine] Appengine dysfunction...

2009-09-17 Thread DocAnsari
I had a application deployed for shared contacts on my domain using appengine. After functioning for a day i get the following error: Error: Not Found The requested URL / was not found on this server. How to I reset it? Thanks, DocAnsari --~--~-~--~~~---~--~~ Y

[google-appengine] Under the covers of the Datastore

2009-09-17 Thread Navraj S. Chohan
Hello, I'm trying to understand the backend of GAE. I'm not clear about single-property descending indexes. Does BigTable have the capability to do reverse lexicographical order indexes or the capability to scan in the reverse direction? On slide 33 of the under the covers talk ( http://snarfed.org

[google-appengine] why is the bulkloader so slow?

2009-09-17 Thread djerdo
Using the bulkloader with the dev appserver, the script adds rows (Entities) at a progressively slower rate, to the point where it becomes unusable when the csv file is large (20,000 rows). Why? Is this a known issue? Are there any workarounds? Thanks --~--~-~--~~~--

[google-appengine] how to drop a table in gae database

2009-09-17 Thread tom
hi,everyone~ i have create a table in gae database ,but when it created,i found that wrong,how to drop it? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send emai

[google-appengine] Re: 1000 entity limit?

2009-09-17 Thread ego008
use other way overcome 2009/9/17 Nick Johnson (Google) > Hi Locke, > > On Tue, Sep 15, 2009 at 6:15 PM, Locke wrote: > >> >> I would not be returning thousands of rows to users. This would be for >> background tasks executed via cron. >> >> The hard limits appengine imposes (30 seconds, 1000 q

[google-appengine] View this page "Google App Engine Open Source Projects"

2009-09-17 Thread Jason (Google)
Added Simple Full Text Search project Click on http://groups.google.com/group/google-appengine/web/google-app-engine-open-source-projects - or copy & paste it into your browser's address bar if that doesn't work. --~--~-~--~~~---~--~~ You received this message bec

[google-appengine] Re: Create and download binary file

2009-09-17 Thread Mark
Thanks for the reply Nick. I expect to not be able to open the downloaded file in a text editor and be able to read those numbers directly. It should contain serialized data of my choosing. On Sep 16, 7:38 pm, "Nick Johnson (Google)" wrote: > Hi Mark, > > > > > > On Sun, Sep 13, 2009 at 8:07 AM

[google-appengine] PreCalculate datastore size

2009-09-17 Thread Neves
How can I calculate how much data my model will use? for example, a long field is 8 bytes long? A key field hash is always a 40 bytes length? What about indexes? Supose I have a model like this, with no special index: class Space(db.Model): x = db.IntegerProperty() y = db.IntegerProperty()

[google-appengine] java.lang.IllegalArgumentException: Must set a body

2009-09-17 Thread Prashant
Hi, It seems like xmpp api is missing message body once every few requests. I am getting following error repeatedly, saying "Must set a body", while parsing the request to Message. I am not using */_ah/xmpp/message/chat/* url for anything except for receiving xmpp messages. Neither this url is ac

[google-appengine] Re: how to drop a table in gae database

2009-09-17 Thread Takashi Matsuo
Just delete all the entities of that kind. Datastore is schemaless, so there is no declaration for any table/kind in datastore itself. -- Takashi Matsuo The father of kay framework On Fri, Sep 18, 2009 at 12:06 AM, tom wrote: > > hi,everyone~ >  i have create a table in gae database ,but whe

[google-appengine] Re: Under the covers of the Datastore

2009-09-17 Thread ryan
hi navraj! On Sep 17, 3:45 am, "Navraj S. Chohan" wrote: > I'm trying to understand the backend of GAE. I'm not clear about > single-property descending indexes. Does BigTable have the capability to do > reverse lexicographical order indexes or the capability to scan in the > reverse direction?

[google-appengine] Re: How to create model with unique fields

2009-09-17 Thread ryan
hi ilian! there are lots of hacks, but in short, if you need to do this across entity groups, the only fully correct, safe way is with key names. see the discussion in http://code.google.com/p/googleappengine/issues/detail?id=178 . On Sep 17, 12:30 am, "eng. Ilian Iliev" wrote: > HI all, > > I`

[google-appengine] Re: Under the covers of the Datastore

2009-09-17 Thread ryan
also... On Sep 17, 3:45 am, "Navraj S. Chohan" wrote: > On slide 33 of the under the covers talk > (http://snarfed.org/space/datastore_talk.html) the Kind and Name of the > index are lexicographical while the value is reversed (compared to slide 22). i alluded to the fact that we have differe