[google-appengine] Re: Un-Gzip String?

2008-11-09 Thread Duncan
On Nov 9, 1:50 pm, jago [EMAIL PROTECTED] wrote: Is it possible to retrieve these blobs from the datastore and un-gzip these blobs into Strings inside the AppEngine? How do I do the un-gzipping? decoded = blob.decode('zlib') That will give you a byte string so you'll probably want to

[google-appengine] Re: URL help information removed?

2008-11-09 Thread Barry Hunter
Yes its been deprecated, http://code.google.com/appengine/kb/commontasks.html#naked_domain a search for 'naked domain' on this group should reveal the reasoning behind it. On Sun, Nov 9, 2008 at 7:03 AM, DocDay [EMAIL PROTECTED] wrote: Not so long ago, this article: Google Labs and

[google-appengine] Re: Question about Shell (Featured App)

2008-11-09 Thread Alex Popescu
On the same topic, I am wondering if anyone has tried to plug in/adapt the already existing InteractivePageHandler and InteractiveExecuteHandler as they don't really seem to need any session management at all. If anybody tried it and it didn't work out please let me know before I spend too much

[google-appengine] Logging Question

2008-11-09 Thread Maz
Hi, I've been trying to use Python's logging module in App Engine. Whenever I have the program log something, it doesn't show up in the App Engine Launcher (for Mac)'s log. Currently, the only way that I can log information is through raising an Exception(info to log). Thanks.

[google-appengine] Re: Un-Gzip String?

2008-11-09 Thread jago
Where can I find out more about Blob? gk.chart.data is a Blob which contains a GZIP compressed byte string. After decompression I convert it to unicode: url = unicode(gk.chart.data.decode('zlib'), utf-8) Here is AppEngines response: File C:\python25\lib\encodings\zlib_codec.py, line 43, in

[google-appengine] Re: Observing GAE Scalability (or trying to ...)

2008-11-09 Thread Jon Watte
On Nov 8, 11:03 am, Ross Ridge [EMAIL PROTECTED] wrote: For example, Sun claims that Project Darkstar will let you scale your massively multiplayer server infrastructure. Well, Google App Engine would be a terrible place to serve most massively multiplayer games.  I hope that's not what

[google-appengine] How to output html-source-code in my Website?

2008-11-09 Thread jago
I want to directly show the html code example in a certain area of my website. Does it need to be unescaped for that? Does django help? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post

[google-appengine] Re: Un-Gzip String?

2008-11-09 Thread jago
It seems 'zlib' only covers ZIP not GZIP ? --~--~-~--~~~---~--~~ 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 unsubscribe from this

[google-appengine] Auth Options

2008-11-09 Thread Dylan Lorimer
Hi GAE Team - So sadly I made a wrong choice when it comes to Google domain authentication, and I see that there is no way to switch it. I meant to enforce an apps-for-domain only authentication and instead chose the standard anyone with a google login can authenticate. Question: is it o the

[google-appengine] Re: Comparing entities

2008-11-09 Thread Calvin Spealman
It is often preferred that you use __eq__, __ne__, __lt__, etc. instead of __cmp__. If you are only defined equality, define __eq__ and (as usually applicable) __ne__. On Sun, Nov 9, 2008 at 4:49 PM, David Symonds [EMAIL PROTECTED] wrote: On Sun, Nov 9, 2008 at 3:36 PM, jmay [EMAIL PROTECTED]

[google-appengine] Re: deadline exceeded errors

2008-11-09 Thread Marzia Niccolai
Hi Joey, Our engineering team is currently looking in to these issues, we'll post more information to the downtime-notify group when it is available. -Marzia On Sun, Nov 9, 2008 at 9:30 AM, jhurstus [EMAIL PROTECTED] wrote: This morning my application has been receiving deadline exceeded

[google-appengine] Re: Write out Atom Feed XML

2008-11-09 Thread Alexander Kojevnikov
Can you post example code? Sure. Below is an xml template that generates the blog feed. updated_feed and updated_entry are custom filters that return the date in the right format. {% load filters %}{% autoescape off %}?xml version=1.0 encoding=utf-8? feed xmlns=http://www.w3.org/2005/Atom;

[google-appengine] Re: orderly iterate a dictionary in the template?

2008-11-09 Thread Kenchu
Got a question.. How come you cant do: {% for k,v in mylist %} rather than {% for i in mylist %} ? Doesnt work for me at least. On Oct 6, 2:38 am, Jon [EMAIL PROTECTED] wrote: Not sure if this is what you are looking for, but you could do the sorting yourself from within python as

[google-appengine] App engine on mac eclipse

