[google-appengine] Re: Having doubts about AppEngine

2008-09-01 Thread LH
I'm a little bit confused about the discussion php vs django template at all. The most of the posters here should take a look at the no. 1 php template engine: Smarty http://www.smarty.net/ Take the documentation of the template syntax, you will see that Smarty and Django Template are very simil

[google-appengine] Re: Local GAE (Enterprise edition)

2008-09-01 Thread Thomas Johansson
Never going to happen. The whole point of appengine is to outsource your hosting to google, and running on top of their massively scalable GFS and BigTable setup. This is their bread and butter, there's no way they're going to let anybody have that tech for themselves. On Aug 31, 2:17 pm, Gadi <

[google-appengine] Re: Local GAE (Enterprise edition)

2008-09-01 Thread Linus Kendall
To me it seems that GAE isnt really built for this kind of scenario. There is not a strong enough guarantee on confidentiality to allow the hosting of very sensitive data, even if the regulations would allow say temporary storage and processing (the data could later be transferred to somewhere ins

[google-appengine] dev_appserver mangling app handler name

2008-09-01 Thread DocDay
utput html: 14 #- # 15 16 17 18 19docday-gae-report-20080901-01 20 21 22 23 24 25This is docday-gae-report-20080901-01 26 27 28 29 #- # 3

[google-appengine] Re: Template : looping over a list of lists

2008-09-01 Thread jorgian
Thank you everybody for all the great advice. @Alexander: I tried your suggestion and it does exactly what i wanted :-). Thank you! On Sep 1, 1:22 am, Alexander Kojevnikov <[EMAIL PROTECTED]> wrote: > This should work in 0.96: > > {% for point in points %} >     There is a point at {{ point.0

[google-appengine] Module error

2008-09-01 Thread amshuhu
when i add admin control to my application it display the error as follows : please guide me . --~--~-~--~~~---~--~~ 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

[google-appengine] Logging crash with non ascii char

2008-09-01 Thread Sylvain
I've filled this issue : http://code.google.com/p/googleappengine/issues/detail?id=573 2 months ago and nobody stars it. I'm surprised because it is related to "logging". Currently if you do that in production (it works with the SDK) : logging.debug("% is connected" % user) and 'user' contains

[google-appengine] Size of index in case of exploding index

2008-09-01 Thread Nash
Hello folks, The documentation here: http://code.google.com/appengine/docs/datastore/queriesandindexes.html#Big_Entities_and_Exploding_Indexes says that given a model thus: class MyModel(db.Expando): pass and an instance thus: e2 = MyModel() e2.x = ['red', 'blue'] e2.y = [1, 2] e2.put() th

[google-appengine] Re: Size of index in case of multi-property attributes

2008-09-01 Thread Nash
The topic is a misnomer, it should be Size of index in case of multi- property attributes On Sep 1, 7:46 pm, Nash <[EMAIL PROTECTED]> wrote: > Hello folks, > > The documentation > here:http://code.google.com/appengine/docs/datastore/queriesandindexes.htm... > > says that given a model thus: > >

[google-appengine] server time zone: datetime.utcnow() or now()?

2008-09-01 Thread Waldemar Kornewald
Hi, in the Date/Time/DateTimeProperty.now() implementation in the SDK you use datetime.now() (for auto_now and auto_now_add), but if the value is set from different servers that have different time zones (e.g. because you dynamically move the data around between data centers or a data center fails

[google-appengine] Re: Errno 9 for post-login page?

2008-09-01 Thread shadow.hk
Same problem. Still Error 500. The page is generated by template: path = os.path.join(os.path.dirname(__file__), 'template.html') self.response.out.write(template.render(path, template_values)) >From console: ... ERROR2008-09-01 15:53:50,937 dev_appserver.py] Exception encountered h

[google-appengine] Re: HTTPMR: Scalable Data Processing for People with Web Clusters

2008-09-01 Thread zunzun
That is certainly interesting - thank you. James On Jul 20, 3:52 am, "nchauvat (Logilab)" <[EMAIL PROTECTED]> wrote: > > You might also be interested inhttp://www.runblast.com/if you do not > know about it. --~--~-~--~~~---~--~~ You received this message beca

[google-appengine] Re: Errno 9 for post-login page?

2008-09-01 Thread shadow.hk
I forgot to mention: after I submit the code to appengine, I am not getting error 500 but a blank page. I have to refresh to get to the main page... Is there anything wrong? What should I check? On Sep 1, 11:57 pm, "shadow.hk" <[EMAIL PROTECTED]> wrote: > Same problem.  Still Error 500. > > Th

[google-appengine] Re: Logging crash with non ascii char

2008-09-01 Thread Ross Ridge
Sylvain wrote: > Currently if you do that in production (it works with the SDK) : > logging.debug("% is connected" % user) and 'user' contains a non ascii > char (i.e. Fran�oise,...) --> GAE crash > > It's impossible to do that too : > except Exception, e > logging.error(e) > If e.message cont

[google-appengine] Re: non-unique ids in same model?

2008-09-01 Thread Ross Ridge
iceanfire wrote: > I've got Model_C which is the child of Model_P. In this case, there > are about 200 Model_P entities with each one having one child. When I > took a look at data viewer, I noticed that all Model_C entities had an > id of "1". Is this something that only occurs for parent/child >

[google-appengine] Help with Bulkuploading StringListProperty

2008-09-01 Thread Steven S
Hi folks. I have a (rather large) CSV file with a string that acts as a key, and then an arbitrary number of other strings separated by commas after that, that are to be stored in a StringListProperty. That is, key1, item1, item2, item3, item4, ... key2, item5, item6, item7, item8 ... that co

[google-appengine] Extending Django Templates

2008-09-01 Thread notreadbyhumans
I'm trying to extend the Google App Engine templates using the instructions in the post below (I have tried the instructions in this post and the one below): http://groups.google.com/group/google-appengine/browse_thread/thread/d791ce17e2716147/2886c968a25c1d1a?lnk=gst&q=Extending+django#2886c968a

[google-appengine] Newbie Question about Datastore Management

2008-09-01 Thread ERA
1) How can I find out the TOTAL number of entities in my Model datastore? I tried GQLQuery("SELECT * FROM Document").count() but this just caps out at a 1000. There MUST be some way of finding out, right? or do I have to do this the old fashioned way, and PAGE thru using Offset? 2) is there

