[google-appengine] Re: Is _ah/openid_logout going to be a stable logout URL

2010-07-13 Thread l.denardo
It was one of the other ways to do it, I just wanted to avoid more code in my architecture just to do this (MVP has the disadvantage of added boilerplate for simple tasks like this one). Anyway I found a workaroud, passing the URL in an invisible div in my page and then reading and populating anoth

Re: [google-appengine] Offline processing

2010-07-13 Thread Pieter Coucke
Well, it has the benefit that all "B" tasks can be executed in parallel so it can be very fast. You can also wait until the "background services" functionality is added to App Engine (this is on the roadmap). On Tue, Jul 13, 2010 at 2:13 AM, Phil McDonnell wrote: > I see how this is possible, b

Re: [google-appengine] Re: Local development solution for Closure JavaScript library + AppEngine

2010-07-13 Thread Jeff Schwartz
Then there's Groovy which supports closure at the language level and is byte code compatible with Java. Gaelyk is a lite weight appengine framework built on top of Groovy. A sweet combination. On Tue, Jul 13, 2010 at 1:40 AM, gops wrote: > I think you are using java. > > for python, kay framewor

Re: [google-appengine] datastore keys security question

2010-07-13 Thread Jeff Schwartz
I would use the key's id and not the full key which contains too much private information. Also, at a minimum, convert the id to base64 url friendly. It won't stop a committed hacker but it will offer some obfuscation. You could use a stronger encryption than base64 of course as base64 is easy to d

[google-appengine] Datastore is now slower than before last week's maintenance

2010-07-13 Thread takeru sasaki
Hello, I feel "Datastore is now slower than before last week's maintenance". Does anyone feel like same? In my dashboard, "Milliseconds/Request" is now 800+ms. But it was about 400ms before the maintenance. I want to back faster by this week's maintenance. But someone said "it will not back", i

[google-appengine] Re: Datastore is now slower than before last week's maintenance

2010-07-13 Thread Geoffrey Spear
The maintenance announcement stated that they expected increased latency between the first maintenance period and the second one, which is scheduled for tomorrow. On Jul 13, 7:45 am, takeru sasaki wrote: > Hello, > > I feel "Datastore is now slower than before last week's maintenance". > Does any

[google-appengine] Re: Datastore is now slower than before last week's maintenance

2010-07-13 Thread Mike Wesner
see http://googleappengine.blogspot.com/2010/07/upcoming-datastore-downtime.html """we'd like to inform developers that during the period between the two maintenance events listed above, we are expecting that Datastore performance will be impacted and applications will see higher read/ write laten

Re: [google-appengine] Re: datastore keys security question

2010-07-13 Thread Felippe Bueno
> datastore_types.Key.from_path(u'Issue', 31L, _app=u'epubpub2') How you did it ? You simply asked for db.Key(mykey)? Is it possible to get other informations for this entity, from another app-id ? Jeff, I can't find the key's id using datastore view or in documentation. The idea is to have 4 co

Re: [google-appengine] Re: Datastore is now slower than before last week's maintenance

2010-07-13 Thread takeru sasaki
Geoffrey, Mike, Thank you! 2010/7/13 Mike Wesner : > see > http://googleappengine.blogspot.com/2010/07/upcoming-datastore-downtime.html > > """we'd like to inform developers that during the period between the > two maintenance events listed above, we are expecting that Datastore > performan

[google-appengine] how to get the id of key of SelfReferenceProperty

2010-07-13 Thread saintthor
class x( db.Model ): yy = db.ReferenceProperty( y ) Parent = db.SelfReferenceProperty() use yy.key().id() is ok, but Parent.key().id() is invalid. tell me SelfReferenceProperty have no attribute Key. how to get the key id then? -- You received this message because you are subscribed to

[google-appengine] Re: how to view all keys in memcache?

2010-07-13 Thread saintthor
thank you. i have solved this problem. On 7月7日, 上午10时30分, Toomore wrote: > Appstats for > Pythonhttp://code.google.com/appengine/docs/python/tools/appstats.html > > On Jul 6, 3:01 pm,saintthor wrote: > > > what is appstat? > > > give me a link please. > > > On 7月6日, 下午2时44分, djidjadji wrote: >

