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

2009-06-15 Thread Scott Seely
Here is an example from my own code. I have an object: from google.appengine.ext import db from Owner import Owner class ImageFile(db.Model): owner = db.ReferenceProperty(Owner) caption = db.StringProperty() description = db.TextProperty() image = db.BlobProperty() date =

[google-appengine] Re: DeadlineExceededException - how to avoid?

2009-06-04 Thread Scott Seely
) small enough pieces to not exceed that time limit. I'll keep investigating other approaches, thanks Scott. -J On Jun 3, 11:17 am, Scott Seely sc...@scottseely.com wrote: You have access to cron jobs which can handle long running work. Seehttp://code.google.com/appengine/docs/java/config

[google-appengine] Re: Can we develop a web service using the AppEngine API

2009-06-04 Thread Scott Seely
For Web Service, do you mean WS-*/SOAP or just a simple REST service? In either case, the answer is yes, though REST will probably be easier. I've developed a ton of REST calls using the Python GAE bits. -Original Message- From: google-appengine@googlegroups.com

[google-appengine] Re: I got a problem with Appengine + Flex-HttpService

2009-03-04 Thread Scott Seely
Fiddler2 should help with the IE traffic. Firebug can help you track the FF traffic From: google-appengine@googlegroups.com [mailto:google-appeng...@googlegroups.com] On Behalf Of ??? Sent: Tuesday, March 03, 2009 8:04 PM To: google-appengine@googlegroups.com Subject: [google-appengine]

[google-appengine] Re: Advice on dealing with high CPU consumption in fetch + parse script

2009-02-25 Thread Scott Seely
Are you doing anything other than parsing the XML? Also, how big is the Atom feed? 10MB? Also, are you using a DOM parser or stream based? Stream based will be a bit faster. Finally, how long does it take you to parse, say, 100 Atom entries using your code? I would expect the time to be on

[google-appengine] Re: chunked transfer encoding

2009-02-22 Thread Scott Seely
Nope-- self.request.get is correct. The code should be in a post handler, something like this: class YourPage(webapp.RequestHandler): def post(self): theContent = self.request.get('content') # code to do something with the item... Sorry I don't have anything more to