[google-appengine] Re: Generating cryptographically strong random numbers

2009-01-19 Thread Alexander Konovalenko
On Mon, Jan 19, 2009, Chris Tan csy...@gmail.com wrote: For an estimate of the required sample size, see A Cryptographic Compendium by J. Savard, section The Mersenne Twister http://www.quadibloc.com/crypto/co4814.htm, subsection called Applications to Cryptography. He writes: Despite the

[google-appengine] Re: Fetch callback

2009-01-19 Thread Alexander Kojevnikov
Are you trying to run this from the SDK? If so, the SDK cannot serve more than one request at a time. A workaround is described in the documentation: http://code.google.com/appengine/docs/python/tools/devserver.html#Using_URL_Fetch On Jan 19, 12:54 pm, ehmo disku...@gmail.com wrote: Hey guys,

[google-appengine] Re: Hello,I´m new with App Engine

2009-01-19 Thread kang
use appcfg.py update e:\gae\helloworld instead On Sat, Jan 17, 2009 at 11:17 AM, v.beh...@googlemail.com v.beh...@googlemail.com wrote: Hello,I´m new with App Engine and I can´t upload my developments. I always tap: appcfg.py update helloworld/ but there`s only an error massage:Usage:

[google-appengine] how to post arrays via html web page to app engine

2009-01-19 Thread ajaxer
hi, all I am new to python and appengine. I am encountering a problem on posting data to the server. there is a situation that I want to delete or modify many items at one post to the server, in php, we can do this by giving a name ended with [] to the input element, and in server side we can

[google-appengine] Re: how to post arrays via html web page to app engine

2009-01-19 Thread ajaxer
solved On Jan 19, 5:29 pm, ajaxer calid...@gmail.com wrote: hi, all I am new to python and appengine. I am encountering a problem on posting data to the server. there is a situation that I want to delete or modify many items at one post to the server, in php, we can do this by giving a

[google-appengine] Re: Having trouble with Django model.objects

2009-01-19 Thread Dave
Hi Alexander, Thanks for the info. Actually I am using app-engine- patch since I wanted to use Django 1(btw, it's a very cool way to get to Django 1 vs. doing all the other manual installs). I just read the links below and think I now understand how to use the rajenda code and will give it a try.

[google-appengine] Re: index.yaml not being updated

2009-01-19 Thread Dave
Gents, Thanks for the info and helping me get it. I have another app where index.yaml was being updated so that was making me paranoid. As you have already guessed, in the other app everything is set to direction: desc which I've not yet set direction on any queries in this new app. I'm learning

[google-appengine] Ancestor is performance

2009-01-19 Thread Tony Arkles
Hi everyone! In a thread [1], and in the documentation [2], it says that setting ancestors doesn't affect performance, but I'm not sure that this is the case. I set up two queries, one using WHERE locationKey = :1 (locationKey is a db.StringProperty), and one using WHERE ANCESTOR IS :1 (the

[google-appengine] Re: Having trouble with Django model.objects

2009-01-19 Thread Dave
Alexander all, Thanks for directing me to this. I just added it in and works perfectly! This is just what I needed. Your the man! dgd On Jan 19, 8:13 am, Dave ddev...@gmail.com wrote: Hi Alexander, Thanks for the info. Actually I am using app-engine- patch since I wanted to use Django

[google-appengine] exploring appengine cron

2009-01-19 Thread Ross M Karchner
I've been looking at the latest checkout (35) of the AppEngine SDK (which might be the same as 1.1.8), trying to at least figure out how cron *will* work. Here's what I've found so far. Interestingly, the SDK's antlr definitions are incompatible with the version of antlr invluded in the sdk, so I

[google-appengine] Re: Ancestor is performance

2009-01-19 Thread Tony Arkles
Oops, missed the second reference: [2] Section Tips for using entity groups: in http://code.google.com/appengine/docs/python/datastore/keysandentitygroups.html On Jan 19, 9:10 am, Tony Arkles t.ark...@gmail.com wrote: Hi everyone! In a thread [1], and in the documentation [2], it says that

[google-appengine] Re: Hello,I´m new with App Engine

2009-01-19 Thread dartdog
see this thread I had the same issue: a. It is a windows command, and due to the long strings you maybe shouyld consider putting the whole thing in a bat file. http://groups.google.com/group/google-appengine/browse_thread/thread/08e7124bb77efacf/3788ddbec978bb3d#3788ddbec978bb3d On Jan 17, 1:17 

[google-appengine] Re: Can't start debug server, i will crazy!

2009-01-19 Thread dartdog
Had similar issue: Read my experience/solution at http://tombrander.wordpress.com Suggest you use a bat file to get the whole string that you need On Jan 17, 6:01 am, Maxime wangyi...@gmail.com wrote: Help! My PC is : Vista 32bit, Python 2.5, GAE 1.1.5 Error message is below: Who can

[google-appengine] Announcement: gaeutilities 1.1.1

2009-01-19 Thread bowman.jos...@gmail.com
http://gaeutilities.appspot.com/ gaeutilities has been upgraded to version 1.1.1, this is a suggested upgrade for all developers using the libraries. This release includes some performance optimizations, bugfixes, and the release of new ROTModel (Retry on Timeout Model). Please note that pages

[google-appengine] Rendring data on django from ulrfetch

2009-01-19 Thread anand
Hi All, I am trying to display one page (having text and images) to a django template, however I am getting following errors: My code: from google.appengine.api import urlfetch class Test(webapp.RequestHandler): def get(self): url = http://docs.google.com/View?

[google-appengine] API for quota usage?

2009-01-19 Thread devj
The dashboard is cool but was wondering if you have APIs to build monitoring and alerting systems on top of it? Thanks, Jay --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this

[google-appengine] How expensive are queries

2009-01-19 Thread Roman
I get warnings in my app that some requests used high amount of CPU (2000ms, roughly 1 times over CPU limit). Those requests require a few queries, e.g.: 5 of WHERE a=b type, each returning 1 object 1 of WHERE ANCESTOR IS :parent foo ORDER BY bar DESC returning 5 objects 2 of Model.ref_set type

[google-appengine] Re: How expensive are queries

2009-01-19 Thread Roman
I guess it's too expensive. I memcached the first 5 and it made a big difference. On Jan 19, 11:49 am, Roman roman.budzianow...@gmail.com wrote: I get warnings in my app that some requests used high amount of CPU (2000ms, roughly 1 times over CPU limit). Those requests require a few queries,

[google-appengine] bulkload and expando

2009-01-19 Thread riq
Hi, I'm using bulkload to upload some data to my server, but I've just found that the entities that were created are 'Entity' but in fact I want them to be 'Expando'. How can create Expandos instead of Entities when I do the bulkload ? Thanks, riq.

[google-appengine] Re: bulkload and expando

2009-01-19 Thread riq
Ok... I can create the Expando entity at the HandleEntity callback. tnx, riq. --~--~-~--~~~---~--~~ 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: Fetch callback

2009-01-19 Thread Andy Freeman
And, even if you're trying to do it in a deployed version, there's no guarantee that the second call will be processed by the same interpreter. In fact, I think that you're guaranteed that the second call will be processed by a different interpreter. On Jan 19, 1:07 am, Alexander Kojevnikov

[google-appengine] Re: Ancestor is performance

2009-01-19 Thread Alexander Kojevnikov
The measured ms-cpu in the request logs comes out WAY smaller for the ANCESTOR IS query (roughly 3,000ms-cpu vs. 30,000 ms-cpu for 1,000 entities, and roughly this same ratio for smaller queries) Does anyone have any thoughts on this?  Did I mess something up, or is there something from the

[google-appengine] hiding private key

2009-01-19 Thread thebrianschott
To include a recaptcha feature requires the .py file to contain the private key, as well as the public key. Is there some way to hide that by putting the private key in the static directory and then reading it into the .py file? If so, please tell me how. I also do not know if placing a text file

[google-appengine] Re: Ok I know it's something really dumb but how to upload

2009-01-19 Thread djidjadji
You can copy and paste by using the System menu of the window. You can open this menu by using Alt-Space or click on the top left icon in the titlebar (for a cmd window it is a small c:\) In this menu you find a submenu for clipboard operations. If you want to copy text to the clipboard you first

[google-appengine] Re: hiding private key

2009-01-19 Thread David Symonds
On Tue, Jan 20, 2009 at 10:56 AM, thebrianschott schott.br...@gmail.com wrote: To include a recaptcha feature requires the .py file to contain the private key, as well as the public key. Is there some way to hide that by putting the private key in the static directory and then reading it

[google-appengine] Re: How expensive are queries

2009-01-19 Thread djidjadji
Sometimes the Datastore takes longer then expected. You don't have to take action for the CPU used in the Datastore operations. What you need to optimize is the Python code you write yourself, don't do heavy math. If you only do template stuff with the retrieved objects you will not get entrys in

[google-appengine] Can I See Google Product Ideas Code?

2009-01-19 Thread sweed
Hi everyone I've recently started experimenting with App Engine and love it so far. My question is two-fold, first, is Google Product Ideas (productideas.appspot.com) written using App Engine? Second, is there any way that I can view the code behind this App? I want to create something

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

2009-01-19 Thread Benjamin Tseng
We currently have xhibitr.com registered under DreamHost with Google Apps (Standard Edition) and have been trying to set up our appengine application (at xhibitr.appspot.com) so that www.xhibitr.com forwards to xhibitr.appspot.com The instructions on the Google page ask us to set up a CNAME

[google-appengine] Re: Where to post problems with dev_appserver?

2009-01-19 Thread eManish (Manish Agrawal)
In the Google App-Engine examples, it is mentioned that you have to pass the Application folder name to dev_appserver.py as shown below: google_appengine/dev_appserver.py helloworld/ But, it actually means, you have to pass the path of your application folder containing app.yaml (App Config)

[google-appengine] Feature request: more compatible urlfetch user agent string

2009-01-19 Thread Pepp
Hi, I wanted to use a Google API, but because of the user agent currently used, it will force me to use ISO8859-1 instead of UTF-8. I know that the User-Agent header is restricted, but it would be a good idea to use one similar to the one that is used by Googlebot: Mozilla/5.0 (compatible;

[google-appengine] Re: API for quota usage?

2009-01-19 Thread Kerio
I double that I'm not sure if there's some way to access the dashboard, but in the final version (remember, this is a beta) they should really add some way to alert the developers when something goes down because of a quota limit --~--~-~--~~~---~--~~ You received

[google-appengine] Login and google session cookie problems

2009-01-19 Thread The Unlord
Hi, I'm having troubles with logging in to my app with my google account, because of the way the cookies are stored. My app have several subsections, to which you can go with the url path, so /Download/Help, lets you go the the Help page in the Download section. I want everyone to be able to

[google-appengine] Unable to create application

2009-01-19 Thread Ajith Ranabahu
Hi, I am new to Google App Engine and trying to create an application. However at the verification step I get the message The phone number has been sent too many messages or has already been used to confirm an account.. I have not made any applications in App engine before! Any hint on this

[google-appengine] what is wrong with Category.all().filter(c_name=,'ddd'),return nothing?

2009-01-19 Thread dd
hi, i hava a model : class Category(db.Model): c_name = db.StringProperty(multiline=True) i use Category.all().filter(c_name=,ddd) (i am sure there is a record ) but i can get nothing ! so what is wrong ? thx! --~--~-~--~~~---~--~~ You received this

[google-appengine] Google Apps GAE - will not register to www

2009-01-19 Thread JMerrell
Hi, We have converted our public website over to google app engine (great product). The google app id for the website is mp-public-website-v1 We have tested the site and it works correctly using beta.mipueblofoods.com. The mipueblofoods.com domain is using google apps. We created the cname

[google-appengine] Re: Can't start debug server, i will crazy!

2009-01-19 Thread Sumit Bando
This can be related to another instance of the app server running on your machine. Try killing off Python processes. Try rebooting. On Jan 17, 4:01 am, Maxime wangyi...@gmail.com wrote: Help! My PC is : Vista 32bit, Python 2.5, GAE 1.1.5 Error message is below: Who can help me, thanks :-(

[google-appengine] Having a strange problem viewing my app

2009-01-19 Thread SpuriousGrowth
Hi appengine users, I'm experiencing a strange problem in which following uploading my app it is displaying ... nothing. I've been developing the app on the test appserver without a problem, and finally went to update it for the first time yesterday. The appcfg script runs without a problem. So

[google-appengine] Having a strange problem viewing my app

2009-01-19 Thread SpuriousGrowth
Hi I'm experiencing a strange problem where I cannot execute or view an application following an upload. All I get is ... nothing, as if the app had never been uploaded. This is the same result when visiting the deployed version of the app or a specific version. When uploading a new version of

[google-appengine] ifequals ifchanged

2009-01-19 Thread Birdy
Are there gotchas with these? I've got some really simple code which should work, to produce a sidebar with categories and pages. First I tried this but the ifchanged page.category didn't work: ul {% for page in pages %} !-- {{ page.name }} | {{page.category }} --

[google-appengine] Can't Sign In

2009-01-19 Thread Matt
Hi! For the past 4 hours or so, I haven't been able to sign into my Google App Engine account. After entering my Google Account information, this is all I get: Too many redirects occurred trying to open “http:// appengine.google.com/”. This might occur if you open a page that is redirected to

[google-appengine] why does Foo.all.filter get nothing?

2009-01-19 Thread potter
hi, i use Foo.all.filter ,to hope to get a result list,but always is []. so why? i am sure that there are some records in db. need your help, thx. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App

[google-appengine] Deadline Exceeded, but not in my app code?

2009-01-19 Thread tauz...@gmail.com
I'm seeing this error message: class 'google.appengine.runtime.DeadlineExceededError': Traceback (most recent call last): File /base/data/home/apps/minitracker/4.3/main.py, line 29, in module InstallAppengineHelperForDjango() File /base/data/home/apps/minitracker/4.3/appengine_django/

[google-appengine] Re: why does Foo.all.filter get nothing?

2009-01-19 Thread Qian Qiao
On Mon, Jan 19, 2009 at 11:29, potter wjtbo...@gmail.com wrote: hi, i use Foo.all.filter ,to hope to get a result list,but always is []. so why? i am sure that there are some records in db. need your help, thx. Have you tried the using the same filter like this? db.Query(Foo)

[google-appengine] Re: exploring appengine cron

2009-01-19 Thread auzhuang
I saw this: Uploading cron entries. Error 500: --- begin server output --- Server Error (500) A server error has occurred. --- end server output --- On 1月19日, 下午11时51分, Ross M Karchner rosskarch...@gmail.com wrote: I've been looking at the latest checkout (35) of the AppEngine SDK (which

[google-appengine] Hosting question

2009-01-19 Thread arnie
hi all There is an already hosted wsgi application [with some user interface] using the datastore tables. I have created another wsgi application [with no user interface just handling the requests] that needs to access the same datastore tables and that need to be done without using the urlfetch.

[google-appengine] Re: Can't Sign In

2009-01-19 Thread Qian Qiao
On Tue, Jan 20, 2009 at 02:48, Matt matt.ra...@me.com wrote: Hi! For the past 4 hours or so, I haven't been able to sign into my Google App Engine account. After entering my Google Account information, this is all I get: Too many redirects occurred trying to open http://

[google-appengine] Re: Can't Sign In

2009-01-19 Thread Alexander Kojevnikov
Are you using a Google Apps email to sign in? If you are, you should use this URL: http://appengine.google.com/a/YOURDOMAIN.COM/ On Jan 20, 5:48 am, Matt matt.ra...@me.com wrote: Hi! For the past 4 hours or so, I haven't been able to sign into my Google App Engine account. After entering

[google-appengine] Re: why does Foo.all.filter get nothing?

2009-01-19 Thread dd
Qian Qiao 写道: Have you tried the using the same filter like this? db.Query(Foo) query.filter(your_filter) HTH. -- Joe yh. i have a record like : c = Cat(name='c',year=2009,month=1) , i want to query and get this record,so i use: Cat.all().filter('name =','c').filter('year