[google-appengine] Re: How can I add Timer to my GAE application?

2008-11-17 Thread Alex Cheng
I used Cron from gaeutilities and it works fine for me. Finally I can remove a damn button from my page since the user doesn't need to manually click it to refresh the page but Cron will do it in the background. That's really cool! On Nov 18, 4:20 am, Maciej Pietrzak <[EMAIL PROTECTED]> wrote:

[google-appengine] index status "building" since days

2008-11-17 Thread dobee
i have an index that is on status "building" since about a week, i don't need it anymore, but vacuum says that the index is already deleted: Deleting selected index definitions. 2008-11-18 07:12:46,146 WARNING appcfg.py:892 An index was not deleted. Most likely this is because it no longer exist

[google-appengine] Collection of suggestions and Polls on them Options

2008-11-17 Thread probash.jibon
Hi, I am planning a reunion for my school friends. I would like to post something like this in my blog: Suggest a date: ??? Suggest a place: ??? I want my friend to come to blog and suggest new date/place and vote on the existing suggested dates/places. Any idea on how to implement this. Prob

[google-appengine] Re: can not register

2008-11-17 Thread pr3d4t0r
On Nov 17, 7:17 pm, Hong <[EMAIL PROTECTED]> wrote: > Hello every one, when I try to register for Google app engine , It has > to be activated by SMS, but when I fill my phone number (from > Vietnam), like this +84 988437027 , then I said can not be send or > something wrong? > > What is the probl

[google-appengine] Re: can not register

2008-11-17 Thread Alexander Kojevnikov
Community FAQ: http://knol.google.com/k/marce/app-engine-community-faqs/ On Nov 18, 2:17 pm, Hong <[EMAIL PROTECTED]> wrote: > Hello every one, when I try to register for Google app engine , It has > to be activated by SMS, but when I fill my phone number (from > Vietnam), like this +84 988437027

[google-appengine] Re: How to Backup Datastore

2008-11-17 Thread Alexander Kojevnikov
> Is there a best practice for backing up one's datastore? > > Is there a way to do this on the Google site to avoid having to do > this individually? If not, is there something in the pipeline? Datastore backup is on the short-term roadmap: http://code.google.com/appengine/docs/roadmap.html Se

[google-appengine] Re: bulkload_client.py not working

