[google-appengine] remote api, when?

2009-01-21 Thread dobee
hi all there is an undocumented remote api client in the 1.1.8 sdk which i tried, but it seems the protocoll buffer implementation is not available on appengine, just in the sdk. this error is raised when calling the remote_api handler type 'exceptions.ImportError': cannot import name

[google-appengine] Re: app-engine-patch : 'User' has no attribute 'objects' ?

2009-01-21 Thread Waldemar Kornewald
Hi Jan, On 20 Jan., 19:28, peterk peter.ke...@gmail.com wrote: I've been playing around with app-engine-patch for Django on AE, and I've been pretty happy with it so far. But I've run into a bit of bump on the road. As per the Django documentation, I'm trying to create a User like so:

[google-appengine] Re: app-engine-patch : 'User' has no attribute 'objects' ?

2009-01-21 Thread peterk
Hey Waldemar, Thanks very much for that info..I might check out the latest repository version and give that a go. Great work, btw, very much appreciate what you guys are doing. On Jan 21, 9:36 am, Waldemar Kornewald wkornew...@gmail.com wrote: Hi Jan, On 20 Jan., 19:28, peterk

[google-appengine] Re: Model field value choices - can the list be generated dynamically?

2009-01-21 Thread Waldemar Kornewald
Hi, On Jan 20, 5:49 pm, Janne Kuuskeri janne.kuusk...@gmail.com wrote: You can use a custom ModelChoiceField and override itslabel_from_instance() method: class SizeOptionChoiceField(ModelChoiceField):     deflabel_from_instance(self, obj):         return obj.code Sorry, I'm a bit

[google-appengine] Re: Google login in a lightbox?

2009-01-21 Thread realgt
I agree, great UI implementation, and for people who wouldn't use it add a link open in new window. phishing concerns for first time users would be resolved once they successfully logged in via the google domain. going forward they would prpbably trust the lightbox, and if they dont you have the

[google-appengine] Re: Google login in a lightbox?

2009-01-21 Thread emi420
Thanks!! i like the open in new window idea. On Jan 21, 11:16 am, realgt rea...@gmail.com wrote: I agree, great UI implementation, and for people who wouldn't use it add a link open in new window. phishing concerns for first time users would be resolved once they successfully logged in via

[google-appengine] Re: Exploding Index

2009-01-21 Thread Murali
Thank you for your reply. I was worried it would result in exploding index and I may have to redesign the whole Model. And I could not come up with an alternate way to achieve the same functionality. Murali On Jan 20, 1:48 pm, Marzia Niccolai ma...@google.com wrote: Hi, From what you have

[google-appengine] Re: Cant start my helloworld sample

2009-01-21 Thread Joel Odom
Read the error message closely. You misspelled python. On Wed, Jan 21, 2009 at 11:44 AM, ahYeop ahy...@gmail.com wrote: Hi all, I follow the Hello World guide but still have problem to start Apps Engine. Here is the error: C:\Program Files\Google\google_appenginedev_appserver.py

[google-appengine] Re: Google Apps dashboard not recognizing Google App Engine/CNAME record

2009-01-21 Thread Benjamin Tseng
THANK YOU!!! --Ben On Jan 20, 9:52 am, Marzia Niccolai ma...@google.com wrote: Hi, You must remove the mapping from the Google Apps personalized start page before attempting to add the 'www' mapping for your App Engine app.  After it is removed, you should be able to add the mapping

[google-appengine] Re: can't deploy index.yaml

2009-01-21 Thread jones34
i do have the indexes line. that's not the problem. On Jan 21, 10:28 am, Geoffrey Spear geoffsp...@gmail.com wrote: Make sure you have an indexes: line before your mappings. (seehttp://code.google.com/appengine/docs/python/tools/configuration.html) On Jan 21, 10:18 am, jones34

[google-appengine] Re: can't deploy index.yaml

