[google-appengine] Re: Please provide interactive sql-like queries, even inefficient ones

2008-10-06 Thread Amir Michail
On Oct 6, 11:38 pm, Jon McAlister <[EMAIL PROTECTED]> wrote: > Agreed that the current computational model is inconvenient, > especially for the case of a single admin doing datastore maintenance. > We are working on some solutions for this, but we have to come up with > something that isolates di

[google-appengine] Re: Why Google App Engine is broken and what Google must do to fix it.

2008-10-06 Thread Aral Balkan
Hi Nash, Thank-you for the comprehensive list and for going into further depth on some of the points that I simply glossed over (I'm looking forward to seeing your blog post - please let us know when it's up). Number 8 on your list, "No HTTPS", is actually a core issue that I forgot to mention i

[google-appengine] Re: SDK 1.1.5 Released

2008-10-06 Thread Nash
Great work Google! Keep em comin'! On Oct 4, 6:26 am, Marce <[EMAIL PROTECTED]> wrote: > Today is the release of the 1.1.5 SDK, which, as always, is available > for download on our Google hosting > project:http://code.google.com/p/googleappengine/downloads/list. > > The release notes (http://cod

[google-appengine] Re: Please provide interactive sql-like queries, even inefficient ones

2008-10-06 Thread Jon McAlister
Agreed that the current computational model is inconvenient, especially for the case of a single admin doing datastore maintenance. We are working on some solutions for this, but we have to come up with something that isolates different apps from eachother, as this is a shared computing platform,

[google-appengine] Re: Why Google App Engine is broken and what Google must do to fix it.

2008-10-06 Thread Ross Ridge
[EMAIL PROTECTED] wrote: > One thing you have to remember it is not what Guido or the engineers > want. If Google App Engine is to succeed it is what the customers > want. If it is designed as you have stated it will never recoup what > Google has spent so far let alone down the road. Google App E

[google-appengine] Idle and appengine, in Linux

2008-10-06 Thread v4vijayakumar
Following code (1) is to setup idle to try some simple appengine related stuffs. It was working fine in windows, but not in Linux. I am getting "BadArgumentError: _app must not be empty.", during model.put. please check (2). Please let me know if anything is wrong. First I doubted "datastore_v3",

[google-appengine] blog dedicated to App Engine

2008-10-06 Thread Angel
Shameless plug: htttp://appmecha.wordpress.com A blog I have started to get down my experiences with GAE with a particular goal in mind: using GAE to publish scientific data sets, such as those provided by many bioinformatics groups around the world. I'll be cross posting anything useful to the

[google-appengine] Re: Please include CPU quotas & better db support in your simulation

2008-10-06 Thread Josh Heitzman
What would be really nice is if there was an API that could be called to determine how close you were to the CPU quota so you could stop processing, persist the current state, and return a "Server busy, please try again." type of page to the user that has a link to a URL that would pickup were the

[google-appengine] Re: Trouble while looking for methods

2008-10-06 Thread Alexander Kojevnikov
> i was looking for the methods of the ListProperty type... didn't find > does anybody know where could i find the documentation > and a list of all methods/functions of all classes/modules in gae? Python shell is your friend: In http://shell.appspot.com/ >>> from google.appengine.ext import db

[google-appengine] Re: Stuck indexes and 500 Server Error

2008-10-06 Thread jaturner
Thanks for the quick reply. I didn't realize the index building was a manual process. On Oct 6, 1:30 pm, "Marzia Niccolai" <[EMAIL PROTECTED]> wrote: > Hi, > > It seems that the index for this app is now serving.  Since index building > is an offline process, it sometimes will take some time befo

[google-appengine] Re: Please provide interactive sql-like queries, even inefficient ones

2008-10-06 Thread Marzia Niccolai
If this is something you are interested in, please star the relevant issues in the issue tracker: http://code.google.com/p/googleappengine/issues/list -Marzia On Mon, Oct 6, 2008 at 11:13 AM, Amir Michail <[EMAIL PROTECTED]> wrote: > > On Oct 6, 2:02 pm, "Marzia Niccolai" <[EMAIL PROTECTED]> wro

[google-appengine] Datastore Bulkloader Freaking Out: Creating Multiple Entities