[google-appengine] Re: Built-in indexes error?

2008-09-01 Thread ERA
Hi Marzia, This may be a dumb question - but how do I get private docs indexed this way? This only allows us to search documents Google has crawled, correct? Is there some way that I can get Google to offer a "private crawl?" Lets say I was writing school reports I wanted to be searchable only by

[google-appengine] Re: Unable to initialize images API - ImportError: No module named PIL

2008-09-01 Thread JLD000
http://jetfar.com/cygwin-install-python-imaging-library/ This worked for me. (using Imaging-1.1.6) On Jul 7, 1:24 pm, RyanW <[EMAIL PROTECTED]> wrote: > I goofed, you're right.  I thought it was the PIL package that was > causing it to error.  It was actually because I had another > application

[google-appengine] Accessing Object Attributes Dynamically

2008-09-01 Thread Aaron
Given that I have successfully stored a Model defined as: class Book(db.Model): title = db.StringProperty(required=True) author = db.StringProperty(required=True) illustrator = db.StringProperty(required=True) In the data store. I want to send a command to update an attribute of the ob

[google-appengine] Delete one of my db.models' ?

2008-09-01 Thread jago
Hi, I have an old project in the app engine. I fully created that app from scratch with different models and different model names. I know want to fully delete my models from the app engine. How is that possible? --~--~-~--~~~---~--~~ You received this message be

[google-appengine] Need help with Appengine helper.

