[google-appengine] Re: necessary libs for parsing json?

2009-06-14 Thread Sylvain
simplejson is included with django (and so with GAE) or you can use any other pure python libraries : http://deron.meranda.us/python/comparing_json_modules/ On 15 juin, 00:58, Alkis Evlogimenos ('Αλκης Ευλογημένος) wrote: > It is part of the bundled django (from django.utils import simplejson).

[google-appengine] Re: SQL-Join in GAE

2009-06-14 Thread David Symonds
On Sun, Jun 14, 2009 at 1:12 PM, NealWalters wrote: > The one thing I haven't seen discussed though is that you cannot do an > order-by on fields from both tables. You do that by copying the relevant fields to the "child" entities (the "m" side of the 1-m relationship). Dave. --~--~-~

[google-appengine] Response to message on App Engine Status Page (was Re: Unable to reach any application, packets being lost in google infrastructure)

2009-06-14 Thread WeatherPhilip
Well, it appears that they have (finally) fixed the problem after a day and a half. The comment in the status blog is: > We have determined that this spike did not affect the performance > or uptime of applications. If you feel we have incorrectly diagnosed > this issue please inform us by postin

[google-appengine] Re: necessary libs for parsing json?

2009-06-14 Thread 'Αλκης Ευλογημένος
It is part of the bundled django (from django.utils import simplejson). You can also drop in simplejson in your project directory and use it directly. On Mon, Jun 15, 2009 at 12:02 AM, deostroll wrote: > > Does the appengine have python support for parsing json-ed data? > > --deostroll > > > -

[google-appengine] necessary libs for parsing json?

2009-06-14 Thread deostroll
Does the appengine have python support for parsing json-ed data? --deostroll --~--~-~--~~~---~--~~ 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@googlegrou

[google-appengine] Re: SQL-Join in GAE

2009-06-14 Thread NealWalters
In InvoiceDetails add this: invoice = db.ReferenceProperty(Invoice, collection_name='invoice- invoicedetails') For more details see this video and/or slides with full code examples: http://sites.google.com/site/io/working-with-google-app-engine-models The one thing I haven't seen discussed th

[google-appengine] Using the admin development console to change values in rows with blobs

2009-06-14 Thread NealWalters
On the Windows dev-app-server admin tool, I cannot edit any table that have Blob fields on them. I get to the edit screen, but I try to change a simple string field, and get this error: Traceback (most recent call last): File "c:\Program Files\Google\google_appengine\google\appengine\ext \weba

[google-appengine] Re: Performance: Datastore writes vs. logging writes

2009-06-14 Thread Henning
Thanks, Datastore is safer and easier to handle for datamining that is for sure. But as this information is not critical, I worry more about performance. Memcache is probably fastest but also most complicated. So how do these three methods compare in terms of performance? Is it - Memcache: 1ms -

[google-appengine] Re: Performance: Datastore writes vs. logging writes

2009-06-14 Thread Sylvain
DB Or you can store it in memcache (not safe but fast) Or you can use both : save in Memchache then use a job that checks it and store in DB. Or Google Analytics ;) It depends if you need to log a _LOT_ or not and if this info is _VERY_ important or only FI. Regards. On 14 juin, 19:27, pranny

[google-appengine] Re: How to access form input where type="File"

2009-06-14 Thread pranny
Your content will be stored in self.request.get('datafile'). Now use any XML parser On Jun 12, 8:29 am, Gaurav wrote: > Hi, > > I am using google app engine and i intend to read an XML file provided > by HTML. I saw the  standard example on google app engine doc. I am > also using the HTML form

[google-appengine] Re: Performance: Datastore writes vs. logging writes

2009-06-14 Thread pranny
Speaking in terms of 'data mining' that you might be doing from the user's action logs, i would recommend data store writes ! -- Pranav Prakash On Jun 14, 9:28 pm, Henning wrote: > We want to collect usage statistics with our app. > Therefore, we want to track user actions somewhere on the serv

[google-appengine] Deep entity groups and long key strings

2009-06-14 Thread Jeff Enderwick
I have possibly deep entity groups (think tree structure), but I want a URL where the user can go to a specific node, like: http://viewnode/. I'd like to use db.get() to directly access the node rather than query based on node-id. If I build the URL based on str(node.key()), then the strings ca

[google-appengine] Performance: Datastore writes vs. logging writes

2009-06-14 Thread Henning
We want to collect usage statistics with our app. Therefore, we want to track user actions somewhere on the server side. Which option is more suitable, performance-wise: 1. Track user actions in the App Engine Log, i.e. write a log entry each time. Evaluate the logs for usage statistics. 2. Track

[google-appengine] Re: Unable to reach any application, packets being lost in google infrastructure

2009-06-14 Thread WeatherPhilip
The status page shows that they are have serious problems, but I guess that they don't work over the weekend. Maybe someone will come in on Monday morning and take a look at it. I wonder how the people who pay for service deal with this type of issue. Actually, since one of my apps will (as of Ju

[google-appengine] Re: Shorten keys on URLs

2009-06-14 Thread Devel63
Use the key_name or key_id in the URL, then use Model.get_by_key_name or db.Key.from_path to get the entity when asked. On Jun 13, 4:05 pm, david wrote: > Hello everyone, > > I've been looking for a way to shorten keys on URLs, for example: I > learned that an entity key is built from the app id

[google-appengine] Re: Unable to reach any application, packets being lost in google infrastructure

2009-06-14 Thread Peter Recore
looks i spoke too soon. I'm back to being unable to reach appgallery.appspot.com On Jun 14, 8:55 am, Peter Recore wrote: > I can now access app engine sites again. > As of yesterday though, my buddy with Verizon FIOS, also in the boston > area, could not accesss them either. > > On Jun 13, 10:5

[google-appengine] Re: Unable to reach any application, packets being lost in google infrastructure

2009-06-14 Thread Peter Recore
I can now access app engine sites again. As of yesterday though, my buddy with Verizon FIOS, also in the boston area, could not accesss them either. On Jun 13, 10:51 am, Peter Recore wrote: > one more data point - i can access appspot.com pages fine through my > work network (also boston based)

[google-appengine] Datastore that dev_appserver.py works with isn't the same as what ./manage.py shell sees

2009-06-14 Thread Tom Smith
I'm having an issue that seems to knock on all over the place... For example, if I run "dev_appserver.py ."It runs fine and using the web console I can add records. But then if I use ./manage.py shell and import the models, there's no data in them. Whilst in the shell, I can kind of ... fro

[google-appengine] Re: SMS Verfication Troubles

2009-06-14 Thread Knight Samar
Hi Nick! Thanks a ton for the quick help! :) On Jun 11, 4:39 pm, "Nick Johnson (Google)" wrote: > Hi Knight, > > Your account should now be activated. > > -Nick Johnson > > On Wed, Jun 10, 2009 at 2:33 PM, Knight Samar wrote: > > > Hi, > > > I am facing the same problem too. I have posted the

[google-appengine] Re: Calculate CPU Hours that app will use

2009-06-14 Thread CarstenN
I'm interested in the same. I know that you can get the clock-cycles a request used so far by calling quota.get_request_cpu_usage(), but I don't find this to be very useful as an absolute measurement. The docs state (on the quota page): 'CPU time is reported in "seconds," which is equivalent to t

[google-appengine] Re: Too Many Versions (403)

2009-06-14 Thread Philippe
after today's reset, not better. It was my last hope ! here is my app ID : dicoillico I hope someone at google can help me finding what is wrong. On Jun 14, 8:00 am, Philippe wrote: > if it helps to solve my problem. > On the dashboard of my app, I get that message : Your application is > excee