2008-10-06 Thread [EMAIL PROTECTED]
More unannounced changes? Seems that the bulk uploader is creating 0 1 2 3 4+ entities at a time What is up with that? Have been using the same loader and type of data for weeks with no issues until today??? --~--~-~--~~~---~--~~ You received this message b

[google-appengine] Eclipse auto-completion for response/request objects...

2008-10-06 Thread Drew
After looking through this group I found this wonderful guide for setting up Eclipse to work with GAE/Python using Pydev: http://code.google.com/appengine/articles/eclipse.html However, after following the instructions and adding the indicated external source folders I'm still not getting auto-c

[google-appengine] Using zipped Django-1.0 and its i18n capability (LocaleMiddleWare) with django-helper

2008-10-06 Thread Takashi Matsuo
Hi list, I'd like to share how to use zipped Django-1.0 and its LocaleMiddleWare with django-helper, with you. I tested it only on my Debian/sid box. First of all, untar Django archive and go into Django-1.0 directory. $ tar zxvf Django-1.0.tar.gz $ cd Django-1.0 Then, remove django/contrib/gis

[google-appengine] Re: GAE Obfuscator?

2008-10-06 Thread Davide Rognoni
A good obfuscator do not make a code more slow or bugged (see JavaScript obfuscators) See "Software patent debate" http://en.wikipedia.org/wiki/Software_patent_debate What is the big innovation of Google? On Oct 6, 2:11 pm, "Jorge Vargas" <[EMAIL PROTECTED]> wrote: > Which are stupid, make thi

[google-appengine] gql - query in list

2008-10-06 Thread Gilbert
If I'm not mistaken, doing a Gql query WHERE attribute in list returns all the rows of the table if list is empty ? Fairly strange behaviour --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" grou

[google-appengine] Bulk upload of key+value pairs

2008-10-06 Thread Bill Chadwick
Hi, I'm doing yet another terrain data look up service. This time for the UK with lookup by eastings and northings in metres on a 50m grid, rather than lat+lng. Its a big data set about 800K records and 200Mb. A few observations: 1) I tried the bulk uploader but soon gave up - much easier to do

[google-appengine] Re: Chat facility for GAP application

