[google-appengine] Re: Why are my plus signs disappearing?

2009-08-05 Thread Hrishikesh Bakshi
Use encodeURIComponent() instead of escape() for encoding your POST data. This will solve your issue. http://tinyurl.com/mcbgxg On Wed, Aug 5, 2009 at 1:00 AM, Bennomatic readyass...@gmail.com wrote: OK, here's the last item on the list. I used my non-ajax form to save the data as a string

[google-appengine] Re: https support

2009-08-05 Thread Nick Johnson (Google)
Hi J Singh, Due to the way SSL works, this is not currently possible without allocating an IP address for each App Engine domain that would use SSL - which itself isn't very practical due to IPv4 address scarcity. The latest version of SSL supports using a single IP address for multiple sites

[google-appengine] User Identity

2009-08-05 Thread Martyn
Hi there, In testing I have noted latency in user identity management when I sign in and out as different account users. 1) I sign in as user A - application recognises me as user A 2) I sign out - application still recognises me as User A 3) I sign in as user B - applicaiton recognises me as

[google-appengine] Re: dictionary displays problem

2009-08-05 Thread Andi Albrecht
In Django templates you can do either {% for item in xx.items %} Key: {{item.0}}, Value: {{item.1}}br/ {% endfor %} or if you don't care about the keys {% for value in xx.values %} {{value}} {% endfor %} Andi On Wed, Aug 5, 2009 at 6:27 AM, yuan ping wuoscar821...@gmail.com wrote:

[google-appengine] Re: 404 Forb

2009-08-05 Thread dhivya mylsamy
hei i got the problem right.its becas of the proxy enabled in that system.i changed the system..it worked right.. Thanx for the reply. On Wed, Aug 5, 2009 at 12:54 AM, Hrishikesh Bakshi bakshi.hrishik...@gmail.com wrote: Are you putting your own email in place of myid? Otherwise try :

[google-appengine] Re: User Identity

2009-08-05 Thread Martyn
I think this is an important issue - why no response? On Aug 5, 9:48 am, Martyn martyn.cutc...@googlemail.com wrote: Hi there, In testing I have noted latency in user identity management when I sign in and out as different account users. 1) I sign in as user A - application recognises me

[google-appengine] Re: User Identity

2009-08-05 Thread Holger
If logout wouldn't work, that would be really important - sure. But it needn't to be appengine creating this result, it can be your own code too. Session management is usually done with a token stored in cookie. Logout just means deleting this cookie. Perhaps you forgot to trigger cookie

[google-appengine] Re: User Identity

2009-08-05 Thread Nick Johnson (Google)
Hi Martyn, On Wed, Aug 5, 2009 at 9:48 AM, Martynmartyn.cutc...@googlemail.com wrote: Hi there, In testing I have noted latency in user identity management when I sign in and out as different account users. 1) I sign in as user A - application recognises me as user A 2) I sign out -

[google-appengine] Cannot deploy from within Eclipse (appcfg.py as an 'external tool')

2009-08-05 Thread Giacecco
All, I am using Eclipse 3.5.0, App Engine 1.2.2 and Python 2.5.x on both a MacOS and a Linux desktops. On both I set up appcfg.py as an 'external tool' to deploy my App Engine application without leaving Eclipse. On MacOS everything works fine. On Linux (Ubuntu NR 9.04) the execution of

[google-appengine] Re: Is there a way to have /blog url in GAE display wordpress blog

2009-08-05 Thread J
Could you elaborate a bit on for SEO reasons? Do you want the blog keywords to help elevate you site rankings? I serve my blog on the web site using a widget. Check out http://www.earlystageit.com/blog. Something tells me it doesn't quite address your requirement. On Aug 4, 4:59 pm, Jai

[google-appengine] Re: Cannot deploy from within Eclipse (appcfg.py as an 'external tool')

2009-08-05 Thread Nick Johnson (Google)
Hi Giacecco, Is there a reason you're not using the App Engine plugin for Eclipse? It handles all this for you: http://code.google.com/appengine/docs/java/tools/eclipse.html -Nick Johnson On Wed, Aug 5, 2009 at 1:25 PM, Giaceccogiace...@gmail.com wrote: All, I am using Eclipse 3.5.0, App

[google-appengine] Re: User Identity

2009-08-05 Thread Martyn
I am not caching the user, I always use the UserServiceFactory on each request. I discovered this testing the web.xml security-contraint configurations. I was surprised to say the least. I then added debugging to output user info to a page and noted the symptoms reported. Re: insertion