2008-11-09 Thread ohayo
Hi, I am not sure if the app engine is available to developers any more. However I downloaded from google site - app engine sdk. i donot see any libraries to link to in eclipse. does the sdk come with the libraries. i am only able to see launcher. thanks for any help.

[google-appengine] Can't modify app since signing up to Google Apps for my domain

2008-11-09 Thread Matt Webb
I run at app at dirk.blogspot.com using this email address ([EMAIL PROTECTED]) which is a Google Account. But since signing up to Google Apps for the schulzeandwebb.com domain, using this same email address, I can no longer modify the app. I get this error: *** Running appfg.py with the

[google-appengine] www.*.appspot.com

2008-11-09 Thread MajorProgamming
I noticed that www.*.appspot.com (where * is the subdomain that you picked) doesn't work. Is there any reason for this? It would make sense to have both options for those of our users who don't know any better (and prefix all urls with www). by the way, blogspot does support www...

[google-appengine] Re: Django Forms - Can I set a key_name?

2008-11-09 Thread Bad Dog
Savraj, On Nov 8, 1:07 pm, Savraj [EMAIL PROTECTED] wrote: I have found a workaround -- but I would still like to know if this is possible. Can you explain what your workaround was? I'm also interested in setting the key_name when using djangoforms. -Bill On Nov 6, 11:58 am, Savraj [EMAIL

[google-appengine] Re: App engine on mac eclipse

2008-11-09 Thread Roberto Saccon
Create the symlinks (from the launcher menu), then things just work as expected (at least they did for me) regards Roberto On Nov 10, 12:12 am, ohayo [EMAIL PROTECTED] wrote: hi , thanks I search for *.py files no files were found. i also searched for djangoforms.py did I install incorrectly.

[google-appengine] GAE Camp

2008-11-09 Thread KJ
We are having GAE Camp on November 22th, starting from 1pm, in Google Office Shanghai. If you're a web developer. If you're full of ideas. If you feel good to new things. You're welcome. This time we're going to give up time-killing talk. It would be a great activies for geeks to communicate.

[google-appengine] Re: quotas in appengine

2008-11-09 Thread Greg
It would be nice to get an assurance that paid accounts will cure quotas, when they arrive. Cheers! Greg. --~--~-~--~~~---~--~~ 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: GAE Camp

2008-11-09 Thread KJ
Sorry, sign up at HTTP://GAECamp.DJANGOCN.COM/ On Nov 10, 11:51 am, KJ [EMAIL PROTECTED] wrote: We are having GAE Camp on November 22th, starting from 1pm, in Google Office Shanghai. If you're a web developer. If you're full of ideas. If you feel good to new things. You're welcome. This

[google-appengine] localization recipe

2008-11-09 Thread Rodrigo Moraes
hey. anyone has a recipe to implement localization in webapp? i created gettext files using django-admin.py makemessages / compilemessages. now i was looking at django utils/translation but the infrastructure to display locale strings seems too specific and with tons of dependencies, and I am

[google-appengine] ImportError: No module named foo.bar

2008-11-09 Thread Rodrigo Moraes
sometimes i get a ImportError: No module named foo.bar, although the module is there. then i restart the server and the module is loaded normally (the error goes away). does this occur with you? is there a way to avoid this? -- rodrigo --~--~-~--~~~---~--~~ You

[google-appengine] Re: Write out Atom Feed XML

