[google-appengine] Re: Use GAE APIs outside of dev_appserver?

2009-02-06 Thread Geoffrey Spear
On Feb 5, 5:44 pm, Alexander Kojevnikov alexan...@kojevnikov.com wrote: remote_api [1] allows (or will allow soon [2]) to use your production APIs from a local Python script. I'd go with the latter; the production environment doesn't seem to have everything installed yet, and including the

[google-appengine] simplejson reordering data, lists, arrays??????

2009-02-06 Thread Dave
Greetings, Hopefully this is something dumb I'm doing but simplejson is reording my lists/arrays. Has anyone seen this? Know how to fix? The scenario is I am placing tags and GLatLngs into db.ListProperties. However I've noticed that when written into the table the list is no longer in proper

[google-appengine] Re: Bug in starting app

2009-02-06 Thread zhaoz...@hikerlink.org
I tried the appid k2media and ran into the same problem. On Dec 23 2008, 6:24 am, Marzia Niccolai ma...@google.com wrote: The app id is validated as available in the 'Check Availability' function, but it is not actually available.  If you are getting that message when clicking the 'Create

[google-appengine] Adding an application to a Google Apps domain

2009-02-06 Thread Nuno Maltez
Hi, We're developing a google app engine application and we'd like to provide a way for the users to easily install the application to their Google Apps domain (and to the user's own application ID on App Engine). Something like the Add it now button on the Google Code Reviews product available

[google-appengine] what is the max length of get and post headers?

2009-02-06 Thread higherone
if my data is a little long,i.e url =http://favmng.appspot.com/getfav? mydata=aaaf, I can't get the whole mydata value using self.request.get('mydata'). Is there any way to release or change this header length bigger?

[google-appengine] Remove surrounding quotation marks

2009-02-06 Thread Jim Culver
I am attempting to write a JSONP application and think that it is not working because the JSON my code is returning has surrounding quotation marks. For example when I call the webapp using http://rest-client.googlecode.com/ it returns the following callbackfunctionname({'Last': 'Doe', 'First':

[google-appengine] Remove surrounding quotation marks

2009-02-06 Thread Jim Culver
I am attempting to write a JSONP application and think that it is not working because the JSON my code is returning has surrounding quotation marks. For example when I call the webapp using http://rest-client.googlecode.com/ it returns the following callbackfunctionname({'Last': 'Doe', 'First':

[google-appengine] New App Engine Performance Problems?

2009-02-06 Thread Devel63
Over the past 2 days, my app has been experiencing terrible performance fluctuations, even timing out on several occasions for a site which has no traffic except for me typing into a browser (for a page which typically takes 80ms). I saw this again this morning (2/5) around 8am PST. In these

[google-appengine] Re: App engine problems

2009-02-06 Thread johnP
I noticed this with my app yesterday in the afternoon - a bevy of deadline exceeded errors, and an increase in zipimport events in my logfile (using appengine patch). Later, it got better... johnP On Feb 6, 7:31 am, conman constantin.christm...@googlemail.com wrote: Hello, recently I am

[google-appengine] Re: Adding an application to a Google Apps domain

2009-02-06 Thread Marzia Niccolai
Hi Nuno, Currently this is only available for those applications you see listed on this page. However, in the future, we hope that we can make it more widely available. -Marzia On Fri, Feb 6, 2009 at 3:59 AM, Nuno Maltez nuno.li...@gmail.com wrote: Hi, We're developing a google app engine

[google-appengine] Re: App engine problems

2009-02-06 Thread Devel63
I saw the same thing yesterday late morning, it was great last night, and again bad this morning. Among other things, a page which normally takes 70ms times out.Interestingly, I see that the while the time was 9s, the ms-cpu was 1s ... which seems weird to me. Usually, I see actual time

[google-appengine] Re: New App Engine Performance Problems?

2009-02-06 Thread Marzia Niccolai
Hi, Yesterday, there was higher than usual latency in the system, but it was determined to be within 'normal' bounds: http://code.google.com/status/appengine/detail/serving/2009/02/05#ae-trust-detail-helloworld-get-latency This does not mean that a specific application will not experience

[google-appengine] Re: App engine problems

2009-02-06 Thread Marzia Niccolai
Hi, There have been periods this morning with higher than average serving latency, but so far this is all we have seen: http://code.google.com/status/appengine/detail/serving/2009/02/06#ae-trust-detail-helloworld-get-latency -Marzia On Fri, Feb 6, 2009 at 9:11 AM, Devel63 danstic...@gmail.com

[google-appengine] Re: New App Engine Performance Problems?

2009-02-06 Thread Devel63
I appreciate the fast reply, but we are seeing similar outages this morning as well. And not just outages. Even serving static files appear to be very slow. Of course, there's a lot of variability in all this, too, making diagnosis difficult. On Feb 6, 9:14 am, Marzia Niccolai

[google-appengine] Transcript: App Engine chat time Feb 4

2009-02-06 Thread Marzia Niccolai
[7:00pm] nor3: marzia_google, dan_google: are you guys going to drop any info about the next release at this thing? [7:00pm] jeverling: wouldn't something like this would be a good task for the remote_api? [7:01pm] jeverling: 200_000 entities? [7:01pm] nurey: remote_api? [7:01pm] jeverling: any

[google-appengine] Re: App engine problems

2009-02-06 Thread johnP
Actually, I don't have any customers yet (using the app) - but that's just a quibble. :) On Feb 6, 9:27 am, johnP j...@thinkwave.com wrote: periods this morning with higher than average serving latency are displayed to our customers on a big white screen that says SERVER ERROR in a big bold

