[google-appengine] Cheetah

2009-06-20 Thread mobil
would it be possible to support Cheetah on Google app engine the non c version of cheetah is very slow on app engine --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, s

[google-appengine] Re: Model design for wiki like "index" pages

2009-06-20 Thread Tim Hoffman
Hi Use memcache. Have the index page retrieve everything it needs then only stick summary data in memcache, then be agressive in serving out data from memcache On Updating/Adding individual pages flush their bit of cache. Key the memcache entries on the actual entity key or a path(what ever is

[google-appengine] Re: Model design for wiki like "index" pages

2009-06-20 Thread Takashi Matsuo
Hi Jesse, One thing that comes to mind first is to use key_name for that purpose. Perhaps you can use pagenames as key_name when storing pages, you can use keys_only query for rendering the "Index" page. Just my 2 yen. -- Takashi Matsuo On Sun, Jun 21, 2009 at 6:49 AM, Jesse Grosjean wrote:

[google-appengine] Re: 30 second request limit - a killer?

2009-06-20 Thread gadgster
I think Charlie is referring to the newly released Task Queue API: http://googleappengine.blogspot.com/2009/06/new-task-queue-api-on-google-app-engine.html Unfortunately for you, this is Python only at the moment. I would think you will see it in the Java version soon. On Jun 20, 3:56 pm, Domi

[google-appengine] Model design for wiki like "index" pages

2009-06-20 Thread Jesse Grosjean
I have a wiki like app. The basic model is a page which has title(StringProperty) and a body (TextProperty) properties. It all seems to work well, but I'm not sure how well my model will scale. The problem I see is that I want to have an "Index" page, which lists all other pages. My concern is w

[google-appengine] List Property containing keys - performance question

2009-06-20 Thread Federico Builes
Morten Bek Ditlevsen writes: > Thanks for your answers - I'm just having a bit of a hard time figuring out > which data store requests happen automatically. > > I wondered because I had an error in the datastore: > > File "/base/data/home/apps/grindrservr/26.334331202299577521/main.py",

[google-appengine] Re: Vacuum Indexes - Datastore Indices Count

2009-06-20 Thread Jeff S (Google)
Hi Phil, Apologies for the inconvenience. I've reset the index count for your app. The speedup you saw from creating indexes on an empty datastore is expected. Happy coding, Jeff On Jun 20, 6:16 am, Phil wrote: > Hi, > > I've come across the issue regardng vacuuming of indexes not correctly >

[google-appengine] Re: Just released: Python SDK 1.2.3

2009-06-20 Thread Thomas
Some initial thoughts using the task queue api: 1. It is very easy to create a chain reaction if you don't know what you are doing :P 2. Using the queues with the dev_appservery.py is very nice such that you can test things out and see how things get queued. 3. Would like to see flush queue opt

[google-appengine] Vacuum Indexes - Datastore Indices Count

2009-06-20 Thread Phil
Hi, I've come across the issue regardng vacuuming of indexes not correctly releasing resources creating the following exception: "Your application is exceeding a quota: Datastore Indices Count" Can someone please reset the quota on my application "5starlivesbeta". Also, I found it was much quic

[google-appengine] Problem adding to the App Engine Gallery

2009-06-20 Thread BenF
Hi. I wanted to add our app to the gallery, but hit a problem. On completing the form, I get the message: The app_id you entered is not valid or application is not functioning. Please enter a valid app_id. Well, as far as I can see, the app_id I gave was valid and the app is functioning just fi

[google-appengine] SMS verification trouble.

2009-06-20 Thread Patipat Susumpow
Hi, I can't verify my account by SMS from http://appengine.google.com/permissions/smssend.do, tried many times with friends' mobile phone no, various supported operators in Thailand, but always get "The phone number has been sent too many messages or has already been used to confirm an account." m

[google-appengine] Re: 30 second request limit - a killer?

2009-06-20 Thread Dominik Steiner
Thanks Charlie for the fast reply, here is the link to the Compass forum post http://forum.compass-project.org/forum.jspa?forumID=37 I will have a look in the Task Queue Api and write back to that forum if it helped. Dominik P.S. just to clarify, with Task Queue you mean the java.util.TaskQue

[google-appengine] Re: No way to delete error data entry

2009-06-20 Thread Charlie Zhu
Thank you, Nick, I have written code as below with low level API to delete the entry. It runs without error but seems not totally working. And thanks god that data suddenly appeared at Data Viewer and problem resolved. Code pasted here and hope it useful for others import com.google.appengine.a

[google-appengine] Tuples, Exploding Index, IO talk

2009-06-20 Thread hawkett
Hi, I was watching Brett's IO talk re. using 'Relational Index Tables', and there were a few hints of things in there, and I just wanted to check I got it all correctly - 1. Lists are good for tuples - a use case I see is an entity being tagged, and having a state within that tag - so the tu

[google-appengine] Re: 30 second request limit - a killer?

2009-06-20 Thread Charlie
Your link to the Compass forum is broken for me. Not that I know anything really about Compass, anyways. You will have to figure out a way to rebuild the indexes incrementally. I would suggest looking at the new Task Queue api. It seems appropriate for something like this -- rebuild a bit of th

[google-appengine] Re: UnacceptableVersionError when trying to import Django 1.0

2009-06-20 Thread gnz
After updating to 1.2.3 and modifying the code to use django 1.0 (I was using zipimport to use 1.0 before), I occassionally get this exception. Once I get it, the only way to make it go away is to restart the dev server. Could it be that making changes while dev server is running is triggering som

[google-appengine] Re: List Property containing keys - performance question

2009-06-20 Thread Morten Bek Ditlevsen
Hi Federico, Thanks for your answers - I'm just having a bit of a hard time figuring out which data store requests happen automatically. I wondered because I had an error in the datastore: File "/base/data/home/apps/grindrservr/26.334331202299577521/main.py", line 413, in query if result i

[google-appengine] List Property containing keys - performance question

2009-06-20 Thread Federico Builes
Morten Bek Ditlevsen writes: > Hi there, > I have an entity with a list property containing keys: > > favorites = db.ListProperty(db.Key, indexed=False) > > I suddenly came to wonder: > If I check if a key is in the list like this: > > if thekey in user.favorites: > > will that by a

[google-appengine] Re: UnacceptableVersionError when trying to import Django 1.0

2009-06-20 Thread CaiSong
1. App Engine version 1.2.3 2. you Local install Django 1.0.2 3. add the following lines to the beginning of your script handler (main.py): from google.appengine.dist import use_library use_library('django', '1.0') 4. setting mush be comment following lines #'django.contrib.sessions.middlewar

[google-appengine] Re: Just released: Python SDK 1.2.3

2009-06-20 Thread CaiSong
- from google.appengine.dist import use_library use_library('django', '1.0') import logging, os # Google App Engine imports. from google.appengine.ext.webapp import util # Force Django to reload its se

[google-appengine] List Property containing keys - performance question

2009-06-20 Thread Morten Bek Ditlevsen
Hi there, I have an entity with a list property containing keys: favorites = db.ListProperty(db.Key, indexed=False) I suddenly came to wonder: If I check if a key is in the list like this: if thekey in user.favorites: will that by any chance try and fetch any entities in the user.favorites