[google-appengine] Re: Couldn't import gdata.calendar.service

2008-09-12 Thread moparthi
Thanks jeff, Error was rectified and its working fine. I H've small doubt, after authentication its generating authsub token. How to get that token. I just followed http://code.google.com/apis/calendar/developers_guide_python.html what this have. But how to get that token parameter to

[google-appengine] SMS code in Canada (Rogers)

2008-09-12 Thread Ben Nevile
Anyone using Rogers in Canada had trouble getting an SMS code sent? --~--~-~--~~~---~--~~ 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-appengine@googlegroups.com To

[google-appengine] how to migrate web app based on pylons to GAE

2008-09-12 Thread Boern
hi all: I am a newie for GAE,now I want to migrate my web app that`s based on pylons and orm based on sqlalchemy to GAE,how I to do ? The GAE can support pylons? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[google-appengine] Re: how to migrate web app based on pylons to GAE

2008-09-12 Thread Mike Orr
On Thu, Sep 11, 2008 at 10:26 PM, Boern [EMAIL PROTECTED] wrote: hi all: I am a newie for GAE,now I want to migrate my web app that`s based on pylons and orm based on sqlalchemy to GAE,how I to do ? The GAE can support pylons? Pylons works on App Engine. SQL databases don't, so you'd

[google-appengine] Re: Bigtable Model != Relational Model

2008-09-12 Thread Tim Hoffman
Hi people who have been developing in zope, have for some time not dealt with a relational model. (though you can if you really want to) Whilst there is isn't a 1 to 1 correspondance between the two (zoep and GAE_, looking at how things are model in zope is probably useful. Zope is much much

[google-appengine] Re: Server Error with Data Viewer

2008-09-12 Thread Sylvain
Can you star this : http://code.google.com/p/googleappengine/issues/detail?id=384 On 12 sep, 06:09, Ed [EMAIL PROTECTED] wrote: Hi Google app engine staff, This is the second time I am posting about my Data Viewer problem. Last September 1, I reported getting a A server error has occurred

[google-appengine] Re: Does a wiki exist to discuss/document App Engine?

2008-09-12 Thread Rick Thomas
Nice work! Your site design looks like a a effective way to curate the mass of GAE links. (Quite charming too.) Our Atlanta Python group is holding an App Engine Hackathon soon. I'll be sure to point the attendees to your references. Wiki or not, I hope you will find a way to accept other

[google-appengine] Re: one-to-many (ReferenceProperty) and memory

2008-09-12 Thread Justin
Instead of reference properties, I would look at setting up the properties of your complete model as child entities. That will keep them all physically sequential on disk (I believe), speeding up reads and keep things less fragile by allowing transactions. - Justin On Sep 11, 11:08 pm, GAEfan

[google-appengine] Django forms rendering

2008-09-12 Thread Darrat
I can not get the following to render in my html template. {{ form.as_p }} Does this not work in GAE? --~--~-~--~~~---~--~~ 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-appengine] Re: REST api for datastore model

2008-09-12 Thread Peter Svensson
No, we don't use any authentication at all in this point, it's just a REST utility library. Arguably, this could be included, possible in a pluggable fashion. I think the simples was is to just check the Authentication header in the incoming request, and work it out from there, if you need to.

[google-appengine] Re: Textproperty JSON

2008-09-12 Thread Sambi
Hello Jeff, My db_model is following class MovieComments(db.Model): movie = db.StringProperty() user_name = db.UserProperty() comment = db.TextProperty(default=None) created = db.DateTimeProperty(auto_now_add=True) I have imported following statement import json

[google-appengine] Re: App Engine Hack-a-thon: Tokyo, Sept 20th

2008-09-12 Thread Takashi Matsuo
Hi folks, Really many people got interested in this event, and then, the number of the attendees got reached the caps of the event. So, I stopped accepting the registration form. Thank you very much! I really look forward to meet you! -- Takashi Matsuo On Fri, Sep 5, 2008 at 6:17 AM, Daniel

[google-appengine] Gdata works on dev_server.py but not on Google AppEngine

2008-09-12 Thread Mark Ellul
Hi, I am using the latest version of the Gdata python libs (v 1.2.0) with the latest google appengine sdk. My project is migrating a flex frontend application with a python serverside onto google appengine. The username and password are taken from flex and passed to my server code which

[google-appengine] gdata ContactsService ClientLogin works on dev server but not on Google App Engine.

2008-09-12 Thread Mark Ellul
Hi, I am using the latest version of the Gdata python libs (v 1.2.0) with the latest google appengine sdk. My project is migrating a flex frontend application with a python serverside onto google appengine. The username and password are taken from flex and passed to my server code which

[google-appengine] App Engine homepage not working?