2008-11-17 Thread Gampesh
My app.yaml is handlers: - url: /load script: loader.py login: admin - url: /.* script: main.py loader.py is from google.appengine.ext import bulkload class InventoryLoader(bulkload.Loader): def __init__(self): fields = [ ("name", str), ("quantity", in

[google-appengine] can not register

2008-11-17 Thread Hong
Hello every one, when I try to register for Google app engine , It has to be activated by SMS, but when I fill my phone number (from Vietnam), like this +84 988437027 , then I said can not be send or something wrong? What is the problem, I have also tried +84988437027 or, 84988437027 but they all

[google-appengine] How to Backup Datastore

2008-11-17 Thread Edward
Is there a best practice for backing up one's datastore? Is there a way to do this on the Google site to avoid having to do this individually? If not, is there something in the pipeline? --~--~-~--~~~---~--~~ You received this message because you are subscribed

[google-appengine] Re: More CDN Posts

2008-11-17 Thread Jonathan Feinberg
Excuse me; I replied to the wrong thread. On Nov 17, 2:27 pm, Jonathan Feinberg <[EMAIL PROTECTED]> wrote: > Yes, I'd already written my own static content server, but I'm > thinking that Google should handle that. > > On Nov 15, 8:40 am, Sylvain <[EMAIL PROTECTED]> wrote: > > > Hi, I've update t

[google-appengine] Re: NonAuthSubToken Error Whean using google data apis

2008-11-17 Thread Jeff S
Hi Edmar, Is the user signed in to your app when you are seeing this error? The gdata-python-client requires a current_user so that it knows which user the auth token belongs to. Without knowing who the current user is, auth tokens cannot be reused/upgraded to session tokens. Thank you, Jeff O

[google-appengine] Re: db.Text vs db.Blob

2008-11-17 Thread Andy Freeman
Question - does GAE zip db.Blob or db.Text data when it puts it in the datastore? If so, there's no point in me doing so and there may not be any point in my using binary-format pickle. I've definined a couple of custom properties, PickleProperty and JSONProperty, both with an instance-specific

[google-appengine] Re: getting DeadlineExceededError posting facebook from GAE

2008-11-17 Thread MattG
found the problem -- nothing to do with timeouts. was just a problem with how I was passing args to facebook. On Nov 17, 1:56 pm, MattG <[EMAIL PROTECTED]> wrote: > seems unlikely that posting a newsfeed to facebook would take more > that 10 seconds. > > thx for your help. > > On Nov 17, 7:43 am

[google-appengine] Re: suddenly, a new error in Cheetah in production GAE, doesn't occur in SDK

2008-11-17 Thread Marzia Niccolai
Hi Ben, It's certainly not our desire to introduce any changes in the App Engine library that would break our users app, but from time to time some parts of the apis and libraries will be modified to fix issues/enhance features. When these fixes happen, it's always possible that this will break a

[google-appengine] Re: google-app-engine-django: Specifying Datastore Path

2008-11-17 Thread Daniel O'Brien (Google)
You should be able to use dev_appserver.py rather than manage.py when running locally without running into any errors to work around the issue. e.g. manage.py runserver /path/to/my/app Becomes: dev_appserver.py --datastore_path=/path/to/my/datastore /path/to/my/ app It may be worth filing

[google-appengine] Re: http HEAD responds with 405 in webapp framework

2008-11-17 Thread Jesse Grosjean
I've just added an issue for it here: http://code.google.com/p/googleappengine/issues/detail?id=869 If anyone else would like this too please star the issue. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google A

[google-appengine] Re: Reg. HelloWorld! Tutorial: Problems Running an Error-Free Guestbook Application

2008-11-17 Thread Marzia Niccolai
Strange. Does it work if you explicitly encode greeting.content = self.request.get('content')? So, try greeting.content = self.request.get('content').encode('utf-8'). -Marzia On Mon, Nov 17, 2008 at 2:36 PM, foghat <[EMAIL PROTECTED]> wrote: > > That would be my regular Gmail address. Nothing

[google-appengine] Re: Reg. HelloWorld! Tutorial: Problems Running an Error-Free Guestbook Application

2008-11-17 Thread foghat
That would be my regular Gmail address. Nothing out or the ordinary. On Nov 17, 11:09 pm, Marzia Niccolai <[EMAIL PROTECTED]> wrote: > What is the email address you are using when you see this stack trace? > > -Marzia > > On Mon, Nov 17, 2008 at 11:07 AM, foghat <[EMAIL PROTECTED]> wrote: > > >

[google-appengine] Re: Error handling for requests that are too large

2008-11-17 Thread Marzia Niccolai
Hi Gijsbert, Unfortunately, javascript doesn't allow you to have access to the client's files to check the size, but if you used Flash, Gears, or Silverlight, you could write a client side check on the file size. This is a good feature request, though large file support is currently being worked

[google-appengine] Re: bulkload_client.py not working

2008-11-17 Thread Marzia Niccolai
Hi, What information is in the logs for the posts from the client? What does the App Engine handler look like for the data? What does your app.yaml look like? -Marzia On Sun, Nov 16, 2008 at 11:57 PM, Gampesh <[EMAIL PROTECTED]> wrote: > > Hi, > > I tried to upload abc.txt and abc.csv but it

[google-appengine] Re: db.Text vs db.Blob

2008-11-17 Thread Marzia Niccolai
Hi Andy, It's possible you could do this (though not using the code below), but it seems like it would be easier to just use a db.Expando model? I can't see any advantages to consistently having the same property name use two different types. -Marzia On Mon, Nov 17, 2008 at 12:56 PM, Andy Freem

[google-appengine] Re: Reg. HelloWorld! Tutorial: Problems Running an Error-Free Guestbook Application

2008-11-17 Thread Marzia Niccolai
What is the email address you are using when you see this stack trace? -Marzia On Mon, Nov 17, 2008 at 11:07 AM, foghat <[EMAIL PROTECTED]> wrote: > > Possibly the same error that I'm getting. See below. > > Traceback (most recent call last): > File "/Applications/GoogleAppEngineLauncher.app/Co

[google-appengine] Re: unable to create application from costa rica because of failed SMS verfication...

2008-11-17 Thread Marzia Niccolai
Hi Jorge, What kind of issues are you seeing with the sms_issues page? -Marzia On Mon, Nov 17, 2008 at 11:51 AM, jbastias <[EMAIL PROTECTED]> wrote: > > > I'm having a problem setting up an application. If anyone could give > me a hand in getting going I would greatly appreciate it. > > I am in

[google-appengine] Re: Reg. HelloWorld! Tutorial: Problems Running an Error-Free Guestbook Application

2008-11-17 Thread foghat
Possibly the same error that I'm getting. See below. Traceback (most recent call last): File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/ext/webapp/__init__.py", line 501, in __call__ han

[google-appengine] unable to create application from costa rica because of failed SMS verfication...

2008-11-17 Thread jbastias
I'm having a problem setting up an application. If anyone could give me a hand in getting going I would greatly appreciate it. I am in Costa Rica. ICE (Instituto Costarricense de Electricidad - http://www.grupoice.com/), the only carrier in the country is not listed on your site as an accepted c

[google-appengine] OpenID consumer and sessions

2008-11-17 Thread Michael
Hi, I have just tried to setup OpenID login for my app engine application, following the sample code from http://code.google.com/p/google-app-engine-samples. My question is: once successfully logged in, what is the "right way" of dealing with a logged user throughout multiple requests? So far I

[google-appengine] Re: urlfetch problem

2008-11-17 Thread [EMAIL PROTECTED]
make sure you're not printing anything to stdout. On Sep 20, 2:43 pm, uo <[EMAIL PROTECTED]> wrote: > how can i remove the status info ie > > Status: 200 OK > Last-Modified: Sat, 20 Sep 2008 03:47:52 GMT > ETag: e608d454f548741614b550558645b689 > Content-Type: text/html; charset=utf-8 > Expires:

[google-appengine] Re: Is Memcache really needed?

2008-11-17 Thread Anders
On Nov 17, 6:37 pm, Jon McAlister <[EMAIL PROTECTED]> wrote: > On Nov 16, 10:05 pm, Anders <[EMAIL PROTECTED]> wrote: > > > And another thing: In a distributed system, must there really be any > > functional difference between RAM and disk memory? Of course, disk > > access is magnitudes slower th

[google-appengine] db.Text vs db.Blob

2008-11-17 Thread Andy Freeman
Since neither db.Text nor db.Blob is indexed, can we decide between them on an entity-specific basis? Specifically: class A(db.Model): a = CustomProperty() # where CustomProperty takes its data_type for get_value_for_datastore purposes from the value, not from CustomProperty's definition. a

[google-appengine] Re: How can I add Timer to my GAE application?

2008-11-17 Thread Maciej Pietrzak
On 17 Lis, 16:09, A.TNG <[EMAIL PROTECTED]> wrote: > On Mon, Nov 17, 2008 at 11:48 AM, Alex Cheng <[EMAIL PROTECTED]> wrote: > > > I want to add a timer to my GAE application, so I can execute certain > > logic at given interval. I tried python's Timer object (http:// > >www.python.org/doc/2.5.2/l

[google-appengine] Re: Add Model field via Mixin?

2008-11-17 Thread Adam
Andy, many thanks for this idea. This is the sort of metaprogramming stuff that I think that I need. I didn't know Python at all before I began working on AppEngine, so metaclasses have escaped my attention to date. Safari, here I come! On Nov 17, 2:32 pm, Andy Freeman <[EMAIL PROTECTED]> wrot

[google-appengine] Re: Add Model field via Mixin?

2008-11-17 Thread Andy Freeman
Why not define a metaclass that does the mixins for you? class UseMixins(db.Model): __metaclass__ = AddMixin class Post(UseMixins): Mixins = Comment, Some code that might be useful in helping you write AddMixin can be found in: http://groups.google.com/group/google-appengine/browse_thre

[google-appengine] Re: Is Memcache really needed?

2008-11-17 Thread Anders
On Nov 17, 8:06 pm, "Barry Hunter" <[EMAIL PROTECTED]> wrote: > On Mon, Nov 17, 2008 at 5:52 PM, Anders <[EMAIL PROTECTED]> wrote: > > > On Nov 17, 6:30 pm, Jon McAlister <[EMAIL PROTECTED]> wrote: > > >> For any particular "key", all instances will talk to the same memcache > >> backend. Note tha

[google-appengine] Re: More CDN Posts

2008-11-17 Thread Jonathan Feinberg
Yes, I'd already written my own static content server, but I'm thinking that Google should handle that. On Nov 15, 8:40 am, Sylvain <[EMAIL PROTECTED]> wrote: > Hi, I've update the idea from ipsojobs. > > Now it uses memcache and can handle many directories and file types. > You have to flush mem

[google-appengine] Open sourced Mirrorrr: An app for Web Caching and handling the Slashdot effect

2008-11-17 Thread Brett
Had a bunch of requests for the code. Now it's open source. Apache 2.0. Enjoy! Gallery page: http://appgallery.appspot.com/about_app?app_id=agphcHBnYWxsZXJ5chMLEgxBcHBsaWNhdGlvbnMYiB4M Source code: http://mirrorrr.googlecode.com --~--~-~--~~~---~--~~ You received

[google-appengine] Re: http HEAD responds with 405 in webapp framework

2008-11-17 Thread Marzia Niccolai
Hi Jesse, You should add the request to explicitly implement head in the webapp framework to the issue tracker, or star the request if it already exists. http://code.google.com/p/googleappengine/issues/list As for your solution, it's definitely a valid solution. In general I usually write a Bas

[google-appengine] Re: WindowsError: [Error 183] Cannot create a file when that file already exists

2008-11-17 Thread Marzia Niccolai
Hi, Are you using the standard --datastore_path and --history_path, or are you setting this information when you run the dev_appserver? If it doesn't happen every time, is there something particular being done every time it fails? What version of Windows OS are you using? -Marzia On Sat, Nov 1

[google-appengine] Re: getting DeadlineExceededError posting facebook from GAE

2008-11-17 Thread MattG
seems unlikely that posting a newsfeed to facebook would take more that 10 seconds. thx for your help. On Nov 17, 7:43 am, "admin go2" <[EMAIL PROTECTED]> wrote: > Or maybe the server response is too slow to finish in 10 seconds > > =http://go2.appspot.com > > 2008/11

[google-appengine] Re: Is Memcache really needed?

2008-11-17 Thread Barry Hunter
On Mon, Nov 17, 2008 at 5:52 PM, Anders <[EMAIL PROTECTED]> wrote: > > On Nov 17, 6:30 pm, Jon McAlister <[EMAIL PROTECTED]> wrote: >> >> For any particular "key", all instances will talk to the same memcache >> backend. Note that we can easily have different keys hosted on >> different backends,

[google-appengine] Re: Add Model field via Mixin?

2008-11-17 Thread Adam
Thanks, Rodrigo, but I am the author of taggable-mixin, so I'm pretty sure that it doesn't hold any new clues for me :) Taggable doesn't add any Model properties to the adding class. I actually posted this question here because I am in the process of completing and open-sourcing Taggable's compa

[google-appengine] Re: Add Model field via Mixin?

2008-11-17 Thread Rodrigo Moraes
On Mon, Nov 17, 2008 at 2:56 PM, Adam wrote: > I tried declaring Commentable to inherit from db.Model, but that > didn't seem to make a difference. take a look at this project, which is a mixin class for tags: http://code.google.com/p/taggable-mixin/ it requires that you define __init__() f

[google-appengine] Re: Speed up a slow development appserver by taming index history file

2008-11-17 Thread Marzia Niccolai
Hi Nick, Thanks for the tip! Can I suggest you also add this to the community knol page? http://knol.google.com/k/marce/app-engine-community-faqs/vkzeph4si12v/1# -Marzia On Sat, Nov 15, 2008 at 2:28 PM, Nick Winter <[EMAIL PROTECTED]> wrote: > > We're going to a trade conference next week to d

[google-appengine] Re: Is there any forum to popularize appengine apps ?

2008-11-17 Thread Maciej Pietrzak
On 17 Lis, 10:17, Grayce <[EMAIL PROTECTED]> wrote: > Is there any particular forum where you can popularize your appengine > apps ? For instance, all firefox extension developers have > addons.mozilla.org, foxiewire.com etc. > If not, can this discussion group be used for this purpose ? http://a

[google-appengine] Re: Is there any forum to popularize appengine apps ?

2008-11-17 Thread Barry Hunter
http://appgallery.appspot.com/ See also http://groups.google.com/group/google-appengine/web/google-app-engine-open-source-projects On Mon, Nov 17, 2008 at 9:17 AM, Grayce <[EMAIL PROTECTED]> wrote: > > Is there any particular forum where you can popularize your appengine > apps ? For instanc

[google-appengine] Re: Dashboard - Logs - How to clear them? - What is the Date-Time reference?

2008-11-17 Thread Marzia Niccolai
Hi, Logs still don't count against storage quota. It's most likely the issue relating to deleting data with out it being proceeded by a get. As always, if you are having issue with your quota, you can always apply for an increase in quota before we introduce billing: http://code.google.com/suppo

[google-appengine] Re: zipimport doesn't work in SDK 1.1.5

2008-11-17 Thread Marzia Niccolai
Hi, How is zipimport failing? Can you provide the code and error messages? Thanks, Marzia On Sun, Nov 16, 2008 at 1:49 AM, A.TNG <[EMAIL PROTECTED]> wrote: > > Hi All, > > The zipimport feature is really cool and it's very helpful to solve > 1000-file restriction. I have AppEngine SDK 1.1.5 (th

[google-appengine] Re: Create an Application Fails Silently

2008-11-17 Thread Marzia Niccolai
Hi, This could be an issue if you are using an account that is both a Google Account and a Google Apps account. If you reply to me with an app id that you have registered but can now not locate, I can look in to it more. Thanks, Marzia On Mon, Nov 17, 2008 at 8:48 AM, jerry richardson < [EMAIL

[google-appengine] Re: How do I load a HTML index file from Python

2008-11-17 Thread Marzia Niccolai
Hi, Make sure you haven't listed your templates as static_dir/static_files in your app.yaml. If you have, the templates can't be accessed in the Python code. -Marzia On Sun, Nov 16, 2008 at 5:46 PM, Chenqun Hang <[EMAIL PROTECTED]> wrote: > try GAE's templates > http://code.google.com/appengin

[google-appengine] Re: Is Memcache really needed?

2008-11-17 Thread Anders
On Nov 17, 6:30 pm, Jon McAlister <[EMAIL PROTECTED]> wrote: > > For any particular "key", all instances will talk to the same memcache > backend. Note that we can easily have different keys hosted on > different backends, though, thanks to the simplicity of the memcache > API (i.e. lack of transa

[google-appengine] Re: Concurrency Control in the datastore

2008-11-17 Thread ryan
hi david! you're in roughly the same neighborhood, but there are a number of key differences between what you've outline and what the datastore actually does. here are a few: - each entry in an entity group's tx log has a single timestamp. there aren't separate separate read and last committed ti

[google-appengine] Re: Is Memcache really needed?

2008-11-17 Thread Jon McAlister
On Nov 16, 10:05 pm, Anders <[EMAIL PROTECTED]> wrote: > And another thing: In a distributed system, must there really be any > functional difference between RAM and disk memory? Of course, disk > access is magnitudes slower than accessing RAM, but as I see it, at > least theoretically, in a distr

[google-appengine] Re: Is Memcache really needed?

2008-11-17 Thread Jon McAlister
On Nov 17, 12:13 am, Greg <[EMAIL PROTECTED]> wrote: > > I don't know if this means that each server instance has its own > > Memcache or that all the instances access a single Memcache. > > All instances access the "same" memcache - although this may be > distributed behind the scenes, I don't kn

[google-appengine] Re: Add Model field via Mixin?

2008-11-17 Thread Adam
BTW. The result of my experimentation is that while the Post class does get a comments_counter attribute, the attribute does not seem to be proper AppEngine Property field. By doing a dir() on the resulting object, I can see that all of the attributes that are defined directly in post get another

[google-appengine] Re: and home page caching problem

2008-11-17 Thread adrian
Yes it is redirected (through Godaddy). Maybe Godaddy grabbed the when I first set up the redirection and they are still using that. Strange that they sometimes put it in a frame, sometimes not. Thanks --~--~-~--~~~---~--~~ You received this message because yo

[google-appengine] Create an Application Fails Silently

2008-11-17 Thread jerry richardson
When I use the "Create an Application", I enter an app identifier and title, then click "Save" and get looped back around to http://appengine.google.com/start with no indication of what the outcome of the "save" operation was. It does cause the identifier to no longer be available. --~--~-

[google-appengine] bulkload_client.py not working

2008-11-17 Thread Gampesh
Hi, I tried to upload abc.txt and abc.csv but it not uploaded it gives me following error. INFO 2008-11-17 13:16:41,967 bulkload_client.py] Starting import; maximum 10 entities per post INFO 2008-11-17 13:16:41,967 bulkload_client.py] Importing 4 entities in 29 bytes ERROR2008-11-17

[google-appengine] Is there any forum to popularize appengine apps ?

2008-11-17 Thread Grayce
Is there any particular forum where you can popularize your appengine apps ? For instance, all firefox extension developers have addons.mozilla.org, foxiewire.com etc. If not, can this discussion group be used for this purpose ? Regards, Grayce --~--~-~--~~~---~--~---

[google-appengine] Add Model field via Mixin?

2008-11-17 Thread Adam
I'm wondering if it is possible to add a field to a Model class with a mixin. Here's my hypothetical problem: let's say that I am designing Blog software -- I know, I know, what an innovation! -- that features Posts and Comments. class Post(db.Model): title = db.StringProperty(required=True

[google-appengine] Re: Still no last-modified or if-modified-since support for static files...

2008-11-17 Thread Sylvain
If you want it now, you can check this topic: http://groups.google.com/group/google-appengine/browse_frm/thread/1656757b7565b21/cc00d569f4a0bb70 Else we have to wait. Regards. On 17 nov, 16:30, Jonathan Feinberg <[EMAIL PROTECTED]> wrote: > Google people, any chance of turning on these simple

[google-appengine] Re: Is Memcache really needed?

2008-11-17 Thread Anders
Ok, Memcache is probably made to scale, but it could potentially be a scaling problem if the Memcache becomes a performance bottleneck if it is hit by many simultaneous requests. But to implement a sharded Memcache seems likely a bit over the top. Otherwise Google would have recommended that, just

[google-appengine] Still no last-modified or if-modified-since support for static files...

2008-11-17 Thread Jonathan Feinberg
Google people, any chance of turning on these simple methods for contributing to cacheability? --~--~-~--~~~---~--~~ 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-app

[google-appengine] Re: Is Memcache really needed?

2008-11-17 Thread Anders
Hi Ben, Yes I agree, caching whole chunks of data that are computing intense to render and that change only now and then would certainly be worth caching. And that has to be done on the application level. On Nov 17, 3:15 pm, Ben Nevile <[EMAIL PROTECTED]> wrote: > Hi Anders, > > In my experience

[google-appengine] Re: How can I add Timer to my GAE application?

2008-11-17 Thread A . TNG
On Mon, Nov 17, 2008 at 11:48 AM, Alex Cheng <[EMAIL PROTECTED]> wrote: > > I want to add a timer to my GAE application, so I can execute certain > logic at given interval. I tried python's Timer object (http:// > www.python.org/doc/2.5.2/lib/timer-objects.html), but it doesn't seem > to work prop

[google-appengine] Re: and home page caching problem

2008-11-17 Thread Wooble
Are you using Google Apps or a redirection service from your registrar? If the latter, the frame may be added by the registrar, causing this trouble. I haven't seen Google themselves putting app engine pages in frames at all, and you mentioned earlier using the address "familyrhyme.com", which i

[google-appengine] Re: Is Memcache really needed?

2008-11-17 Thread Wooble
On Nov 17, 3:26 am, Anders <[EMAIL PROTECTED]> wrote: > What I'm skeptic about is if it will be a good idea for me to use it > or if I will only be doing something unnecessary or even worse, > shooting myself in the foot if the Memcache does not scale well and if > my site will start to get mass

[google-appengine] Re: Is Memcache really needed?

2008-11-17 Thread Joel Odom
One cool application of memcache: I have an RPC application that hits remote functions maybe once every few seconds per user. Part of my security scheme involves matching user ids to session keys. Hitting the data store for this on every call eats resources, but memcache brings a lot more efficie

[google-appengine] Re: Is Memcache really needed?

2008-11-17 Thread Ben Nevile
Hi Anders, In my experience with standard RMDBS, memcache is more useful for caching arbitrary data and less useful for caching model objects. If you have a really tuned database layer a lot of your queries will already be resident in the database's cache, and memcache provides only a modest eff

[google-appengine] Re: getting DeadlineExceededError posting facebook from GAE

2008-11-17 Thread admin go2
Or maybe the server response is too slow to finish in 10 seconds = http://go2.appspot.com 2008/11/17 MattG <[EMAIL PROTECTED]> > > happens every time. > > On Nov 16, 7:41 am, "admin go2" <[EMAIL PROTECTED]> wrote: > > There is not any bug in your code. > > Maybe the

[google-appengine] Re: Environment variable DJANGO_SETTINGS_MODULE is undefined

2008-11-17 Thread Jesaja Everling
Hi Chris! Did you make sure to first import google.appengine.webapp.template before importing the djangoforms module? Please have a look at this article: http://code.google.com/appengine/articles/djangoforms.html I don't think django.newforms exists in appengine, AFAIK it has been deprecated.

[google-appengine] Re: Data exchange between DataStore and gData

2008-11-17 Thread Pranny
Hmm, i don't see a reason why i can not do so. After all at the heart, both store 'string' data. So, they can be easily modified. Anyways, thanks folks. On Nov 16, 6:26 pm, Pranny <[EMAIL PROTECTED]> wrote: > Hi, > I have a couple of questions. > (1) Can i display two widgets for one label? If i

[google-appengine] Re: Environment variable DJANGO_SETTINGS_MODULE is undefined

2008-11-17 Thread Pranny
Before you import any django libraries, except for those from google.appengine.* you ust specify the Django settings. If you are using a fully Django environment, you should refer to http://code.google.com/p/google-app-engine-samples/source/browse/trunk/django_example/settings.py for an idea of wh

[google-appengine] Re: 403 - sorry.google.com/sorry - your query looks similar to automated requests

2008-11-17 Thread Alexander Kojevnikov
> I wish Google would actually say something about > where they are going in this direction, though :(. DoS attacks have been discussed a couple of month ago in this thread: http://groups.google.com/group/google-appengine/browse_thread/thread/7503bf772ae32434/bc3fd79d4bb2968d In particular, chec

[google-appengine] Re: Is Memcache really needed?

2008-11-17 Thread Anders
Yes, removing Memcache from the GAE API is probably not a good idea. There must have been some reason why it was added. What I'm skeptic about is if it will be a good idea for me to use it or if I will only be doing something unnecessary or even worse, shooting myself in the foot if the Memcache

[google-appengine] Re: 403 - sorry.google.com/sorry - your query looks similar to automated requests

2008-11-17 Thread Jay Freeman (saurik)
Yay! I'm glad to hear that it was a temporary issue. I've been sitting here for the last hour thinking "I'm going to have to start this website entirely over again, and I'm almost done with it", as I know that its going to look like a bunch of "automated requests" (lots of small requests quite o

[google-appengine] Re: Is Memcache really needed?

2008-11-17 Thread Greg
> I don't know if this means that each server instance has its own > Memcache or that all the instances access a single Memcache. All instances access the "same" memcache - although this may be distributed behind the scenes, I don't know about that. I agree with you that it would be elegant to h