[google-appengine] Re: Max-age less than specified in app.yaml

2008-11-14 Thread Anders
Now I have changed it to: - url: /images static_dir: static/images expiration: "1d" - url: /static static_dir: static Which works fine. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" grou

[google-appengine] Re: Max-age less than specified in app.yaml

2008-11-14 Thread Anders
Now it's working: Date: Sat, 15 Nov 2008 05:01:45 GMT Expires: Sun, 16 Nov 2008 05:01:45 GMT Cache-Control: public, max-age=86400 Content-Type: image/gif Server: Google Frontend Content-Length: 760 Connection: Close I moved the images to a separate directory: - url: /images static_dir: images

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

2008-11-14 Thread Gijsbert
Hi, I have an app that allows uploading images and of course some people try to upload larger than 1MB images. I don't mind the limit, but the error "Connection Interrupted The connection to the server was reset while the page was loading." is not very helpful. Would it be possible for the server

[google-appengine] Re: Max-age less than specified in app.yaml

2008-11-14 Thread Anders
Hi Jesaja, The thread you posted talks about a bug about "expiration" not working in the SDK, but I guess it will work in the Google App Engine since it worked for Marzia. I will try to put the images in a separate directory instead of as a subdirectory in under /static, something like: - url: /

[google-appengine] Re: TypeError in the admin console on dev server

2008-11-14 Thread Pranny
Yes, it is Issue # 280 only. I have added a comment there. Thanks On Nov 15, 3:22 am, Marzia Niccolai <[EMAIL PROTECTED]> wrote: > Hi, > > This looks to be issue > 280:http://code.google.com/p/googleappengine/issues/detail?id=280 > > -Marzia > > On Fri, Nov 14, 2008 at 11:44 AM, pran__ <[EMAIL P

[google-appengine] Re: Max-age less than specified in app.yaml

2008-11-14 Thread David Symonds
On Sat, Nov 15, 2008 at 2:03 PM, Anders <[EMAIL PROTECTED]> wrote: > - url: /static > static_dir: static > > - url: /static/images > static_dir: static > expiration: "1d" Try swapping the order of these two. I believe they are scanned in order, and the first match is used. Dave. --~--~

[google-appengine] Re: Max-age less than specified in app.yaml

2008-11-14 Thread Anders
Hi Marzia, The complete app.yaml file looks like: application: blab version: 1 runtime: python api_version: 1 handlers: - url: /robots.txt static_files: static/files/robots.txt upload: static/files/robots.txt - url: /sitemap.xml static_files: static/files/sitemap.xml upload: static/fi

[google-appengine] Mashup Camp

2008-11-14 Thread Jeff S
If anyone is in the Silicon Valley area next week I'll be talking about App Engine at Mashup Camp http://www.mashupcamp.com/ Masup Camp "is an unconference-style event dedicated to bringing together the mashup community for a face-to-face collaborative meet- up..." I plan to give a session on T

[google-appengine] max size of memcache'd value?

2008-11-14 Thread Andy Freeman
What is the limit on the size of memcache'd values? (I know that the current maximum for datastore entities is 1MBy, but they're not pickled, so they never include db.Model instances for db.ReferenceProperty s. Pickling a db.Model instance, as memcache.set () does, will pickle any db.Model insta

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

2008-11-14 Thread adrian
Now the original problem is back!But I have some clues. It occurs when AppEngine serves the app in a Frame. It does that apparently at random (I have no Frames in my code). It has switched back and forth several times today. When it serves the app in a Frame, it uses a title I had in an

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

2008-11-14 Thread adrian
This was static text. The problem went away (without any action from me). I think an older version static file (a Django template) was being served after an update. I'm still having this problem in another area. Several hours after an update, my homepage PerfectRhyme.com is serving an old

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

2008-11-14 Thread Ben Adida
Hi Marzia, Thanks again for your help. I want to stress that this started happening with no change in code on my end. And it works just fine in the SDK. Was there a library change of any kind in GAE over the last few days? The source code for my app is entirely public. Here's the template in pa

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