2008-09-01 Thread Peter
I'm trying to get django and app engine working together. I'm a novice with both, so maybe I'm missing something. I'm running on Windows Vista. I'm following the instructions at http://code.google.com/appengine/articles/appengine_helper_for_django.html I installed the app engine using GoogleA

[google-appengine] Noob data structuring question for scalability

2008-09-01 Thread adrian
I'm building a new kind of rhyme finder. What it does that's useful is provide an organized system for viewing imperfect rhymes. So I''ve got this database of a few hundred sound sequences and each one has a list of rhyming words, each word has parts of speech and other info. I am wondering

[google-appengine] Re: Same request *sometimes* gives high CPU warning -- random?

2008-09-01 Thread Scumbag
I had a similar problem when I was using an older version of the appengine utilities (session management). The request times were over 1000ms. On Aug 31, 1:25 am, Kyle Jensen <[EMAIL PROTECTED]> wrote: > Our app serves has a few hundred hits a day at a particular url/view. > Seemingly randomly,

[google-appengine] Datastore write performance question

2008-09-01 Thread I.K.
Hi all, In the belief that I will improve systems performance, I have been reducing the number of Datastore writes by creating a few larger models with lots of data in therm, rather than a larger number of smaller models. Am I correct in my assumption? This obviously affects my design and code

[google-appengine] The only way I know of to find my posts is to click on one of my existing posts

2008-09-01 Thread Peter
Pretty daft I know, if anyone wants to tell me how to find my posts without having first found one of my posts please let me know. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to

[google-appengine] I can't get Authentication Code

2008-09-01 Thread [EMAIL PROTECTED]
why?? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTE

[google-appengine] Re: Having doubts about AppEngine

2008-09-01 Thread Michael Schreifels
The point wasn't to compare Smarty and Django Templates, it was just to show that if you do something different from the "default", no matter what language and platform you are developing for, there is always going to be extra work involved. And for the record, Smarty has been around several year

[google-appengine] Re: Having doubts about AppEngine

2008-09-01 Thread Noah Gift
On Mon, Sep 1, 2008 at 12:56 PM, Michael Schreifels <[EMAIL PROTECTED]> wrote: > > The point wasn't to compare Smarty and Django Templates, it was just > to show that if you do something different from the "default", no > matter what language and platform you are developing for, there is > always

[google-appengine] Standard XML modules not supported in AppEngine

2008-09-01 Thread RJin
The python xml modules can be imported in my dev env but AppEngine reported me "No module named xml" It looks like the concised python runtime doesn't include the module within its sys path. Anyone know there is an alternative way to use them or other similar replacements for these modules. I nee

[google-appengine] Re: Having doubts about AppEngine

2008-09-01 Thread Bill
> If I was a member of the marketing staff, I would have pursued a > strategy that ensured that defaults for appengine didn't lock you into > an ultra orthodox view of web development like Django Templates take. > By ultra orthodox I mean handcuffing the templates so you cannot > insert Python cod

[google-appengine] Best Template Engine (14 votes)

2008-09-01 Thread Davide Rognoni
You can vote a engine: http://pyoohtml.appspot.com/best-template-engine Django template system (6) PyOoHtml (2) Genshi (2) Airspeed (2) Pyxer Templating (1) Spyce (1) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[google-appengine] Re-post: dev_appserver mangling app handler name

2008-09-01 Thread DocDay
DocDay 11 12 #--­-- # 13 index.py output html: 14 #- # 15 16 17 18 19docday-gae-report-20080901-01 20 21 22 23 24 25This is docday-gae-report-20080901-01 26

[google-appengine] dev_appserver mangling app handler name

2008-09-01 Thread DocDay
---­--# 13 index.py output html: 14 #---# 15 16 17 18 19docday-gae-report-20080901-01 20 21 22 23 24 25This is docday-gae-report-20080901-01 26

[google-appengine] Re-post: dev_appserver mangling app handler name

