[google-appengine] Re: can not force delete a index with error!

2009-08-01 Thread John LeBlanc
I've experienced this as well. My indexes have been marked "Error" for two days and vacuum_indexes doesn't seem to make a difference. On Jul 20, 4:52 pm, Ramesh Thiruchelvam wrote: > Hi Jeff, > > I wasn't able to delete the "Error" statusindexfor a day, the next > day when I tried vacuum_inde

[google-appengine] Re: brand new app. 500 error, nothing in the error logs.

2009-08-01 Thread ego008
some erro in your code, try pass in localhost 2009/8/1 Shawn A. > > Hello Holger, > > Wow! I could have stared at the file for hours and not noticed that. > sometimes all you need is another pair of eyes. Thank you > that worked like a charm. Sneaky that it worked in the sdk btw. > > Thanks, > -

[google-appengine] PyCrypto

2009-08-01 Thread Henrik Schack
Hi I'm new to Python/AppEngine in general. What is the correct import statement for using PyCrypto ? /Henrik Schack --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group,

[google-appengine] Re: PyCrypto

2009-08-01 Thread Holger
Depends. Depends on the module you want to use. Could be For example: from Crypto.Hash import MD5 Or: from Crypto.Cipher import DES See: http://www.dlitz.net/software/pycrypto/ That's what I learnd by google 'python crypto'. The rest is try&error. --~--~-~--~~~--

[google-appengine] Re: PyCrypto

2009-08-01 Thread Henrik Schack
Ahh OK thank you very much, so PyCrypto isn't part of the AppEngine SDK download right ? /Henrik Schack On Aug 1, 10:42 am, Holger wrote: > Depends. > > Depends on the module you want to use. > > Could be For example: > from Crypto.Hash import MD5 > > Or: > from Crypto.Cipher import DES > > Se

[google-appengine] Re: PyCrypto