[google-appengine] Re: GAE as a non-exclusive platform

2009-02-06 Thread Andy Freeman
Licensing out which GAE environment? The datastore isn't that big a deal - folks have already built a compatible interface with a MySql backend. The API has lots of other pieces, but their either open-source (memcache), can be used as is (PIL), or not that big a deal (users, except for the

[google-appengine] Re: simplejson reordering data, lists, arrays??????

2009-02-06 Thread Andy Freeman
Javascript {} is a map/hash table, not a list. It doesn't have an order. If you want the tag, tagname tuples in tag order, you have to put them in tag order yourself. Try for tag, tagname in sorted(tags.itertems()): Note that sorted(tags.iteritems()) sorts the keys in string order, not

[google-appengine] Re: simplejson reordering data, lists, arrays??????

2009-02-06 Thread Dave
Andy, You are my hero! I can't thank you enough. Hopefully this helps someone else down the path. Again, many thanks! Dave On Feb 6, 12:50 pm, Andy Freeman ana...@earthlink.net wrote: Javascript {} is a map/hash table, not a list.  It doesn't have an order. If you want the tag, tagname

[google-appengine] Re: App engine problems

2009-02-06 Thread conman
Hi Marzia, There have been periods this morning with higher than average serving latency, but so far this is all we have seen: I am pretty sure there was something wrong. I am sitting in Europe, maybe that's the reason... But I tested my site multiple times with http://www.hyperspin.com/

[google-appengine] Re: How to keep datastore consistency?

2009-02-06 Thread Larry
Anyone? Is this a flaw in AppEngine? Do you need more information - just ask if that's the case? Larry wrote: Hi! I've hit a small dilemma! I have a handler called vote, when it is invoked it sets a user's vote to whatever they have picked. To remember what options they previously picked, I

[google-appengine] Detect HTTPS so we can charge?

2009-02-06 Thread Nash-t
It is great that App Engine allows Https connections and from my limited experience it seems to work really well. Since we have such a small quota for https connections, I would like to be able to restrict those connections to certain users. Is there a way we can detect in our code if a user is

[google-appengine] Why Google App Engine is not listed in My account panel of google .