2008-11-09 Thread jago
Thanks! On Nov 10, 1:51 am, Alexander Kojevnikov [EMAIL PROTECTED] wrote: Can you post example code? Sure. Below is an xml template that generates the blog feed. updated_feed and updated_entry are custom filters that return the date in the right format. {% load filters %}{% autoescape

[google-appengine] Re: Logging Question

2008-11-09 Thread Greg
Were you using logging.debug() ? Debug logging is off by default, so you need to use logging.info() or logging.error() for it to show up in the logs. Cheers! Greg. On Nov 9, 4:17 am, Maz [EMAIL PROTECTED] wrote: Hi, I've been trying to use Python's logging module in App Engine. Whenever I

[google-appengine] Re: Auto increment with datastore

2008-11-09 Thread djidjadji
There is no such feature, but you can create one yourself. Have a look at http://sites.google.com/site/io/building-scalable-web-applications-with-google-app-engine and the subject about distributed counters 2008/11/10 syahreza.octadian [EMAIL PROTECTED]: Dear all, I'm new with google app

[google-appengine] Re: Observing GAE Scalability (or trying to ...)

2008-11-09 Thread Ross Ridge
Andy Freeman wrote: Guido mentioned at Stanford that some Google developers are starting to use GAE for various things, so largely based could eventually be true (for some services), but is it true now? My understanding is that Google started moving all the projects from SQL-based solutions

[google-appengine] deadline exceeded errors

2008-11-09 Thread jhurstus
This morning my application has been receiving deadline exceeded errors for many requests, including some that usually take very little time to process. My code has not been updated recently, so I suspect this is an environmental issue. Also, the app engine dashboard is currently down

[google-appengine] Re: Observing GAE Scalability (or trying to ...)

2008-11-09 Thread Ross Ridge
Jon Watte wrote: Clearly not. That was just an example of where claims of scalability by a vendor, and actual scalability, as observed, differ, because it appears that some messages in this thread imply that we take the scalability of GAE for granted, rather than measure it ourselves. I

[google-appengine] SMS verification: Digicel (St. Kitts Nevis) not supported

2008-11-09 Thread denis bider
Hello, I tried to sign up to Google App Engine, but the SMS verification step is failing apparently because my provider is not supported. The list of supported providers does include Digicel in Barbados, but does not include Digicel in St. Kitts Nevis. It would be great if support for this

[google-appengine] Comparing entities

2008-11-09 Thread jmay
It appears that entities cannot be compared directly: e1 = MyEntity.get('longkeystringhere') e2 = MyEntity.get('samekeystringhere') e1 == e2 will return False even if identical keys are provided. But 'e1.key() == e2.key()' returns True. So to compare entities you must compare the keys. I

[google-appengine] Re: App engine on mac eclipse

2008-11-09 Thread Rodrigo Moraes
On Sun, Nov 9, 2008 at 10:08 PM, ohayo wrote: I am not sure if the app engine is available to developers any more. However I downloaded from google site - app engine sdk. i donot see any libraries to link to in eclipse. does the sdk come with the libraries. i am only able to see launcher. i

[google-appengine] Re: orderly iterate a dictionary in the template?

2008-11-09 Thread Alexander Kojevnikov
Got a question.. How come you cant do:     {% for k,v in mylist %} rather than     {% for i in mylist %} ? {% for x, y in mylist %} was added in Django 1.0 but GAE has Django 0.96 built-in. --~--~-~--~~~---~--~~ You received this message because you are

[google-appengine] Re: Are the email address and password saved during upload

2008-11-09 Thread David Symonds
On Mon, Nov 10, 2008 at 1:27 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: and if so where and how ? ~/.appcfg_cookies stores the authentication cookie; the username and password aren't stored. Dave. --~--~-~--~~~---~--~~ You received this message because

[google-appengine] get_by_id for subclasses

2008-11-09 Thread Craig
I have a simple inheritance hierarchy of classes of objects that I have stored in my datastore. I wish to fetch these objects from the datastore using get_by_id(), and this works fine if I know the exact class of the object that I am about to fetch. However, I would like to be able to fetch using

[google-appengine] Re: Comparing entities

2008-11-09 Thread David Symonds
On Sun, Nov 9, 2008 at 3:36 PM, jmay [EMAIL PROTECTED] wrote: It appears that entities cannot be compared directly: e1 = MyEntity.get('longkeystringhere') e2 = MyEntity.get('samekeystringhere') e1 == e2 will return False even if identical keys are provided. But 'e1.key() == e2.key()'

[google-appengine] Re: App engine on mac eclipse

2008-11-09 Thread ohayo
hi , thanks I search for *.py files no files were found. i also searched for djangoforms.py did I install incorrectly. On Nov 9, 9:05 pm, Rodrigo Moraes [EMAIL PROTECTED] wrote: On Sun, Nov 9, 2008 at 10:08 PM, ohayo wrote: I am not sure if the app engine is available to developers any

[google-appengine] Re: Observing GAE Scalability (or trying to ...)

2008-11-09 Thread Andy Freeman
On Nov 9, 12:25 pm, Ross Ridge [EMAIL PROTECTED] wrote: I doubt they exist.  I think their faith in GAE's ability to scale originally came from the fact that it's largely based on the same technology that has allowed Google Search and other Google services to scale. Guido mentioned at

[google-appengine] Re: App engine on mac eclipse

2008-11-09 Thread ohayo
hi thanks, i think i am getting closer. i created symlinks thru menu - after that i tried to do the same search for the py and appengine dir, but could not find any, thanks On Nov 9, 9:22 pm, Roberto Saccon [EMAIL PROTECTED] wrote: Create the symlinks (from the launcher menu), then things

[google-appengine] Auto increment with datastore

2008-11-09 Thread syahreza.octadian
Dear all, I'm new with google app engine, now i'm try to build simple task management with this. But i have some of problem with datastore, i don't have any idea to create auto increment in data store. Thank for any suggestion Syahreza Octadian