2008-10-06 Thread Maxim Gavrilov
Thank you for attention! No, it seems not a problem since it isn't much message traffic and "timestamp > last_timestamp" are result in only zero-one-two rows. Today I've gone away from GAE, because found in documentation limit in 650.000 requests per day(it's only ~7.5 person whole day online), wh

[google-appengine] Getting The __searchable_text_index Property

2008-10-06 Thread [EMAIL PROTECTED]
Hi! With SearchableModels is it possible to find out what the value of the keywords associated with that object is? I believe these keywords are stored in the property __searchable_text_index, but I can't access that as when I do I get the following error: Traceback (most recent call last): Fi

[google-appengine] Re: No module named os

2008-10-06 Thread Josh Heitzman
Can't speak for Mac or this specific SDK, but on Windows when I upgraded to an earlier SDK release, I couldn't get my app working again on the new release until I re-imaged my hard disk to GAE SDK free image. This was after having uninstalled the older SDK before installing the new one. The prob

[google-appengine] Re: Any Site in Production Use ?

2008-10-06 Thread Bill
> def test(): >   for i in range(1, 1000): >     ferisrecord = Feris(pengarang = "Feris Thia" + str(i), content="Great > app" + str(i)) >     ferisrecord.put() Try batching your puts. Right now you are doing serial put() on 1000 instances. I'd try batching those puts and see how much faster gro

[google-appengine] Re: www [mydomain.org] Already used, please remove previous mapping first.

2008-10-06 Thread Brade
Sylvain, I have created an issue. #768: http://code.google.com/p/googleappengine/issues/detail?id=768&q=www%20subdomain&colspec=ID%20Type%20Status%20Priority%20Stars%20Owner%20Summary%20Log If anyone else wants to star it, feel free. Hopefully this issue can be resolved in short order, it's prett

[google-appengine] Re: Please provide interactive sql-like queries, even inefficient ones

2008-10-06 Thread Amir Michail
On Oct 6, 2:02 pm, "Marzia Niccolai" <[EMAIL PROTECTED]> wrote: > In general, GQL doesn't provide those operations, as it only support > querying currently. > > However, through the dataviewer's UI it is possible to update, add, and > delete data of a specific entity kind. > > In terms of updating

[google-appengine] Re: Error when submitting an app for publication in the App Gallery

2008-10-06 Thread Downtown
I tried to submit my application again and I see the same error message. On Oct 4, 1:08 am, Downtown <[EMAIL PROTECTED]> wrote: > Hi, > > I am receiving the following error message when I attempt to submit an > application for the App Gallery: > > Traceback (most recent call last): >   File "/bas

[google-appengine] Re: Please provide interactive sql-like queries, even inefficient ones

2008-10-06 Thread Marzia Niccolai
In general, GQL doesn't provide those operations, as it only support querying currently. However, through the dataviewer's UI it is possible to update, add, and delete data of a specific entity kind. In terms of updating model properties, the dataviewer does not support such operations since the

[google-appengine] Re: Please provide interactive sql-like queries, even inefficient ones

2008-10-06 Thread Amir Michail
On Oct 6, 1:40 pm, "Marzia Niccolai" <[EMAIL PROTECTED]> wrote: > Hi Amir, > > Have you used the GQL query interface in the admin console > (http://appengine.google.com/datastore/explorer?&app_id=YOURAPPID)? Did you > have something else in mind? > > -Marzia It looks rather limited. What about

[google-appengine] Re: Who would post a detailed app with testcases powered by gaeunit?

2008-10-06 Thread Issac Trotts
Possibly not. I'll take another look when I get home. On Sun, Oct 5, 2008 at 11:11 AM, Steven R. Farley <[EMAIL PROTECTED]>wrote: > > Hmmm.. I used the graphical App Engine launcher on Mac OS X to develop > and run the sample application. Did you have a 'test' directory > present when you got t

[google-appengine] Re: Timeout : how to get rid of timeouts ?

2008-10-06 Thread Venkatesh Rangarajan
Jeff, I am fetching 100 records on one go. The funny thing is, the query works 20% of the time and fails 80% of the time. no consistency and as the volume of data increase, it fails even more :( I have 2 million records to upload and have stopped at 700K because of scaling / time-out issues. Th

[google-appengine] Re: Please provide interactive sql-like queries, even inefficient ones

2008-10-06 Thread Marzia Niccolai
Hi Amir, Have you used the GQL query interface in the admin console ( http://appengine.google.com/datastore/explorer?&app_id=YOURAPPID)? Did you have something else in mind? -Marzia On Mon, Oct 6, 2008 at 10:21 AM, Amir Michail <[EMAIL PROTECTED]> wrote: > > Hi, > > This would help quite a lot

[google-appengine] Re: Why Google App Engine is broken and what Google must do to fix it.

2008-10-06 Thread Wooble
On Oct 6, 11:20 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > In the end Google is a publicly owned corporation and not a University > and ultimately Google must answer to its customers and stockholders. > The goal is to increase shareholder value through offering products > and services

[google-appengine] Re: Datastore Bulkloader Freaking Out: Creating Multiple Entities

2008-10-06 Thread Marzia Niccolai
Hi, The last change to the bulkload_client was on May 30 ( http://code.google.com/p/googleappengine/source/browse/trunk/google/appengine/tools/bulkload_client.py). If you elaborate more on how you are using the client and the specific symptoms of your issue, I'd be happy to help. Thanks, Marzia

[google-appengine] Re: Stuck indexes and 500 Server Error

2008-10-06 Thread Marzia Niccolai
Hi, It seems that the index for this app is now serving. Since index building is an offline process, it sometimes will take some time before completing. -Marzia On Sun, Oct 5, 2008 at 6:12 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote: > > I recently uploaded my test application (simple-tas

[google-appengine] Re: Getting UNIX Timestamps out of DateTime fields in the db?

2008-10-06 Thread Jeff S
Hi tom, To go from a datetime object to a float representing the epoch seconds, you can do: x = datetime.datetime.utcnow() time.mktime(x.timetuple()) Does this sound like what you are looking for? Happy coding, Jeff On Oct 5, 2:57 pm, tom <[EMAIL PROTECTED]> wrote: > Hey, > > I'm working on

[google-appengine] Re: www [mydomain.org] Already used, please remove previous mapping first.

2008-10-06 Thread Marzia Niccolai
Hi, The issue here is that, by default, Google Apps has assigned www to sites, and you have to disable this before mapping www to an App Engine app. Unfortunately, it's not very clear on how to do this in the Google Apps admin panel. To get www to work with your app, enable sites, if it isn't al

[google-appengine] Please provide interactive sql-like queries, even inefficient ones

2008-10-06 Thread Amir Michail
Hi, This would help quite a lot with database maintenance. I don't think inefficient queries are such a big deal if they are not part of the app and are used rarely. Amir --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

[google-appengine] Re: Chat facility for GAP application

2008-10-06 Thread Marzia Niccolai
Hi, Are you setting a limit when fetching the query, or just using the iterator? Setting a limit may help this issue if you are not already doing this. -Marzia On Mon, Oct 6, 2008 at 2:42 AM, Maxim Gavrilov <[EMAIL PROTECTED]>wrote: > > Hi, > > I'm trying to implement chat application with Act

[google-appengine] Re: What changes were recently made to request.charset?

2008-10-06 Thread Alex Epshteyn
I'm not sure what has changed, but I just fixed my issue by using msg.encode("utf8") before passing msg to hmacSha1. It was working without this step in the past. Alex On Mon, Oct 6, 2008 at 5:41 AM, Sylvain <[EMAIL PROTECTED]> wrote: > > I've seen many issues with charset (Unicode) like this o

[google-appengine] Please include CPU quotas & better db support in your simulation

2008-10-06 Thread Amir Michail
Hi, Running into hours of downtime because of several requests taking too much CPU makes development almost impossible. If you really want to keep this "penalty" in place for high CPU usage, then please at least simulate it so people can do development locally. Moreover, please provide an effic

[google-appengine] Re: Since 1.1.5 import cgi/urllib/traceback/etc fails (on MacOS)

2008-10-06 Thread Marzia Niccolai
Hi, What is the Python Path that you have in your launcher? Thanks, Marzia On Sun, Oct 5, 2008 at 2:17 PM, Gijsbert <[EMAIL PROTECTED]> wrote: > > Hi, > > Since upgrading to GAE 1.1.5 my app stopped working, dev_appserver.py > can't import cgi, urllib, traceback, etc: > > : No module named cgi

[google-appengine] Re: Problems with Logs menu

2008-10-06 Thread Marzia Niccolai
Hi Scott, If you reply to me directly with the app id experiencing this issue, I would be happy to look in to it further. Thanks, Marzia On Sun, Oct 5, 2008 at 6:57 PM, scottxu <[EMAIL PROTECTED]> wrote: > > I just have problems with the Logs menu in administration console. In > Logs, there is

[google-appengine] Re: SDK 1.1.5 Released

2008-10-06 Thread Marzia Niccolai
Thanks! It's too late for this post, but I've updated the blog with the correct links :) -Marzia On Sun, Oct 5, 2008 at 3:57 AM, Davide Rognoni <[EMAIL PROTECTED]>wrote: > > This is right > > http://code.google.com/appengine/docs/memcache/clientclass.html#Client_add_multi > > Not right > http:/

[google-appengine] Re: Why Google App Engine is broken and what Google must do to fix it.

2008-10-06 Thread Jorge Vargas
On Sun, Oct 5, 2008 at 4:47 AM, Aral Balkan <[EMAIL PROTECTED]> wrote: > > Hi Jorge, > >> You clearly don't get must of the stuff you are talking about. >> >> ALL the quotas are there for you to be efficient they the whole >> purpose, they are not hard coded to make your live bad they are in >> th

[google-appengine] Re: No module named os

2008-10-06 Thread Marzia Niccolai
Hi Ilia, What python installation have you set in your preferences for the MacLauncher? Are you using the standard Mac python? Is this a fresh install of the launcher or did you just download the SDK? Sorry for the lame advice but have you tried uninstalling and re-installing? On 10.5.3 I'm abl

[google-appengine] Re: 1.1.5

2008-10-06 Thread Marzia Niccolai
I can't seem to replicate this on a Mac using the launcher, what system are you using the SDK on? My suspicion is that there was some kind of corruption when you installed on top of an existing SDK. Does uninstalling everything, and installing the 1.1.5 SDK help? Thanks, Marzia On Sat, Oct 4, 2

[google-appengine] Re: Error when submitting an app for publication in the App Gallery

2008-10-06 Thread Jon McAlister
Check that the URL you submitted to App Gallery was up and serving. On Oct 3, 10:08 pm, Downtown <[EMAIL PROTECTED]> wrote: > Hi, > > I am receiving the following error message when I attempt to submit an > application for the App Gallery: > > Traceback (most recent call last): > File "/base/py

[google-appengine] Re: Why Google App Engine is broken and what Google must do to fix it.

2008-10-06 Thread Jonathan Feinberg
On Oct 6, 11:20 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Regardless if the limitations are by design > or not it is virtually unusable by 99% of all developers. >From which hat are you pulling that number? Source? --~--~-~--~~~---~--~~ You received this

[google-appengine] Re: appcfg.py and 500 Server Error

2008-10-06 Thread cz
The offending index eventually was purged and I'm now able to upload... It appears that the offline processing of indexes is just kind of slow. - Claude --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engi

[google-appengine] Re: Cache-Control header & the Google Frontend Server

2008-10-06 Thread Jon
Looks like this is http://code.google.com/p/googleappengine/issues/detail?id=732. On Oct 5, 4:57 pm, MP <[EMAIL PROTECTED]> wrote: > I found a temporary solution, adding the following meta tag to my html > head: > > > > This works, but there should be a more elegant solution. > > On Oct 5, 4:31

[google-appengine] Re: Linking directly to the Google Accounts "new account" page + feature request and UX complaint!

2008-10-06 Thread Jon
You can send users to https://www.google.com/accounts/NewAccount As far as the UI concerns, what do you think about the "new account" button for the sign-in page on http://moderator.appspot.com/? We are experimenting there, and could make that the default for all applications. On Oct 4, 3:09 pm,

[google-appengine] hi there, can I signup a appengine account?

2008-10-06 Thread [EMAIL PROTECTED]
it seems appengine supports now only users from Japan, US and Canada. I'm from China and really want to do something on Google appengine. Could you please help me signup an account? thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed

[google-appengine] can't receive mobile message

2008-10-06 Thread SuperTaoer
I want to join Google App Engine and login as [EMAIL PROTECTED] I'm in China. click "Create an Application" button select "Country and Carrier" : Other(Not Listed) input Mobile Number: +86 1391717 but can't receive mbile message never. and tell me "The phone number has been sent too many messa

[google-appengine] Re: Why Google App Engine is broken and what Google must do to fix it.

2008-10-06 Thread [EMAIL PROTECTED]
Jorge, One thing you have to remember it is not what Guido or the engineers want. If Google App Engine is to succeed it is what the customers want. If it is designed as you have stated it will never recoup what Google has spent so far let alone down the road. Google App Engine has so many many li

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

2008-10-06 Thread Jon
Not sure if this is what you are looking for, but you could do the sorting yourself from within python as so: mylist = mydictionary.items() mylist.sort(lambda x, y: cmp(x[0], y[0])) template_values['mylist'] = mylist And then in your template file: {% for i in mylist %} {{

[google-appengine] Stuck indexes and 500 Server Error

2008-10-06 Thread [EMAIL PROTECTED]
I recently uploaded my test application (simple-tasks) and seem to have been bit by stuck indexes being built. I've tried removing all the indexes using vacuum_indexes, as well as trying update_indexes, and straight update. I can't seem to get my indexes to stop saying building. If all possible I

[google-appengine] Some problems with database filling

2008-10-06 Thread Shtpavel
So.. I want to fill database with 2 fields: Link, Title. This information i take from rss-parser. Bu database do not filling. import feedparser import os from google.appengine.ext import webapp, db from google.appengine.ext.webapp.util import run_wsgi_app from google.appengine.ext.webapp import

[google-appengine] Re: Any Site in Production Use ?

2008-10-06 Thread José Oliver Segura
On Mon, Oct 6, 2008 at 4:48 PM, Feris Thia <[EMAIL PROTECTED]> wrote: >... >> What are the 3 fields? Are they indexed? > > No, they are not indexed. The model is Feris with 2 String and 1 Datetime > field as showed above. Sorry to ask, maybe my question is very stupid but... doesnt't GAE i

[google-appengine] Re: Any Site in Production Use ?

2008-10-06 Thread Feris Thia
Hi Dave, Thanks for responding. Below are my code details : from google.appengine.ext import db _DEBUG = True class Feris(db.Model): pengarang = db.StringProperty() content = db.StringProperty(multiline=True) date = db.DateTimeProperty(auto_now_add=True) def test(): for i in range(1,

[google-appengine] Re: Trouble while looking for methods

2008-10-06 Thread Ross Ridge
Arôxa wrote: > i was looking for the methods of the ListProperty type... didn't find > does anybody know where could i find the documentation > and a list of all methods/functions of all classes/modules in gae? > like the oldie java api... :T The property classes don't have any "public" methods,

[google-appengine] Re: GAE Obfuscator?

2008-10-06 Thread Jorge Vargas
Which are stupid, make things run slower and sometimes get you weird random bugs. After all in todays world your secret is not your code but your company, just an example what is the big innovation of say youtube? On Sun, Oct 5, 2008 at 4:49 AM, Davide Rognoni <[EMAIL PROTECTED]> wrote: > > The s

[google-appengine] Re: Any Site in Production Use ?

2008-10-06 Thread Jorge Vargas
On Sat, Oct 4, 2008 at 4:20 PM, Nash <[EMAIL PROTECTED]> wrote: > > My strong suggestion at this stage to anyone considering GAE for a > production, business use DO NOT USE GAE. > are you trolling with that reply? I saw it exactly the same in two threads already. --~--~-~--~~-

[google-appengine] Re: delete app

2008-10-06 Thread Jonk
On 6 loka, 13:40, Abhi Batra <[EMAIL PROTECTED]> wrote: > and how do we disable it Suppose, if you for example took away all the files in the server, then the app would be "disabled"? j --~--~-~--~~~---~--~~ You received this message because you are subsc

[google-appengine] Re: www [mydomain.org] Already used, please remove previous mapping first.

2008-10-06 Thread Sylvain
Can you create an issue for this ? http://code.google.com/p/googleappengine/issues/list On 6 oct, 11:09, ID <[EMAIL PROTECTED]> wrote: > Basically problem seems to be is this: > > Google Apps thinks 'www' is assigned to some service, thus locking > 'www' so it cant be assigned any other service

[google-appengine] Re: delete app

2008-10-06 Thread Abhi Batra
and how do we disable it On Oct 5, 12:08 pm, Sylvain <[EMAIL PROTECTED]> wrote: > no, you can't delete. > > On 5 oct, 08:48, Abhi Batra <[EMAIL PROTECTED]> wrote: > > > is it possible to delete an  application from the net once made. --~--~-~--~~~---~--~~ You recei

[google-appengine] Re: user client upload a text file ?

2008-10-06 Thread herbie
Many thanks. I'll try it out. (I'm glad its simple) On Oct 6, 6:11 am, pr3d4t0r <[EMAIL PROTECTED]> wrote: > On Oct 5, 1:47 pm, herbie <[EMAIL PROTECTED]> wrote: > > > I’ve been through the “Getting Started”  helloworld examples and it > > all makes reasonable sense to me. Now I want to try my o

[google-appengine] Re: Python Support

2008-10-06 Thread warreninaustintexas
Guido van Rossum was asked this question at Google I/O. He stated that it would be handled as Larry mentions - by calling a separate runtime. He didn't state a timeframe, though, for it to be available. On Oct 2, 4:02 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Wouldn't Python 3 suppor

[google-appengine] Chat facility for GAE application

2008-10-06 Thread Maxim Gavrilov
Sorry, GAP -> 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@googlegroups.com To unsubscribe from this group, send email to [EM

[google-appengine] Chat facility for GAP application

2008-10-06 Thread Maxim Gavrilov
Hi, I'm trying to implement chat application with ActionScript (Flash) frontend and GAP back-end. Currently I've run it with following code: class Message(db.Model): timestamp = db.FloatProperty(required=True) text = db.StringProperty(required=True) class Chat(webapp.RequestHandler):

[google-appengine] Re: What changes were recently made to request.charset?

2008-10-06 Thread Sylvain
I've seen many issues with charset (Unicode) like this one : http://code.google.com/p/googleappengine/issues/detail?id=573 Could you explain more your issue/code that seems broken. These issues are very annoying. Regards On 6 oct, 08:50, Alex Epshteyn <[EMAIL PROTECTED]> wrote: > I had an iss

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

2008-10-06 Thread Sylvain
Did you try this dictsort. http://www.djangoproject.com/documentation/0.96/templates/#dictsort Or order by python before (same thing) http://wiki.python.org/moin/SortingListsOfDictionaries Django use the decorated/undecorated method. On 5 oct, 15:23, ell <[EMAIL PROTECTED]> wrote: > hi,

[google-appengine] Re: No module named os

2008-10-06 Thread Ilia Lobsanov
oh and this is on mac os x 10.5.5 On Oct 4, 12:43 pm, Ilia Lobsanov <[EMAIL PROTECTED]> wrote: > As of the 1.1.5 upgrade, I am getting this error when I try to access > my app using the dev server: > > : No module named os >       args = ('No module named os',) >       message = 'No module named

[google-appengine] Re: Cache-Control header & the Google Frontend Server

2008-10-06 Thread Sylvain
Star this : http://code.google.com/p/googleappengine/issues/detail?id=732 On 6 oct, 01:57, MP <[EMAIL PROTECTED]> wrote: > I found a temporary solution, adding the following meta tag to my html > head: > > > > This works, but there should be a more elegant solution. > > On Oct 5, 4:31 pm, MP <[E

[google-appengine] Re: www [mydomain.org] Already used, please remove previous mapping first.

2008-10-06 Thread ID
Basically problem seems to be is this: Google Apps thinks 'www' is assigned to some service, thus locking 'www' so it cant be assigned any other service. But user can not see which service 'www' was assigned to by Google apps, therefore user not able to changed or disabled it. On Oct 5, 7:33

[google-appengine] Re: www [mydomain.org] Already used, please remove previous mapping first.

2008-10-06 Thread ID
NO, this was an obvious step, and I have tried many times.. it wont help, it also gives following error message: - One of the addresses you have chosen has already been assigned. Please visit the settings page for Sites to modify the original address Error: Duplicate value --

[google-appengine] Re: Cleaning Out "Old DB" Entries

2008-10-06 Thread [EMAIL PROTECTED]
Ah, never mind. I see how it works. Simple: add handler to app.yaml. Will give it a go. Cheers, Jason On Oct 6, 4:16 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Thanks a lot for the advice. Still quite a novice, so can you tell me > more about how to implement the function? Not entirely

[google-appengine] Re: www [mydomain.org] Already used, please removeprevious mapping first.

2008-10-06 Thread mattw
Disable sites in your apps dashboard or change the url mapping. Sent via BlackBerry from T-Mobile -Original Message- From: Brade <[EMAIL PROTECTED]> Date: Sat, 4 Oct 2008 20:04:24 To: Google App Engine Subject: [google-appengine] Re: www [mydomain.org] Already used, please remove prev

[google-appengine] Re: Cleaning Out "Old DB" Entries

2008-10-06 Thread [EMAIL PROTECTED]
Thanks a lot for the advice. Still quite a novice, so can you tell me more about how to implement the function? Not entirely sure where to stash the code (function in main.py w/ all the rest of my code) or how to call it with webcron (which sounds like exactly what I need). On Oct 6, 3:56 pm, "Da

[google-appengine] Re: Cleaning Out "Old DB" Entries

2008-10-06 Thread David Symonds
On Mon, Oct 6, 2008 at 6:12 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > What's the best means of cleaning lingerers these up? Entity has a > datetime.datetime field (called creation). > > Will code this simple suffice: > > def cleanDB(): >"""Clean out entities older than two hours."""

[google-appengine] Cleaning Out "Old DB" Entries

2008-10-06 Thread [EMAIL PROTECTED]
I'm backing guest sessions with the datastore. For the most, part, entries get cleaned up as the user goes ("unsaved" entities get deleted). However, there will be lingerers as the user exits the site, etc. What's the best means of cleaning lingerers these up? Entity has a datetime.datetime field

[google-appengine] Re: Per Session Datastore

2008-10-06 Thread [EMAIL PROTECTED]
This might help others starting from the cookie-ignorant place I started from. Never got back any advice, so after a whole lot of Googling I ended up putting code like this on my index page: import sha, datetime, time, Cookie, os #Set session ID cookie if one doesn't already exist