2009-02-06 Thread ramu
https://www.google.com/accounts/ManageAccount All the google services I am using are listed here accept this one, including those in labs. Just for the notice of App Engine Developers. --~--~-~--~~~---~--~~ You received this message because you are subscribed

[google-appengine] single quote in user supplied text field shuts down my app

2009-02-06 Thread thebrianschott
http://code.google.com/p/googleappengine/issues/detail?id=1044 I have reported this as an issue at the link above. I have tried to put escape() around the input, but I still get the failure. The input field is in a GMaps infowindow. Is there a workaround or am I just creating the field

[google-appengine] How to get the server running

2009-02-06 Thread andre...@strombacks.se
How do you get the server running? I'm trying to do the Hello world applicaton described in the Getting started guide and when I'm trying to start the webserver with the command: google_appengine/ dev_appserver.py helloworld/, I only get an error message saying Invalid syntax.

[google-appengine] Table joining issue

2009-02-06 Thread Eddeh!
Hi, I'm having trouble implementing a certain table design in GAE. Consider the following Model: class Group(db.Model): name = db.StringProperty() description = db.TextProperty() password = db.StringProperty() creator = db.ReferenceProperty(User) created

[google-appengine] Re: Table joining issue

2009-02-06 Thread Robin B
To efficiently perform a join in 2 steps, do a db.Query(), then use a batch db.get(): http://code.google.com/appengine/docs/python/datastore/functions.html Robin On Feb 6, 2:07 pm, Eddeh! edval...@gmail.com wrote: Hi, I'm having trouble implementing a certain table design in GAE. Consider

[google-appengine] Re: How to get the server running

2009-02-06 Thread Mark Hachey
What version of python are you running? If 3.0, it might be a problem with some commands being obsolete. On Fri, Feb 6, 2009 at 2:16 PM, andre...@strombacks.se andre...@strombacks.se wrote: How do you get the server running? I'm trying to do the Hello world applicaton described in the

[google-appengine] Re: App engine problems

2009-02-06 Thread Geoffrey Spear
On Feb 6, 12:27 pm, johnP j...@thinkwave.com wrote: periods this morning with higher than average serving latency are displayed to our customers on a big white screen that says SERVER ERROR in a big bold font.  Just FYI. So design your app to not do that?

[google-appengine] Re: what is the max length of get and post headers?

2009-02-06 Thread Geoffrey Spear
On Feb 6, 3:22 am, higherone higher...@gmail.com wrote: if my data is a little long,i.e url =http://favmng.appspot.com/getfav? mydata=aaaf, I can't get the whole mydata value using self.request.get('mydata'). Is there any way to release or change this header

[google-appengine] SearchableModel problems

2009-02-06 Thread Ilia Lobsanov
I have entities (model name is Contract) in the datastore created using search.SearchableEntity. This is how I'm searching these entities: query = Contract.all().search(keyword) query.order(-contract_date).fetch(10) When the keyword variable is one word, no exception is raised. If I use

[google-appengine] Re: App engine problems

2009-02-06 Thread johnP
Yes - a spiffy, cheerful, and optimistic 500 message will be in-place for launch. On Feb 6, 3:14 pm, Geoffrey Spear geoffsp...@gmail.com wrote: On Feb 6, 12:27 pm, johnP j...@thinkwave.com wrote: periods this morning with higher than average serving latency are displayed to our customers

[google-appengine] Re: how to submit form from static index.html

2009-02-06 Thread Alexander Kojevnikov
On Feb 6, 7:58 pm, rakf1 kris...@gmail.com wrote: Is there a way to just send mail and not redirect the page? I'm trying to send mail using a ajax popup window, so I want to submit and write a message in a div, and dont want the page to reload/ redirect. You can write a handler that sends

[google-appengine] Re: Detect HTTPS so we can charge?

