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

2008-10-06 Thread Allen
Thanks ! I will try. it's funny. --~--~-~--~~~---~--~~ 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

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

2008-10-06 Thread Allen
Hi Davide, I have download the Zip file of IronBrowser, But how can I use this browser. Sorry, I am really fresh man of python and App. Thanks a lot. On 9月12日, 上午2时20分, Davide Rognoni [EMAIL PROTECTED] wrote: Yes, but you must use this danger browserhttp://pyoohtml.appspot.com/IronBrowser

[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

[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: 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,

[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 sure

[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

[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 received this

[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: type 'exceptions.ImportError': No module named os       args = ('No module named os',)      

[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, so

[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,

[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: 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

[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] 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

[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: 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

[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

[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 there to make

[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

[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 the

[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 one :

[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

[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

[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 a

[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

[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-tasks)

[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 the

[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 with

[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.

[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, 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 model

[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=768q=www%20subdomaincolspec=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 pretty

[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 group puts

[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

[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):

[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

[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

[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 things

[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

[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

[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] wrote:

[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 before

[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: 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] 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

[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, it