2008-11-14 Thread Marzia Niccolai
Hi Ben, It's difficult to know what this stack trace means with out an idea of what kind of obj the has_key method belongs to. Would it be possible to at least provide the template that is being rendered? And a description of what one expects to be rendered? -Marzia On Fri, Nov 14, 2008 at 11:5

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

2008-11-14 Thread Daniel O'Brien (Google)
Yes, unless you're doing environment-specific checks, or relying on some underlying calls that function differently between the SDK and production, your titles should remain the same. Do you have a code sample where you've seen this occur? Daniel On Nov 14, 12:27 pm, adrian <[EMAIL PROTECTED]>

[google-appengine] Re: TypeError in the admin console on dev server

2008-11-14 Thread Marzia Niccolai
Hi, This looks to be issue 280: http://code.google.com/p/googleappengine/issues/detail?id=280 -Marzia On Fri, Nov 14, 2008 at 11:44 AM, pran__ <[EMAIL PROTECTED]> wrote: > > I was trying with a visitor fedback form and i got a TypeError in the > admin console, while trying to view an entity. Th

[google-appengine] Re: How to find the total number of records in Datastore

2008-11-14 Thread Sal
I would have to disagree on this. On Nov 10, 1:56 pm, cm_gui <[EMAIL PROTECTED]> wrote: > Storing and maintaining a counter for the total > no. of records is just too much for such a simple task. > > Can somebody advise? > > Thank you. --~--~-~--~~~---~--~~ You rec

[google-appengine] Re: How to find the total number of records in Datastore

2008-11-14 Thread cm_gui
hi alexander thank you for the reply. this is not very good. regards g On Nov 10, 2:14 pm, Alexander Kojevnikov <[EMAIL PROTECTED]> wrote: > Well, nothing has changed since September, there is still no > straightforward way to count thenumberof entities for a kind. > > You might want to take

[google-appengine] Re: Using ';' in urls

2008-11-14 Thread Wooble
; is a reserved character in URIs; see RFC 3986. This has been brought up before; it's been suggested the dev server should be modified to fail in the same way as the live server. On Nov 14, 6:12 am, Moritz Angermann <[EMAIL PROTECTED]> wrote: > Hi, > > Today I figured out that I could not deplo

[google-appengine] Re: home page caching problem

2008-11-14 Thread adrian
I notice only the home page is being displayed in a Frame by AppEngine. This is something new and may be causing the problem. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to t

[google-appengine] home page caching problem