2009-01-21 Thread Marzia Niccolai
Hi, Can you please post your entire index.yaml file? -Marzia On Wed, Jan 21, 2009 at 10:23 AM, jones34 ljw1...@gmail.com wrote: i do have the indexes line. that's not the problem. On Jan 21, 10:28 am, Geoffrey Spear geoffsp...@gmail.com wrote: Make sure you have an indexes: line

[google-appengine] Transcript: App Engine chat time January 21

2009-01-21 Thread Marzia Niccolai
[09:01am] scudder: marzia_google and I are here from Google [09:02am] scudder is now known as scudder_google. [09:02am] marzia_google: good morning [09:02am] tonyarkles: hi! [09:02am] Cyndre: Morning, and thank you for you time [09:02am] DineshV: hi [09:02am] martimartino: evening! [09:02am]

[google-appengine] Re: app-engine-patch : 'User' has no attribute 'objects' ?

2009-01-21 Thread peterk
Sorry to come back on this..I guess I should have tried this before replying previously..but, how can I get my sample app totally up to date? I checked out the patched version of django, but when I zip it up (to replace the zipped django), it comes to nearly 4MB, which is over the limit for GAE?

[google-appengine] Any way to set domain for version of my app?

2009-01-21 Thread Jesse
Hi, I am deploying a beta version of my app. The domain is listed as 2a.latestappspot.com. My main app is hosted at www.howsfvotes.com. I would like a way to deploy the beta version on a subdomain of howsfvotes.com. One reason is that I have a Google Maps API key that is only valid for

[google-appengine] Re: Any way to set domain for version of my app?

2009-01-21 Thread Dan Sanderson
There's no way to assign a subdomain to a specific version of an app. The most practical solution to host a beta version like this is to install both versions of your software within the same app, and control the difference with URL path mapping. You could create a second app, associate it with

[google-appengine] Re: app-engine-patch : 'User' has no attribute 'objects' ?

2009-01-21 Thread peterk
Oops..nevermind, I got it working. I guess sometimes you just have to RTFM :D Specifically, this page gave me what I needed: http://code.google.com/p/app-engine-patch/wiki/ManualInstallation So User.objects works now..which is great. So far so good :) Thanks again for your help! On Jan 21,

[google-appengine] Re: Any way to set domain for version of my app?

2009-01-21 Thread Jesse
Thanks On Jan 21, 1:41 pm, Dan Sanderson dansander...@google.com wrote: There's no way to assign a subdomain to a specific version of an app.  The most practical solution to host a beta version like this is to install both versions of your software within the same app, and control the

[google-appengine] sanitizing user submitted HTML

2009-01-21 Thread Dave
There must be an easy answer for this problem and I almost feel dumb for asking BUT I can't figure it out and have spent too much time trying. The scenerio is a comment/blog situation. I am using tinyMCE which is creating 'trustable' html. I can display this with django by using

[google-appengine] Re: No cell phone

2009-01-21 Thread Alexander Kojevnikov
I want to sign up for Google app engine. I have no cell phone.. How do I sign up without using cell phone number? Fill out the SMS issues form: http://appengine.google.com/waitlist/sms_issues --~--~-~--~~~---~--~~ You received this message because you are

[google-appengine] Re: is gaeutilities sessions the only 3rd party session manager?

2009-01-21 Thread jeremy
thanks for the suggestions. does beaker really work out of the box with gae? On Jan 21, 1:06 am, Ian Bicking i...@colorstudy.com wrote: On Tue, Jan 20, 2009 at 10:40 PM, jeremy jeremy.a...@gmail.com wrote: can anyone recommend / mention a session manager other than the one in gaeutilities?

[google-appengine] Re: sanitizing user submitted HTML

2009-01-21 Thread Alexander Kojevnikov
You can port this code [1] from C# to Python, shouldn't take long. The code is used on the StackOverflow [2] website for exactly the same purposes as yours. [1] http://refactormycode.com/codes/333-sanitize-html [2] http://stackoverflow.com/ On Jan 22, 9:47 am, Dave ddev...@gmail.com wrote:

[google-appengine] Re: sanitizing user submitted HTML

2009-01-21 Thread Chris Tan
Check out: http://feedparser.org/docs/html-sanitization.html On Jan 21, 2:47 pm, Dave ddev...@gmail.com wrote: There must be an easy answer for this problem and I almost feel dumb for asking BUT I can't figure it out and have spent too much time trying. The scenerio is a comment/blog

[google-appengine] Re: sanitizing user submitted HTML

2009-01-21 Thread Dave
Thanks Chris and Alexander, I took a look at both... from the links I also found http://code.google.com/p/soclone/source/browse/trunk/soclone/utils/html.py which uses html5lib. It puts a wrapper on html5lib and helped me figure out how to make it work. What is wicked cool is that what appeared

[google-appengine] Re: is gaeutilities sessions the only 3rd party session manager?

2009-01-21 Thread bowman.jos...@gmail.com
Does beaker store all session information as cookies? I'm just trying to figure out the value in the signed cookie approach, because if I can figure out a way for it to make sense I would consider moving gaeutilities to that approach. gaeutilities stores only a temporary session token in the

[google-appengine] Re: Superclass.get_by_key_name(subclass_instance.key_name) doesn't work

2009-01-21 Thread theillustratedlife
On Dec 11 2008, 6:02 am, Andy Freeman ana...@earthlink.net wrote: I thought that he was asking about properties that are present in some instances and not others.  If a given instance doesn't have a given property, it isn't indexed by that property and one would hope that there'd be no

[google-appengine] 403 Forbidden when accessing an admin-only resource as an admin

2009-01-21 Thread theillustratedlife
I've got a Django app with some functions I'd like to keep people from running, so I've sandboxed them to admins using app: - url: /[a-zA-Z/_]*/admin/.* script: main.py login: admin - url: /.* script: main.py It's working too well - I'm an admin, and I can't access them! My friend is

[google-appengine] Re: 403 Forbidden when accessing an admin-only resource as an admin

2009-01-21 Thread Kajikawa Jeremy
would making one change of adding a . before the * in the following line help? - url: /[a-zA-Z/_].*/admin/.* just curious if . is needed before use of * in the yaml. Jeremy On Wed, 2009-01-21 at 16:53 -0800, theillustratedlife wrote: I've got a Django app with some functions I'd like to keep

[google-appengine] Re: 403 Forbidden when accessing an admin-only resource as an admin

2009-01-21 Thread Marzia Niccolai
Hi, If I read your email correctly, this is expected behavior. See this article for more details: http://code.google.com/appengine/articles/auth.html To summarize, the issue is that your app can only serve the authentication page that matches the type of authentication chosen when registering

[google-appengine] Re: can't deploy index.yaml

2009-01-21 Thread jones34
This is the whole thing: indexes: - kind: Note properties: - name: __searchable_text_index - name: create_date_time direction: desc # AUTOGENERATED # This index.yaml is automatically updated whenever the dev_appserver # detects that a new type of query is run.

[google-appengine] Re: can't deploy index.yaml

2009-01-21 Thread Alexander Kojevnikov
The indentation looks strange, do you use tabs? AFAIK tabs are not allowed in yaml. Try this: indexes: - kind: Note properties: - name: __searchable_text_index - name: create_date_time direction: desc On Jan 22, 1:34 pm, jones34 ljw1...@gmail.com wrote: This is the whole thing:

[google-appengine] Re: Newbie question - How to start?

2009-01-21 Thread kang
http://code.google.com/intl/en-US/appengine/docs/python/gettingstarted/ On Tue, Jan 20, 2009 at 7:38 PM, Mark wangzhuof...@gmail.com wrote: Hi, I'm newbie to web developement, with only some experience in software like dreamweaver and frontpage. Could anyone advise a learning syllbus for