2008-09-01 Thread DocDay
# 13 index.py output html: 14 #-# 15 16 17 18 19docday-gae-report-20080901-01 20 21 22 23 24 25This is docday-gae-report-20080901-01 26

[google-appengine] Re-post: dev_appserver mangling app handler name

2008-09-01 Thread DocDay
# 13 index.py output html: 14 #-# 15 16 17 18 19docday-gae-report-20080901-01 20 21 22 23 24 25This is docday-gae-report-20080901-01 26

[google-appengine] Re: Having doubts about AppEngine

2008-09-01 Thread Noah Gift
> While I agree that claims shouldn't be made for not fully working > frameworks, I'd rather the core AppEngine team implement features the > rest of the community would have great difficulty implementing. I > don't consider templates a difficult piece of the pie. I'm a relative > python newbie

[google-appengine] Re: The only way I know of to find my posts is to click on one of my existing posts

2008-09-01 Thread DocDay
Me too! On Sep 1, 9:41 am, Peter <[EMAIL PROTECTED]> wrote: > Pretty daft I know, if anyone wants to tell me how to find my posts > without having first found one of my posts please let me know. --~--~-~--~~~---~--~~ You received this message because you are subsc

[google-appengine] Problems with GData Feeds, namely Documents

2008-09-01 Thread Sam G
Hello All, I am having some trouble with the Documents List API vis-a-vis AppEngine. I've already identified the problem, and am looking for a solution. My test user has 102 documents (on his g-apps account). I have a script set up that retrieves the documents list feed for the currently logged

[google-appengine] Re: Accessing Object Attributes Dynamically

2008-09-01 Thread djidjadji
As fas as I know just book.title = "New Title" book.put() 2008/8/31 Aaron <[EMAIL PROTECTED]>: > > Given that I have successfully stored a Model defined as: > > class Book(db.Model): > title = db.StringProperty(required=True) > author = db.StringProperty(required=True) > illustrator = db.S

[google-appengine] Problem with Data Viewer

2008-09-01 Thread Ed
I keep getting the message "A server error has occurred" every time I click on Data Viewer. Help, pls. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to g

[google-appengine] Question about __init__.py

2008-09-01 Thread DocDay
__.py do? -DocDay 1 #--­--# 2 app.yaml: 3 #-# 4 application: gae-report-20080901-02 5 version: 0 6 runtime: python 7 api_version: 1 8 handlers: 9 - url: /.* 10 script: dy

[google-appengine] Re: The only way I know of to find my posts is to click on one of my existing posts

2008-09-01 Thread Peter
Bit of a gaping hole in the usability thing I'd have thought... On Sep 1, 9:43 pm, DocDay <[EMAIL PROTECTED]> wrote: > Me too! > > On Sep 1, 9:41 am, Peter <[EMAIL PROTECTED]> wrote: > > > Pretty daft I know, if anyone wants to tell me how to find my posts > > without having first found one of my

[google-appengine] Re: Need help with Appengine helper.

2008-09-01 Thread Peter
Surely I'm not the only one on the planet trying to run this under windows? On Aug 31, 11:25 pm, Peter <[EMAIL PROTECTED]> wrote: > I'm trying to get django and app engine working together.  I'm a > novice with both, so maybe I'm missing something.  I'm running on > Windows Vista. > > I'm followi

[google-appengine] Re: Having doubts about AppEngine

2008-09-01 Thread Bill
> > ... if I had a little more time and motivation, I'd > > create a version of Haml (template system out of Ruby world that uses > > pythonic indentation for clarity) that allows embedded python. > > Hmm, the docs look interesting.  I would give it a try if you ported > it to Python.  It looks p

[google-appengine] Re: The only way I know of to find my posts is to click on one of my existing posts

2008-09-01 Thread ryan
click on the Profile link in the top right. your profile page has an archive of all of your posts. --~--~-~--~~~---~--~~ 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

[google-appengine] Re: Accessing Object Attributes Dynamically