[google-appengine] Re: User Identity

2009-08-05 Thread Martyn
Since I sign in as a different user, this cannot be explained by a cookie problem.. plus the timing issue. On Aug 5, 1:12 pm, Holger w...@arcor.de wrote: If logout wouldn't work, that would be really important - sure. But it needn't to be appengine creating this result, it can be your own

[google-appengine] Re: GQL query failed to return a qualifying entity

2009-08-05 Thread Jaap Taal
Same here, just good old ASCII chars in that record. On Wed, Aug 5, 2009 at 12:55 AM, phtq pher...@typequick.com.au wrote: The fact that the record can be retrieved with any 2 of the 3 filters indicates that there are no hidden characters. On Aug 5, 8:41 am, Wooble geoffsp...@gmail.com

[google-appengine] Re: User Identity

2009-08-05 Thread Martyn
Are you suggesting that I need to do something in my App for each request to ensure the current user returned is valid? I have no control if the user changes their account sign-in in another browser window. My debug code is UserService us = UserServiceFactory.getUserService();

[google-appengine] Re: Predict and Limit Index Size

2009-08-05 Thread Andy Freeman
This is somewhat related to http://code.google.com/p/googleappengine/issues/detail?id=917 and http://code.google.com/p/googleappengine/issues/detail?id=1084 On Aug 4, 2:11 am, Koen Bok k...@madebysofa.com wrote: Is there any way to reliably calculate how large an index for an item will be?

[google-appengine] Re: User Identity

2009-08-05 Thread Nick Johnson (Google)
On Wed, Aug 5, 2009 at 2:20 PM, Martynmartyn.cutc...@googlemail.com wrote: Are you suggesting that I need to do something in my App for each request to ensure the current user returned is valid? We're suggesting that we don't have enough information to determine where the problem is -

[google-appengine] Re: User Identity

2009-08-05 Thread Holger
Are you suggesting that I need to do something in my App for each request to ensure the current user returned is valid? yea My debug code is UserService us = UserServiceFactory.getUserService(); That's Java - I do Python. - So Nick Johnson surely can explain better what's

[google-appengine] Re: User Identity

2009-08-05 Thread Martyn
I'm sorry, I am clearly missing something here. And it looks like it's an unwarranted assumption on my part. I had assumed, that the Google user authentication could be used in place of a conventional application login. I have followed this to create a pattern such that the current Google user

[google-appengine] Re: User Identity

2009-08-05 Thread Holger
You are not wasting time - it's an important clarification. To my knowledge the logical steps are: 1. User want's to log into your application 2. You pass him to Google 3. He logs in with his Google account 4. Google returns a token with is stored as cookie 5. As long as this token exists the

[google-appengine] Re: User Identity

2009-08-05 Thread Hrishikesh Bakshi
Google's cookies are different than each application on appspot.com. So each application needs to specifically log out each user. I just came to know about this. You should provide a log out link. On Wed, Aug 5, 2009 at 10:34 AM, Holger w...@arcor.de wrote: You are not wasting time - it's

[google-appengine] Re: User Identity

2009-08-05 Thread Nick Johnson (Google)
On Wed, Aug 5, 2009 at 3:21 PM, Martynmartyn.cutc...@googlemail.com wrote: I'm sorry, I am clearly missing something here.  And it looks like it's an unwarranted assumption on my part. I had assumed, that the Google user authentication could be used in place of a conventional application

[google-appengine] Re: User Identity

2009-08-05 Thread Martyn
Yes, I was assuming that if the user (in the browser) signed into another account then that new user would be returned by the UserService. I don't think it is a problem for a real world situation, but for testing it gave me surprising results. For quick account swapping I can provide an app

[google-appengine] Re: User Identity

2009-08-05 Thread Nick Johnson (Google)
On Wed, Aug 5, 2009 at 6:24 PM, Martynmartyn.cutc...@googlemail.com wrote: Yes, I was assuming that if the user (in the browser) signed into another account then that new user would be returned by the UserService. I don't think it is a problem for a real world situation, but for testing it

[google-appengine] Memcache Performance

2009-08-05 Thread Martyn
While profiling some datastore performance I discovered a hit where I hadn't expected one. It turns out that memcache is taking ~13 ms for each put/get or inc/ dec. Since I am using a memcache atomic increment as a VM semaphore this results in a 26ms overhead to acquire and release the lock.

[google-appengine] Re: User Identity

