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

2009-08-02 Thread Alexander Trakhimenok
Every index keeps a full copy of each entry. So to count storage space roughly you take entry size multiply by (number of index +1) and add may be 10%. it's well described in docs. -- Alex On Aug 2, 12:49 am, Kyle Jensen wrote: > Hi, > > I 'put' a few thousand highly indexed entities into the

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

2009-08-02 Thread iceanfire
the name is: description On Aug 1, 8:58 pm, Holger wrote: > 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:

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

2009-08-02 Thread djidjadji
The string you want to store contains characters that are not in the ascii range 0..127. You string uses some encoding, like utf-8 or iso8859- You must tell in your bulkloader that it is not a byte string, but a string with a certain encoding. Use a lambda function that converts it to a unicode us

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

2009-08-02 Thread Nick Johnson (Google)
Hi Alexander, Thanks for your report. I've forwarded it to the appropriate people. -Nick Johnson On Sat, Aug 1, 2009 at 3:14 PM, Alexander Konovalenko wrote: > > I'd like to draw more attention to a security issue with the App > Engine quota system which makes it particularly easy for an attack

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

2009-08-02 Thread Nick Johnson (Google)
On Sun, Aug 2, 2009 at 9:07 AM, Alexander Trakhimenok wrote: > > Every index keeps a full copy of each entry. > > So to count storage space roughly you take entry size multiply by > (number of index +1) and add may be 10%. > > it's well described in docs. Not correct - indexes do not store the en

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

2009-08-02 Thread Joshua Smith
On Aug 1, 10:14 am, Alexander Konovalenko wrote: > User syntax writes that when a client requests a large (10 MB) static > file Am I missing something? How could one have a static file larger than 1MB? --~--~-~--~~~---~--~~ You received this message because yo

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

2009-08-02 Thread Alexander Konovalenko
> Am I missing something?  How could one have a static file larger than > 1MB? The limit has been raised some time ago: http://code.google.com/appengine/docs/python/runtime.html#Quotas_and_Limits --~--~-~--~~~---~--~~ You received this message because you are subs

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

2009-08-02 Thread Devel63
In the templates, use {% trans 'My string' %}. Put {% load i18n %} at the top of the file (must be one of first couple lines). On Aug 1, 11:22 am, Emilien Klein wrote: > Hi Devel63, > Thanks for your answer. But this is just for inside your Python files, > how do you manage text in the template

[google-appengine] Re: No SMS support for my country

2009-08-02 Thread dhr
After feeling in the form my account was activated. Thanks google team! On Jul 15, 11:17 pm, Andrés Mejía wrote: > Hello, > > I tried to create an application in the App Engine but couldn't verify > my account since there's no SMS support for my country. > > Is there any other way of verifying m

[google-appengine] Interact with external server for static "private" files

2009-08-02 Thread jivany
I've been unsuccessfully searching through the group for some pointers on how to implement this. Here's my scenario - I want to be able to push large images and videos online, files that would be larger than the current App Engine limits. I want to control access to these files as if they were b

[google-appengine] Re: Interact with external server for static "private" files

2009-08-02 Thread Holger
It may seem, but it's not trivial at all. > This seems like a pretty trivial thing to do The difficulty depends on how 'safe' the solution should be. I think the logical sequence could be: 1. User asks your appspot for video 2. User is redireced to your video source with an URL get attachment

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

2009-08-02 Thread NiklasRTZ
The sv .po seems to have a colon too much so it doubles with use with forms. All ready translations from the django library LC_MESSAGES can get reused for our projects which is very good, templates work with i18n and a custom request handler and some success currently integrating translations with

[google-appengine] Re: Interact with external server for static "private" files

2009-08-02 Thread Albert Attard
Hi: You can write a proxy and this shouldn't be a problem since the data is binary and you don't need to modify the contents. Also, large contents may be fragmented, that is, one video saved on more than one file (Example: file1.rar, file2.rar, ..., fileN.rar). Your application/proxy may be requir