2008-09-12 Thread Alex N.
Hi, I'm trying to setup an appengine account, and http://appengine.google.com/start goes in a redirect loop. Is anybody else having the same problem? Thanks, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google

[google-appengine] Denial of Service Attack on a GAE Application

2008-09-12 Thread Tony Smith
Hi, How would one protect themselves against a denial of service attack? It is very, very easy to study how an application works, write some requests in a script and then run the scripts from a few locations in a never-ending loop. In no time, the GAE app will go over quota and start serving 403

[google-appengine] Frozen Indexes (Error Code: 40) and (server error 500)

2008-09-12 Thread tigrillo
App: tigrillotigrillotigrillo 1. I reached the limit of 100 indexes. 2. I tried to fix it using vacuum_indexes, I can erase some indexes... but 3. Some indexes were not deleted; maybe because it's status is building... and 4. There is no way to update_indexes because it raises 500 error code.

[google-appengine] Re: Deleting index stuck

2008-09-12 Thread tigrillo
Hello, I share the trouble (can not delete an index with building status nor update_indexes), notify me also, Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group,

[google-appengine] Re: Build Index Error?

2008-09-12 Thread Marzia Niccolai
Hi, If you upload indexes that move in to the 'Error' state, it indicates there was some problem building the index. The problem could be transitory, or it might be that the indexes are exploding and will never build:

[google-appengine] Re: A Very Specific AJAX RPC App Engine Question