2008-11-14 Thread adrian
I recently changed the banner graphic, the size of that graphic in link in the html, and the CSS positioning of that graphic. It looks fine on the dev server, and on every page except one in production. That one page (the home page) is still showing the old html with the wrong size. (Using F

[google-appengine] and home page caching problem

2008-11-14 Thread adrian
Why would a different title appear in my browser when running on the Production server than appears on my browser when running on the Dev server? Don't they both use the text in the tag? --~--~-~--~~~---~--~~ You received this message because you are subscri

[google-appengine] Re: DataStore examples, reference, tutorial

2008-11-14 Thread tv
Hi Ian - I am looking for an example/tutorial application with a GWT front-end, using GAE on the server side, with DataStore. It sounds like you have something like that up and running. I checked out your examples web site (great stuff btw) and don't see anything similar posted. Are you using J

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

2008-11-14 Thread Ben Adida
Marzia, It's a little difficult to cut down the example to size, because *all* of my pages that render content from the store are giving errors. Here's one URL where the issue comes up: http://dev.heliosvoting.org/elections/ahBkZXYtaGVsaW9zdm90aW5ncg8LEghFbGVjdGlvbhiRAww/view and that will give

[google-appengine] TypeError in the admin console on dev server

2008-11-14 Thread pran__
I was trying with a visitor fedback form and i got a TypeError in the admin console, while trying to view an entity. This is not the full story. Initially my 'Visitor' class did not had any required fields. And there was some data in the Visitor Entity Kind. Later, i added the required=True, and p

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

2008-11-14 Thread Paul Kinlan
Hi, The problem I have is that I will have Apis in the future that will be called in ways that will look like bots and without a way of controlling this feature I will have no way to tell my users what will get their service blocked and for how long it will be blocked. I totally understand the ne

[google-appengine] Re: Max-age less than specified in app.yaml

2008-11-14 Thread Marzia Niccolai
Hi Anders, This is strange, because it should set *both* the Expires and the Cache-Control header to be 1 day, and both are wrong. I attempted to replicate this on one of my applications, but so far have not been able to (for me it's setting both headers correctly). Could you send along your com

[google-appengine] Re: Admin User EmailId

2008-11-14 Thread Marzia Niccolai
Hi, With App Engine, you are required to have the 'from' address of any email be either the current logged in user, or the an application admin. There is no way to programmatically query for a list of current admins of an application, but you can simply code the admin email address that you wish

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

2008-11-14 Thread [EMAIL PROTECTED]
As far as I can tell, this just started. Maybe we missed some notice or change in policy? Perhaps someone could point me to the documentation. More suggestions: Definitely my sites require repeated automated queries. One site records weather related data. The other site records process statistic

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

2008-11-14 Thread Paul Kinlan
Hi, I and my users have been getting the same today for www.thetopicthing.com and www.thecompanything.com. Paul On 14 Nov 2008, at 17:32, Adam <[EMAIL PROTECTED]> wrote: > > I've started getting redirected here: > > http://sorry.google.com/sorry/?continue=http://www.fyood.com/ > > My app ha

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

2008-11-14 Thread Adam
In my case it's the user's browser that seems to be causing this, after about 20 seconds of browsing on the map. Though before today, I'd never seen it, so I'm hoping somethings changed that can be un-changed... A On Nov 14, 1:08 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Yeah. I'm ex

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

2008-11-14 Thread [EMAIL PROTECTED]
Yeah. I'm experiencing the same problem. My application records and processes weather data - so yes, there is an automated process hitting the site. It would be good if, as administrators, we could create a white list of IP addresses. Regards, Mike Chirico On Nov 14, 12:32 pm, Adam <[EMAIL PRO

[google-appengine] Re: Index in building status

2008-11-14 Thread Abel Rodriguez
ok, thanks marzia 2008/11/14 Marzia Niccolai <[EMAIL PROTECTED]> > Hi Abel, > > These indexes are actually building. If they are still building after 24 > hours, please email me directly, and I will investigate taking further > action. > > -Marzia > > > On Fri, Nov 14, 2008 at 8:46 AM, Abel Rodr

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

2008-11-14 Thread Marzia Niccolai
Hi Ben, Can you provide a more complete example of the code that causes this issue? As well as the complete stack trace. Thanks, Marzia On Fri, Nov 14, 2008 at 9:40 AM, Ben Adida <[EMAIL PROTECTED]> wrote: > > > Suddenly, I'm getting the following errors on just about every page: > > if hasattr

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

2008-11-14 Thread Ben Adida
Suddenly, I'm getting the following errors on just about every page: if hasattr(obj, 'has_key') and obj.has_key(key): TypeError: has_key() takes exactly 1 argument (2 given) This is within the Cheetah templating library, _valueForName function. I haven't modified the Cheetah code, nor have I mo

[google-appengine] Re: User login problem

2008-11-14 Thread Jeff S
Hi Giacomo, I think I've spotted the issue. The appendix section in this article explains how to use ClientLogin on App Engine: http://code.google.com/appengine/articles/gdata.html If you change your run_on_appengine call to this, you should be able to get the documents feed without requiring t

[google-appengine] Re: Index in building status

2008-11-14 Thread Marzia Niccolai
Hi Abel, These indexes are actually building. If they are still building after 24 hours, please email me directly, and I will investigate taking further action. -Marzia On Fri, Nov 14, 2008 at 8:46 AM, Abel Rodriguez <[EMAIL PROTECTED]>wrote: > Hello, > > I've got one index that are stuck buil

[google-appengine] 'automated requests' error message - locked out from my site

2008-11-14 Thread Fred
Hi, I have a google map application hosted on GAE which loads multiple polylines from the datastore, using ajax. To avoid high CPU warnings, I make incremental ajax calls - fetching batches of encoded polylines, 10 at a time. You can see the site at http://www.bigbikemap.com/ However, today I h

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

2008-11-14 Thread Adam
I've started getting redirected here: http://sorry.google.com/sorry/?continue=http://www.fyood.com/ My app has a map page, which sends a lot of requests to the site as the map moves, though I haven't seen this problem before. Any thoughts, or guidelines on # of requests/second from one IP? Ada

[google-appengine] Re: sdk download problem

2008-11-14 Thread Jesaja Everling
Hi! I didn't have any problems downloading the SDK. Do you maybe use a download manager which may lead to the faulty download? I would try with a different browser, for example Firefox instead of IE or vice versa... Here you can find a zip-package of the SDK, maybe this will work better than the i

[google-appengine] Re: Max-age less than specified in app.yaml

2008-11-14 Thread Jesaja Everling
Hello Anders, maybe this thread helps? http://groups.google.com/group/google-appengine/browse_thread/thread/bcdacfaac673181a Best Regards, Jesaja Everling 2008/11/14 Anders <[EMAIL PROTECTED]>: > > When the expiration attribute is set in the app.yaml file then the > Cache-Control header still

[google-appengine] Using ';' in urls

2008-11-14 Thread Moritz Angermann
Hi, Today I figured out that I could not deploy my app on GAE after it had worked perfectly on the dev-server. The reason was: I used ';' in my URLs. Below a slightly anonymized output from telnet for some reason I'm getting refered to /foo/ when I try to access /foo;bar/ ===

[google-appengine] Index in building status

2008-11-14 Thread Abel Rodriguez
Hello, I've got one index that are stuck building. I need help please. My application id is: 'bazar' Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send e

[google-appengine] Re: Anyone working on an Issue Tracker GAE application?

2008-11-14 Thread Ankur Gupta
do search on code.google.com for open source projects. I remember seeing one. Also see if you can find one here http://code.google.com/search/#q=code%20review Ankur On Nov 14, 8:25 pm, Hernan <[EMAIL PROTECTED]> wrote: > Please apologize if this is offtopic but searching for this is a bit > dif

[google-appengine] Anyone working on an Issue Tracker GAE application?

2008-11-14 Thread Hernan
Please apologize if this is offtopic but searching for this is a bit difficult. Does anybody know a free open source Issue Tracker for GAE project? I'm looking for something very basic. Something like the one in Google Code. Even better if it's simpler. I would write my own but I'm pretty sure som

[google-appengine] Re: Password filed in form

2008-11-14 Thread pran__
Hmm, gotcha. I will be using users API for the time being, for some 'nice' features it privides. Later i will have the users option of logging via Google account or my app's account. Thanks On Nov 14, 9:56 am, Alexander Kojevnikov <[EMAIL PROTECTED]> wrote: > Here's a dpasted version of the code:

[google-appengine] Re: Comprehensive list of open source appgine hosted projects

2008-11-14 Thread Ankur Gupta
I did copy all of them too. Thanks. Would be better to put up a wiki of OSS GAE apps then a webpage. I will put it on a appspot based wiki. Ankur On Nov 14, 6:54 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > There's this list posted in the group too, you might want to cross > reference it

[google-appengine] Re: Comprehensive list of open source appgine hosted projects

2008-11-14 Thread [EMAIL PROTECTED]
There's this list posted in the group too, you might want to cross reference it to see if you're missing any. http://groups.google.com/group/google-appengine/web/google-app-engine-open-source-projects?hl=en On Nov 14, 4:41 am, Ankur Gupta <[EMAIL PROTECTED]> wrote: > Hi Guys, > > I have compiled

[google-appengine] Re: Security Alert when signing in with Internet Explorer 8

2008-11-14 Thread Anders
I meant Internet Explorer 8 is still in Beta. Older IE versions work fine I think. On Nov 14, 2:38 pm, Anders <[EMAIL PROTECTED]> wrote: > > Internet Explorer is still in Beta as far as I know, but still. --~--~-~--~~~---~--~~ You received this message because you

[google-appengine] Admin User EmailId

2008-11-14 Thread rsrirams
I have an application where, when a user fills in a data for a Form, i want to send an email to the user with the contents of the data that he/she has filled. The TO address will contain the email id of either the logged in user or the data provided for the Email ID field as part of the Form. Idea

[google-appengine] Re: Security Alert when signing in with Internet Explorer 8

2008-11-14 Thread Anders
It's especially annoying since the popup appears TWO times during an ordinary sign in. Not only that. When doing a sign out, then in addition to two popups, the page is not refreshed, meaning that the page still shows the user as being signed in while in reality the user has signed out. Reloading

[google-appengine] Re: PyOpenGl

2008-11-14 Thread Calvin Spealman
This might be handy: http://ajaxian.com/archives/projective-texturing-using-canvas If you need to do this on the browser, its not really a GAE issue. On Thu, Nov 13, 2008 at 9:22 PM, Hugo <[EMAIL PROTECTED]> wrote: > > PyOpenGL is a library to access the OpenGL API locally on your > personal com

[google-appengine] Re: Security Alert when signing in with Internet Explorer 8

2008-11-14 Thread Anders
Yes, I just tested signing in on Live Search with IE8. No popup. What a surprise. I wonder what makes the Security Alert to popup when signing in on Google. Maybe it has to do with https or something like that? On Nov 14, 12:25 pm, "David Symonds" <[EMAIL PROTECTED]> wrote: > On Fri, Nov 14, 2008

[google-appengine] Re: Security Alert when signing in with Internet Explorer 8

2008-11-14 Thread David Symonds
On Fri, Nov 14, 2008 at 9:42 PM, Anders <[EMAIL PROTECTED]> wrote: > Whoa! The same Security Alert popup is shown when signing in on Google > (www.google.com) with IE 8. Surely Google cannot accept this?! I don't think Google can do anything about the mis-behaviour of IE8. It sure sounds annoyin

[google-appengine] Re: User login problem

2008-11-14 Thread Giacomo Cucciati
Hi Jeff! Ok! The application is similar to which you have described. A web page should show my documents list (the title of the documents) and each item of the list is a link to the an other web page that embeds the document content. Everyone should be able to view my list and the contents (it sh

[google-appengine] Re: Security Alert when signing in with Internet Explorer 8

2008-11-14 Thread Anders
Whoa! The same Security Alert popup is shown when signing in on Google (www.google.com) with IE 8. Surely Google cannot accept this?! Maybe it's only my version of Internet Explorer 8 that has started to behave this way. But I'm pretty sure that I haven't changed any of the settings in my IE 8 (I

[google-appengine] Security Alert when signing in with Internet Explorer 8

2008-11-14 Thread Anders
Recently Internet Explorer 8 has started to show a Security Alert popup when signing in to my Google App Engine application. In the past I haven't noticed this. For ordinary users a popup like this can be outright frightening! The popup in IE 8 says: "Security Alert You are about to view pages

[google-appengine] Comprehensive list of open source appgine hosted projects

2008-11-14 Thread Ankur Gupta
Hi Guys, I have compiled a list of approx 70 OSS hosted on app engine projects here (found projects on github and code.google.com) http://www.uptosomething.in/weblog/?page_id=355 Ankur Gupta --~--~-~--~~~---~--~~ You received this message because you are subsc