2009-08-01 Thread Holger
Really don't know. If it is part, you are able to import it (import is needed anyway), If not, you first have to install their code and than import it into your script. And anyway it's a python item not an appengine one. (You remember, before installing appengine you had to install python 25 an

[google-appengine] Re: brand new app. 500 error, nothing in the error logs.

2009-08-01 Thread djidjadji
You should move your remote_api handler to the top. It will never be called because the handler above it has the regex "/.*" 2009/8/1 Shawn A. : > > Hello Holger, > > Wow! I could have stared at the file for hours and not noticed that. > sometimes all you need is another pair of eyes. Thank you >

[google-appengine] Large static files enable a quota exhaustion attack

2009-08-01 Thread Alexander Konovalenko
I'd like to draw more attention to a security issue with the App Engine quota system which makes it particularly easy for an attacker to use up an app's bandwidth quota. User syntax writes that when a client requests a large (10 MB) static file but cancels the download immediately, the whole file

[google-appengine] Re: How to translate an application running on GAE?

2009-08-01 Thread Emilien Klein
OK, thanks Rodrigo for the link to Babel. I had already seen it, but never used it. The problem I see with using Babel is that it IS an external library, which means that I need to integrate it with my project. What I'm looking for is a way to have a translated application WITHOUT having to instal

[google-appengine] Re: How to translate an application running on GAE?

2009-08-01 Thread Rodrigo Moraes
On Sat, Aug 1, 2009 at 11:51 AM, Emilien Klein wrote: > The problem I see with using Babel is that it IS an external library, > which means that I need to integrate it with my project. What I'm > looking for is a way to have a translated application WITHOUT having > to install any external library

[google-appengine] Re: How to translate an application running on GAE?

2009-08-01 Thread Devel63
We use the Django 0.96 that is bundled with GAE. from django.utils.translation import gettext as _ Then just use _('My String") in the code, combined with the .po/.mo files. On Aug 1, 8:16 am, Rodrigo Moraes wrote: > On Sat, Aug 1, 2009 at 11:51 AM, Emilien Klein wrote: > > The problem I

[google-appengine] Re: Large static files enable a quota exhaustion attack

2009-08-01 Thread Holger
Instead of offering your file as static file (whose download you can't control) you could offer your file via url request from datastore and make registration and login obligatory or block any third request from the same IP. Then a single attacker has got no chance, only a bot net would be effect

[google-appengine] update_indexes error

2009-08-01 Thread chemuto
Hi, I cannot update my indexes. Getting "Server Error 500". Haven't reached yet 100. App id: testingryv Thanks, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send

[google-appengine] Re: How to translate an application running on GAE?

2009-08-01 Thread Emilien Klein
I understand your point, but Django has the benefit of coming bundled with GAE, whereas Babel is an external lib that you need to import in your project, keep up to date, etc... I'll try to use what comes with GAE, and if it doesn't perform well, then maybe I'll start looking at other external lib

[google-appengine] Re: How to translate an application running on GAE?

2009-08-01 Thread Emilien Klein
Hi Devel63, Thanks for your answer. But this is just for inside your Python files, how do you manage text in the templates? Or don't you use templates? I don't really see how you're managing this... Is your app open source (i.e. Is there a place where I can see your code)? On 1 août, 10:31, Devel

[google-appengine] Non-default app versions: Are they first-class apps?

2009-08-01 Thread Bill
It's been suggested that a website could use different app versions to support multiple languages or partitioning functions while still getting access to a single datastore. For example, see the last paragraph here (http://stackoverflow.com/questions/1085898/choosing- java-vs-python-on-google-app

[google-appengine] Re: Are there any data recovery mechanisms for google app engine database?

2009-08-01 Thread Wooble
Considering Google Reader can't tell me how many unread stories I have when the number is over 1000, I wouldn't count on Google having secret technology that bypasses the limits of BigTable. On Jul 31, 1:19 pm, johnP wrote: > Any backup/restore that Google can provide should be much more > relia

[google-appengine] Re: brand new app. 500 error, nothing in the error logs.

2009-08-01 Thread Jason Salas
Hi shawn, The online tutorial might serve you better and is updated to reflect the latest changes...a little better than the SDK: http://code.google.com/appengine/docs/python/gettingstarted/ Good luck! On 8/1/09, Shawn A. wrote: > > Hello Holger, > > Wow! I could have stared at the file for ho

[google-appengine] Re: How to translate an application running on GAE?

2009-08-01 Thread Jason Salas
I've used Babelfish only as a web tool, never an API, so does that option exist? You can leverage GAE's urlfetch lib and make a remote call if Babelfish has a REST interface. On 8/2/09, Emilien Klein wrote: > > OK, thanks Rodrigo for the link to Babel. I had already seen it, but > never used it

[google-appengine] Re: How to translate an application running on GAE?

2009-08-01 Thread Roberto Saccon
I haven't followed this discussion in detail, but babelfish is easy to implement in django, however you need a bit of low-level hackery, I easily got it working (and I am not a regular Python hacker), I had all the babelfish stuff running db-based (templates and translations), completely replacing

[google-appengine] Do highly indexed entities take up more storage space?

2009-08-01 Thread Kyle Jensen
Hi, I 'put' a few thousand highly indexed entities into the datastore yesterday and I felt like they used up a lot of my 'storage quota' even though the entities had few properties Do highly indexed entities take up more storage space? Thanks! Kyle --~--~-~--~~~---~-

[google-appengine] Re: Do highly indexed entities take up more storage space?

2009-08-01 Thread 风笑雪
Of course they do, every index takes up some space. 2009/8/2 Kyle Jensen > > Hi, > > I 'put' a few thousand highly indexed entities into the datastore > yesterday and I felt like they used up a lot of my 'storage quota' > even though the entities had few properties > > Do highly indexed entities

[google-appengine] UnicodeEncodeError when using bulkupload to download from datastore

2009-08-01 Thread iceanfire
I'm getting the following error when I download from the datastore: UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 265: ordinal not in range(128) I tracked this error down to a 'TextProperty' Field in the datastore. Any idea how I should deal with this? Also, I h

[google-appengine] Re: UnicodeEncodeError when using bulkupload to download from datastore

2009-08-01 Thread Holger
What's the name of your 'TextProperty' field? > I tracked this error down to a 'TextProperty' Field in the datastore. If this name should contain strange letters (ÄÜÖ etc) try changing the name. --- Re Datastore upload: That's an important question - would be interested in an answer too. --~--~-