2008-09-12 Thread Ovnicraft
is posible use pastbin? 2008/9/12 Downtown [EMAIL PROTECTED] Thanks for all the posts. I have GET working very well. I had one additional issue converting string to JSON object which was solved as follows: dojo.xhrGet({ url:

[google-appengine] Re: Denial of Service Attack on a GAE Application

2008-09-12 Thread Rick Thomas
I noticed this code http://code.google.com/p/pyib/source/browse/trunk/usercontrol.py --~--~-~--~~~---~--~~ 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-appengine] Re: Server Error with Data Viewer

2008-09-12 Thread Marzia Niccolai
Hi Ed, This usually happens if you managed to store a corrupt entity in your datastore. At this time, the only way to regain use of your datastore is to programmatically delete the bad entity. One easy way to do this would be to include an interactive shell with your app (such as

[google-appengine] Re: Couldn't import gdata.calendar.service

2008-09-12 Thread Jeff S (Google)
Hi Anton, I was able to reproduce this issue, and it will be fixed in the next release. Inlining the logic is one solution, you can also rename the function so that it doesn't start with __. Thank you, Jeff On Sep 11, 11:31 am, amc [EMAIL PROTECTED] wrote: Hi Jeff, I don't know

[google-appengine] Canada SMS Rogers

2008-09-12 Thread Ben Nevile
Anyone out there had problems receiving the SMS verification on Rogers in Canada? I have tried several times without success. Ben --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to

[google-appengine] Re: Canada SMS Rogers

2008-09-12 Thread Wooble
You probably want to use the SMS problem form linked to in the FAQ (http://code.google.com/appengine/kb/sms.html) rather than posting the same question to the list repeatedly. On Sep 12, 1:38 pm, Ben Nevile [EMAIL PROTECTED] wrote: Anyone out there had problems receiving the SMS verification on

[google-appengine] GAE search api

2008-09-12 Thread Richard Zak
I am trying to use the Google Search API, but if I enter a search term with a funny character like ă then the Google App Engine causes an error in the Python installation: Traceback (most recent call last): File C:\Program Files\Google\google_appengine\google\appengine\ext \webapp\__init__.py,

[google-appengine] Re: Django forms rendering

2008-09-12 Thread dar
Works for me all the time. What error message do you get? On Sep 12, 8:51 am, Darrat [EMAIL PROTECTED] wrote: I can not get the following to render in my html template. {{ form.as_p }} Does this not work in GAE? --~--~-~--~~~---~--~~ You received this

[google-appengine] Re: Denial of Service Attack on a GAE Application

2008-09-12 Thread Tony Smith
Yes, it needs to be at a very low level. In my infrastructure, when the system is detecting a DOS attack it creates a firewall rule on the offending IP address. This rule will expire in a few minutes. If the DOS continues after the few minutes then An hour long restriction is imposed. If after

[google-appengine] Re: A Very Specific AJAX RPC App Engine Question

2008-09-12 Thread Bill
You might want to use Crockford's JSON utility instead of the naked eval of the response. See the section A word of caution against using eval on the YUI JSON page: http://developer.yahoo.com/yui/json/ The original non-YUI version can be used as well: http://json.org/json2.js On Sep 12, 6:36 

[google-appengine] Re: Denial of Service Attack on a GAE Application

2008-09-12 Thread scottxu
I don't know the status of these issues. Timeout and DDOS are two concerns for me. To prevent timeout, applications have to check timer very quickly and break the request processing aggressively, which looks like a DDOS :-). Even worse, it's difficult to guarrantee the loop between

[google-appengine] Re: Denial of Service Attack on a GAE Application

2008-09-12 Thread Tony Smith
Timeout is not an issue if the requests are minimal. And you can control what the user can request from your application. The MAJOR concern is DOS. I have created a script that would request the main page of my app (which now it is a static page that says: home). I basically simulated 100 users

[google-appengine] Re: Canada SMS Rogers

2008-09-12 Thread Ben Nevile
My apols. The post I made yesterday on the topic didn't show up in my search - thought it had not made it to the other side. Sorry 4 the noise. Ben On Sep 12, 10:53 am, Wooble [EMAIL PROTECTED] wrote: You probably want to use the SMS problem form linked to in the FAQ

[google-appengine] Re: A Very Specific AJAX RPC App Engine Question

2008-09-12 Thread Adam Fisk
Couple of quick points here: 1) In your example (Downtown), you don't need to use eval. When you specify handleAs: 'json' the response is already JSON (already evaled underneath). You don't need to worry about YUI and all, although the commented format suggested above is ideal. 2) In response

[google-appengine] Using ReferenceProperty is very(!) slow

2008-09-12 Thread Frank
Hello everyone, I've been profiling my application lately in order to optimize it and find the cause of the 'high cpu' warnings I get, and here are my preliminary findings: ReferenceProperty is (extremely) slow. To give you a context, the db of my app is like a big hierarchy where branches can

[google-appengine] Re: Eclipse GAE

2008-09-12 Thread Davide Rognoni
Do you like GAE on Eclipse? . . . . -- Best Template Engine http://pyoohtml.appspot.com/best-template-engine . . . . On Sep 11, 10:34 pm, Davide Rognoni [EMAIL PROTECTED] wrote: And thanks to Joscha :-) On Sep 11, 10:26 pm, Davide Rognoni [EMAIL PROTECTED] wrote: Hi, this post is very

[google-appengine] Re: Can I use Python script in the HTML just like the javascript?

2008-09-12 Thread Davide Rognoni
My new web browser is danger but powerful. On Sep 11, 8:26 pm, Andrew Badera [EMAIL PROTECTED] wrote: Danger browser? Is that the browser Danger Mouse uses? Or perhaps the browser preferred by Rodney Dangerfield? On Thu, Sep 11, 2008 at 2:20 PM, Davide Rognoni [EMAIL PROTECTED]wrote:

[google-appengine] Re: Denial of Service Attack on a GAE Application

2008-09-12 Thread scottxu
Don't know why people pay less attention to timeout. To keep requests minimal, then much application logic has to be removed from AppEngine. Httpmr actually increases client-side logic, or you can say move logic complication from server to client. AppEngine and httpmr are good at

[google-appengine] Re: Bigtable Model != Relational Model

2008-09-12 Thread Sal
First I wanted to thank you guys for your advice. It's definitely insightful and i'll be practicing more and more so I can get use to the new environment. Peter: At this time your abstract advice is good because I don't have a specific application domain in mind. I'm use to building apps from the

[google-appengine] Re: App Engine homepage not working?

2008-09-12 Thread Alexander Kojevnikov
Do you use a Google Apps account to sign in? If so, you need to use this URL: http://appengine.google.com/a/YOURDOMAIN.COM/ On Sep 12, 7:29 pm, Alex N. [EMAIL PROTECTED] wrote: Hi, I'm trying to setup an appengine account, andhttp://appengine.google.com/start goes in a redirect loop. Is

[google-appengine] Re: App Engine homepage not working?

2008-09-12 Thread Andrew Badera
Old news. Workaround already posted in this group. On Fri, Sep 12, 2008 at 7:38 PM, Alexander Kojevnikov [EMAIL PROTECTED] wrote: Do you use a Google Apps account to sign in? If so, you need to use this URL: http://appengine.google.com/a/YOURDOMAIN.COM/ On Sep 12, 7:29 pm, Alex N. [EMAIL

[google-appengine] Re: Textproperty JSON

2008-09-12 Thread Sambi
I am using json.py file which has the following content at the start import string import types ##json.py implements a JSON (http://json.org) reader and writer. ##Copyright (C) 2005 Patrick D. Logan ##Contact mailto:[EMAIL PROTECTED] ## ##This library is free software; you can

[google-appengine] Re: Denial of Service Attack on a GAE Application

2008-09-12 Thread Tony Smith
It's not about paying less attention. About the timeout you can do something (split the requests etc.). About the Denial of Service attack you can't really do anything. If somebody wants you out of the picture all they have to do is simulate 100 users and in 10 minutes you're out. Are there any