2009-08-05 Thread Martyn
Actually I guess I can achieve that by using two different app versions ;-) On 5 Aug, 18:29, Nick Johnson (Google) nick.john...@google.com wrote: On Wed, Aug 5, 2009 at 6:24 PM, Martynmartyn.cutc...@googlemail.com wrote: Yes, I was assuming that if the user (in the browser) signed into

[google-appengine] application scaling?

2009-08-05 Thread Rob
Hi, The intro docs about App Engine say that it will scale your application for you. What exactly does that mean in terms of a low- traffic web site suddenly getting hit with a lot of traffic? For example, if your site were suddenly slashdotted and was getting a million hits, after getting 5

[google-appengine] Re: 404 Forb

2009-08-05 Thread 陈年高
my python 2.6 can not run ^_^o(∩_∩)o...^_^ :-) :-)音问久疏,唯愿一切康适。 2009/8/5 Hrishikesh Bakshi bakshi.hrishik...@gmail.com Are you putting your own email in place of myid? Otherwise try : appcfg.py update e:\helloworld Then it will ask for credentials.

[google-appengine] App Engine Terms Conditions Atrocious?

2009-08-05 Thread webpaage
I am quite positive about using the App Engine to roll out our new project except that I wonder someone from Google can explain what the following clauses in the TC actually mean? : Google reserves the right (but shall have no obligation) to pre- screen, review, flag, filter, modify, refuse or

[google-appengine] database backup

2009-08-05 Thread Naveen Mishra
Hi Is there some way to take backup of database, as it may be needed to take backup of database periodically or before upload a new version of app Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App

[google-appengine] Problem deploying demo application

2009-08-05 Thread squalo1...@nuoto.it
Hi everyone. I'm new to Google App Engine and I'm using Eclipse 3.4 with the plugin downloaded from Google. When I create a new Web-Application project Eclipse set the appropriate directories, libraries etc... Running locally the web-app I can see the Hello App Engine page with the available

[google-appengine] Re: database backup

2009-08-05 Thread Holger
Until now not. It's in the roadmap but only as topic seven: http://code.google.com/appengine/docs/roadmap.html Till this future day you have to help yourself with the slow remote data up/download explained here: http://code.google.com/appengine/docs/python/tools/uploadingdata.html - if you are

[google-appengine] Re: GQL query failed to return a qualifying entity

2009-08-05 Thread phtq
Hello Jaap, Sounds like this problem is not all that rare, although we have never hit it before in over a year of development on the app engine. I can't relate the problem to anything we have done recently. I don't think we have introduced any new indexes for a while for example. I take it

[google-appengine] Who do you contact about Admin Dataviewer errors

2009-08-05 Thread Mark Jones
One of my Kinds isn't showing up in the data viewer. When I use a GQL query for it, I get: Server Error A server error has occurred. Return to Applications screen » When I do the same GQL query for the kind in another app, (which has none of that kind in it), I get that there are no results.

[google-appengine] Re: update_indexes error

2009-08-05 Thread Jeff S (Google)
Hi Niklas, I reset the index count quota for this app. Unfortunately it seems like the quota glitch caused the new indexes to become stuck as well. I've errored them out, so you will need to vacuum them and re-upload (wait until the vacuuming has finished before re-uploading). Thank you, Jeff

[google-appengine] Re: Static file access for reading custom configuration file

2009-08-05 Thread VKM
Hi Could you tell me then how to use my custom Yaml file for application settings? One simple way is to have a new python file with settings stored as dic or list etc and import it in main program. But that is not the good way. I want to give access of Yaml file to my clients so that they can

[google-appengine] Re: Static file access for reading custom configuration file

2009-08-05 Thread Holger
I want to give access of Yaml file to my clients To my knowledge that's impossible and that wouldn't be a good idea as the app.yaml file can contain security settings you don't want your clients able to change, for example: - url: /remote_api script:

[google-appengine] Re: application scaling?

2009-08-05 Thread Holger
Search for videos on this topic. Usually they manage to keep reaction time below 3-10 seconds at the upmost. Another problem of beeing 'slashdotted' might be that your application goes out of service because your preestimated quota is exceeded within hours.

[google-appengine] Proposal: __index__ support to make certain datastore/query operations more efficient

2009-08-05 Thread tav
As a developer we have various limitations that we have to work with on App Engine. And if you are performance conscious, then you have even more ;p Two limits that one has to often work around are the 1MB Datastore calls and ListProperty size limits. A common pattern that I've used to overcome