2008-09-01 Thread ryan
are you looking for setattr()? http://docs.python.org/lib/built-in-funcs.html#l2h-66 --~--~-~--~~~---~--~~ 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@g

[google-appengine] Re: server time zone: datetime.utcnow() or now()?

2008-09-01 Thread ryan
hi waldemar! as mentioned in the docs, both the SDK and the production environment always use UTC: http://code.google.com/appengine/docs/datastore/typesandpropertyclasses.html#DateTimeProperty see http://timezones.appspot.com/ for details on handling time zones. --~--~-~--~~

[google-appengine] Re: Updating Application gives Server 500 Error

2008-09-01 Thread ryan
hi all! thanks for the report. we're aware of the problem, and we expect that our next release will significantly reduce the error rate. until then, apologies for the inconvenience. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Go

[google-appengine] Re: Size of index in case of exploding index

2008-09-01 Thread ryan
hi nash! the extra four index rows come from the built-in single property indexes. in this example, they'll need two index rows for x and two for y. you're right, the docs don't fully describe this. i'll update them. thanks for the nudge! as for your repeated property index, yes, it will also hav

[google-appengine] Re: check if in transaction?

2008-09-01 Thread ryan
yes, _CurrentTransactionKey() will do what you want. it's undocumented, though, and not considered part of the public API, hence the leading underscore. given that, we might change it at any time. unlikely, but possible. having said that, the python API already detects and prohibits nested transa

[google-appengine] Re: The only way I know of to find my posts is to click on one of my existing posts

2008-09-01 Thread Jorge Vargas
On Mon, Sep 1, 2008 at 7:41 AM, Peter <[EMAIL PROTECTED]> wrote: > > Pretty daft I know, if anyone wants to tell me how to find my posts > without having first found one of my posts please let me know. > Use email delivery to gmail and search for label:gae > > > > --~--~-~--~~

[google-appengine] Re: Having doubts about AppEngine

2008-09-01 Thread Jorge Vargas
On Wed, Aug 27, 2008 at 4:09 PM, javaDinosaur <[EMAIL PROTECTED]>wrote: > > I am starting to have doubts about continuing to develop my > applications for GAE. My concerns are not technical although I have a > some anxieties about transaction data propagation performance. > > My concerns center ar

[google-appengine] Re: Having doubts about AppEngine

2008-09-01 Thread Jorge Vargas
On Sat, Aug 30, 2008 at 3:56 AM, Davide Rognoni <[EMAIL PROTECTED]>wrote: > > Doubts about Django Template > > http://groups.google.com/group/google-appengine/browse_thread/thread/3503204aed78e934# > > About this discussion which seems to have stolen the thread (bad) Django templates are one of t

[google-appengine] Re: Best Template Engine (14 votes)

2008-09-01 Thread Jorge Vargas
please stop sending this emails, they add little knowledge to the group. There is no best, it depends on the project requirements, it's scope and more important taste of the people involved. On Mon, Sep 1, 2008 at 1:22 PM, Davide Rognoni <[EMAIL PROTECTED]>wrote: > > You can vote a engine: > http

[google-appengine] Re: Question about __init__.py

2008-09-01 Thread Jorge Vargas
#x27;s just a convention the above link will explain. Normally it's either empty or people add package initialization code. > > -DocDay > > > 1 #--­--# > 2 app.yaml: > 3 #----

[google-appengine] Re: Size of index in case of exploding index

2008-09-01 Thread Nash
Great, thanks! On Sep 2, 4:08 am, ryan <[EMAIL PROTECTED]> wrote: > hi nash! the extra four index rows come from the built-in single > property indexes. in this example, they'll need two index rows for x > and two for y. you're right, the docs don't fully describe this. i'll > update them. thanks

[google-appengine] Re: Standard XML modules not supported in AppEngine