[google-appengine] How do i reload my app(google wave robot) in app engine

2010-07-13 Thread Alex
i have deploy a wave robot on to app engine. it works as expected, i then make some change to the code, deploy it on the same app engine version the change i made was not in effect. according to https://groups.google.com/group/google-appengine-java/browse_thread/thread/60ea6c16f1f0dab9/d1792c1015

[google-appengine] Opening a JSP editor results in eclipse not responding

2010-07-13 Thread Alex
Hi, I have run into some problems with eclipse and hope that someone here can help me. I created a GAE project and wanted to experiment with some basic JSP stuff. I run into the known problem that I have to install a JDK. After doing so, problems got worse. When I now try to create or edit a JSP

[google-appengine] Failed to Create App

2010-07-13 Thread Steegle
I have successfully made an app and tested it on my personal Google Account, now I need to upload it using my work Google Account. I have signed in to Google App Engine using my work Google Account and successfully verified by SMS. I have tried twice to create an app (https://appengine.google.com

[google-appengine] Loading Seed Data for Unit Testing

2010-07-13 Thread vhazrati
Hi, We are using JPA for our Dao's to interact with the datastore. I was wondering is there is a way to load seed data for unit testing. I can insert the entities using JPA in the setup() method here private final LocalServiceTestHelper helper = new LocalServiceTestHelper(new LocalDatastoreServic

[google-appengine] Unable to create new apps

2010-07-13 Thread Simon Whitaker
I have a couple of App Engine apps set up already. When I try to add a new app I get prompted to undergo SMS verification, which obviously I've already done. When I enter my mobile phone number I'm told that this number has already been used to verify another account. I'm wondering if this is anyt

[google-appengine] Modeling Twitter Annotations

2010-07-13 Thread Josh
I am writing a micro blog and would like to add twitter like annotations to each post. What is the best way to model this using the app engine? Below is an json example of the type of structure I am trying to achieve on GAE. { "message": "App Engine Rocks", "annotations": [{"geolocation"

[google-appengine] Re: ~200 ms or >200 ms lags

2010-07-13 Thread Nick Joyce
On Jul 11, 11:01 pm, Broadsmile wrote: > Hi! I'm new to the GAE Engine, I found it will be a nice engine for my > mmorpg game. For now I'm still investigating what Can I do with this > technology, and what I can't. I want my game to be real-time based and > am now testing the server to see how res

[google-appengine] Re: ~200 ms or >200 ms lags

2010-07-13 Thread Nick Joyce
On Jul 11, 11:01 pm, Broadsmile wrote: > Hi! I'm new to the GAE Engine, I found it will be a nice engine for my > mmorpg game. For now I'm still investigating what Can I do with this > technology, and what I can't. I want my game to be real-time based and > am now testing the server to see how res

[google-appengine] Serializable Docservice on Appengine

2010-07-13 Thread adrian.migraso
hi, i downloaded the gdata-docs-trunk and made the DocService serializable so i can store it on appengine sessions. everything was ok when i test it locally, but this error appears on the server. i tried a no-arg constructor and set a default appname, but the result is still the same. i dont und

[google-appengine] SEND APPLICATION

2010-07-13 Thread frankzeffi
I'm brazilians, I can't send my number mobile fone do send applications. Alwais go back erros. -- 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-appeng...@googlegroups.com. To unsubscribe from this

[google-appengine] users.get_current_user() returning None for https requests

2010-07-13 Thread john
I have a handler with the "secure: optional" setting in my app.yaml file. When I make http requests to one of its url's, the data is retrieved and returned no problem. When I make an https to the same url, however, the handler's call to users.get_current_user() returns None, so that the request can

Re: [google-appengine] users.get_current_user() returning None for https requests

2010-07-13 Thread Andi Albrecht
It's not clear from your message if you login again before accessing your https URLs or if you just change the protocol part of the URL from http to https (i.e. adding a "s") or do you login again before hitting your URL using https? The cookie you'll receive for http isn't valid for your https UR

[google-appengine] Re: ~200 ms or >200 ms lags

2010-07-13 Thread Broadsmile
Thanks for Your answer! Aral Balkan's example is very old and I'm aware of that. You suprised me by the technological jump of pyAMF, but unfortunately upgrading it has no effect in my case (probably because I don't send/get a lot of data, so pyAMF can't show off it's serialization/deserialization s

[google-appengine] Re: TransientError adding to queue..

2010-07-13 Thread Darien Caldwell
I had my first TransientError last night, and now I'm wondering this too. I would think this is probably a reasonable thing to do. -- 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-appeng...@googleg

[google-appengine] Getting 500 internal server errors trying to deploy app or load dashboard

2010-07-13 Thread Danny Tuppeny
I made some minor changes to my app, and had to save one of my files as UTF8 (it was previously Ascii, but my pound signs were showing as another character). When I tried to deploy, I now get a 500 internal server error page returned in the python window. Get the same error when trying to access t

[google-appengine] Re: Getting 500 internal server errors trying to deploy app or load dashboard

2010-07-13 Thread Danny Tuppeny
Looks like I posted too soon. Less than 2 minutes later, everything seems to be working as normal! On Jul 13, 8:13 pm, Danny Tuppeny wrote: > I made some minor changes to my app, and had to save one of my files > as UTF8 (it was previously Ascii, but my pound signs were showing as > another chara

[google-appengine] Re: users.get_current_user() returning None for https requests

2010-07-13 Thread john
Well no, I haven't been logging in again before switching between the http and https requests. But that seems to imply that *every* request in an entire user session has to be either http or https, and you cannot mix them. Is that really how GAE works? I can't find anything in the docs about that.

Re: [google-appengine] Offline processing

2010-07-13 Thread Robert Kluin
I think it is pretty standard practice, and it can be quite fast when implemented correctly. Check out Brett Slatkin's IO talk: http://code.google.com/events/io/2010/sessions/high-throughput-data-pipelines-appengine.html And the 'mapper' implementation: http://code.google.com/p/appengine-mapreduc

Re: [google-appengine] Re: Custom path for the auth cookie (ACSID)

2010-07-13 Thread Robert Kluin
Yes, I meant OpenID. :) Robert On Fri, Jul 9, 2010 at 2:33 PM, Vladimir Prudnikov wrote: > Are you talking about OpenID? OAuth is for different purposes. > I think it's not possible with OpenID. It has the same API and works > the same way. > > On Jul 9, 7:02 pm, Robert Kluin wrote: >> Yes,

[google-appengine] Re: Opening a JSP editor results in eclipse not responding

2010-07-13 Thread TL
As a troubleshooting step I would suggest creating a java project that is not a GAE project, and verifying that it works and you can edit JSPs. Alternatively you can uncheck in your existing project properties the checkboxes "Use Google App Engine" and "This project has a war directory" in the Goo

[google-appengine] Re: HTTPS on my own domain

2010-07-13 Thread TL
Thanks. Do people have an estimate of the increased cost of using HTTPS over HTTP (due to more CPU cycles)? On Jul 2, 11:28 am, J wrote: > We don't use any cookies until the user logs in and once they log in, > we stay on https for all traffic. Hopefully we don't run into > performance problems.

Re: [google-appengine] Re: datastore keys security question

2010-07-13 Thread Robert Kluin
I use entity keys as parameters for some things. If allowing someone to know the app-id of your app is a security risk you may need to evaluate your security; besides if you want to use SSL the app-id is "public" knowledge anyway. (Sometimes) I also use the key when I want to allow multiple an en

Re: [google-appengine] how to get the id of key of SelfReferenceProperty

2010-07-13 Thread Robert Kluin
SelfReferenceProperty should just return a db.Key. So assuming the property is set, normal Key methods should work. I have two suggestions: 1) Unless you are intending to dereference (ie perform another db.get()) those entities, use the get_value_for_datastore method. http://code.google.com/ap