2009-02-06 Thread Alexander Kojevnikov
On Feb 7, 6:56 am, Nash-t timna...@gmail.com wrote: It is great that App Engine allows Https connections and from my limited experience it seems to work really well. Since we have such a small quota for https connections, I would like to be able to restrict those connections to certain users.

[google-appengine] Django 500's and Error Reporting

2009-02-06 Thread Devel63
We just switched our project to using the Django 0.96 framework, and almost whenever we have a bug, the server just silently dies with a 500. Very occasionally, it give us an error report in the browser. Under webapp, we'd always get a nice report of the problem that made it easy to diagnose

[google-appengine] Re: Django 500's and Error Reporting

2009-02-06 Thread David Symonds
On Sat, Feb 7, 2009 at 2:31 PM, Devel63 danstic...@gmail.com wrote: In the Django settings.py, we do have this set DEBUG = True TEMPLATE_DEBUG = DEBUG Any thoughts or help? See this: http://code.google.com/appengine/docs/python/tools/webapp/overview.html You pass debug=True to the

[google-appengine] Using Portuguese Language for inputs

2009-02-06 Thread moises.soa...@gmail.com
Hi, this is a very begginer question. I use this code to render de template: path = os.path.join(os.path.dirname(__file__), 'contacto.html') self.response.headers[Content-Type] = text/html; charset=iso-8859-1 self.response.out.write(template.render(path, {})) I have one

[google-appengine] Google ( App Engine + Web Toolkit )

2009-02-06 Thread Omer Shakil
Hi Guys, I wanted to know what are the prospects of using Google App Engine with the Web Toolkit. I did some searches and read up on the documentation, it seems that the only way is to do JSON data transmission layer in the middle. I am no expert, just wanted to play with these two technologies,

[google-appengine] Re: Google ( App Engine + Web Toolkit )

2009-02-06 Thread Omer Shakil
Thanks Shawn. Okay, Django will help me convert python objects to JSON, and at the GWT end, you can use a standard JSON Parser, but besides that, all of the rest you will never ever use, correct? Nothing wrong with that, but was just curious, all this Django capabilities are of no use to you all

[google-appengine] does GAE have pycrypto?

2009-02-06 Thread Anthony
Hi, At the end of the OpenSocial gifts tutorial: http://code.google.com/apis/opensocial/articles/appengine-0.8.html pycrypto is invoked on GAE to authenticate a signed request. But when I try to do this myself, GAE can't find the pycrypto modules! Am I doing something wrong? type

[google-appengine] Re: does GAE have pycrypto?

2009-02-06 Thread 陈浩
The module you import is not python standard library. Maybe you can find it in that sample folder or download it. On 2/7/09, Anthony acca...@gmail.com wrote: Hi, At the end of the OpenSocial gifts tutorial: http://code.google.com/apis/opensocial/articles/appengine-0.8.html pycrypto

[google-appengine] Re: Using Portuguese Language for inputs

2009-02-06 Thread niklasr
On Feb 7, 4:06 am, moises.soa...@gmail.com moises.soa...@gmail.com wrote: Hi, this is a very begginer question. I use this code to render de template:         path = os.path.join(os.path.dirname(__file__), 'contacto.html')         self.response.headers[Content-Type] = text/html;

[google-appengine] gae-rest rss atom

2009-02-06 Thread niklasr
How do we set attributes to undisplayed / hidden / private with gae- rest? My rss feed seems shows too many attributes. The question is how to set isPrivate boolean attribute for hidden content such as email addresses. GAE-REST http://github.com/fczuardi/gae-rest/tree/master Thank you Niklas

[google-appengine] Re: Django 500's and Error Reporting

2009-02-06 Thread Devel63
Gosh, I wish it were that simple. In fact, that's the heart of the problem. When you switch to Django, you don't make that call anymore, and instead call application = django.core.handlers.wsgi.WSGIHandler (). It doesn't accept the debug=True argument, but does have the environment variable