2008-09-01 Thread Alexander Kojevnikov
xml.dom.minidom and xml.etree are definitely supported, I suppose xml.dom and xml.sax should be supported too. I just ran this in the GAE shell (http://shell.appspot.com/): >>> import xml >>> dir(xml) ['_MINIMUM_XMLPLUS_VERSION', '__all__', '__builtins__', '__doc__', '__file__', '__name__', '__p

[google-appengine] Re: The only way I know of to find my posts is to click on one of my existing posts

2008-09-01 Thread DocDay
Dooohh! On Sep 1, 6:37 pm, ryan <[EMAIL PROTECTED]> wrote: > click on the Profile link in the top right. your profile page has an > archive of all of your posts. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Googl

[google-appengine] Re: Question about __init__.py

2008-09-01 Thread DocDay
> > >  3) What does __init__.py do? > > nothing really, it's just a convention the above link will explain. Normally > it's either empty or people add package initialization code. > > > > > > > -DocDay > > >  1 #-

[google-appengine] Re: Delete one of my db.models' ?

2008-09-01 Thread Alexander Kojevnikov
As far as I understand, the model gets 'deleted' when you delete all its entities. You can delete the entities from the admin interface. If you have many of them you can write a temp request handler that deletes entities in packs and reload the page until there are no entities left. On Sep 1, 8:5

[google-appengine] Re: Newbie Question about Datastore Management

2008-09-01 Thread Alexander Kojevnikov
> 1) How can I find out the TOTAL number of entities in my Model > datastore? > > I tried > > GQLQuery("SELECT * FROM Document").count() > > but this just caps out at a 1000. This is by design. You need to use a counter and update it each time you add/delete an entity. An efficient implementation

[google-appengine] Re: Extending Django Templates

2008-09-01 Thread Alexander Kojevnikov
Try replacing template.register_template_library('template_extras') with template.register_template_library('template_extras.extensions') Check google/appengine/ext/webapp/template.py lines 162-194 for details. On Aug 31, 4:17 am, notreadbyhumans <[EMAIL PROTECTED]> wrote: > I'm tryin

[google-appengine] Inequality and Order Limitation

2008-09-01 Thread ade
Hello developers, please help solve my problem : Let's say I have a model : class Item(db.Model): name = db.StringProperty() date_posted = db.DateTimeProperty() date_expired = db.DateTimeProperty() sample data: name | date_posted | date_expired | item-a | 2-jan-2000| 6-jan-20

[google-appengine] Re: Inequality and Order Limitation

2008-09-01 Thread ade
Oops, I wrote the wrong last table, it should be : name | date_posted | date_expired | item-b | 5-jan-2000| 7-jan-2000| item-d | 4-jan-2000| 8-jan-2000| item-a | 2-jan-2000| 6-jan-2000| item-c | 1-jan-2000| 8-jan-2000| On Sep 2, 10:30 am, ade <[EMAIL PROTEC

[google-appengine] Re: Inequality and Order Limitation

2008-09-01 Thread Alexander Kojevnikov
You can add and maintain a flag - is_expired - and filter by its value. You can then order by date_posted. The trick is of course in keeping the flag up to date, this is not straightforward until GAE adds support for background tasks. Check issue 6 for possible workarounds: http://code.google.com

[google-appengine] Re: check if in transaction?

2008-09-01 Thread dobee
On Sep 2, 1:17 am, ryan <[EMAIL PROTECTED]> wrote: > having said that, the python API already detects and prohibits nested > transactions. from the beginning of RunInTransaction() in > datastore.py: > >   if _CurrentTransactionKey(): >     raise datastore_errors.BadRequestError( >       'Nested

[google-appengine] Re: server time zone: datetime.utcnow() or now()?

2008-09-01 Thread Waldemar Kornewald
Hi Ryan, On 2 Sep., 00:44, ryan <[EMAIL PROTECTED]> wrote: > hi waldemar! as mentioned in the docs, both the SDK and the production > environment always use UTC: Thanks! I've read that part in the documentation, but didn't understand it. For example, it says: "If the datetime value has a tzinfo