[google-appengine] Re: How to I use xml.sax in google app engine??

2008-09-11 Thread marc
Sorry about that. Next time I will RTFM first. .Marc On Sep 11, 1:08 am, marc <[EMAIL PROTECTED]> wrote: > Hi list, > > I'm just playing with the google app engine. But can't seem to get the > xml.sax to work :-( > > This is my code to read the xml: > > def returnTasks(xmldata): >     handler =

[google-appengine] Re: How to I use xml.sax in google app engine??

2008-09-11 Thread Ethan Post
Not sure what you found when you read the manual on this. I am parsing XML using xml.dom.minidom. However the error you got "no attribute unlink" is the same error I got all day yesterday trying to get GAE running with the latest version of Django and App Engine Helper. The error was being thrown i

[google-appengine] Re: How to I use xml.sax in google app engine??

2008-09-19 Thread rmz
On Sep 11, 2:38 pm, marc <[EMAIL PROTECTED]> wrote: > Sorry about that. > > Next time I will RTFM first. Which part of tfm was that? (Rmz) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group.

[google-appengine] Re: How to I use xml.sax in google app engine??

2008-09-19 Thread Wooble
On Sep 19, 5:32 pm, rmz <[EMAIL PROTECTED]> wrote: > On Sep 11, 2:38 pm, marc <[EMAIL PROTECTED]> wrote: > > > Sorry about that. > > > Next time I will RTFM first. > > Which part of tfm was that? > > (Rmz) I'd assume he meant the part of the GAE docs that explains you have no access to the file

[google-appengine] Re: How to I use xml.sax in google app engine??

2008-09-21 Thread acm
Hi Marc On Sep 11, 1:08 am, marc <[EMAIL PROTECTED]> wrote: > def returnTasks(xmldata): >     handler = TaskHandler() >     xml.sax.parseString(xmldata,handler) >     return handler.tasks > > I read the xmldata from a url with googles url fetch. > It works from command line. But when I run it in

[google-appengine] Re: How to I use xml.sax in google app engine??

2008-09-22 Thread rmz
On Sep 20, 2:48 am, Wooble <[EMAIL PROTECTED]> wrote: > On Sep 19, 5:32 pm, rmz <[EMAIL PROTECTED]> wrote: > > > On Sep 11, 2:38 pm, marc <[EMAIL PROTECTED]> wrote: > > > > Sorry about that. > > > > Next time I will RTFM first. > > > Which part of tfm was that? > > > (Rmz) > > I'd assume he mean

[google-appengine] Re: How to I use xml.sax in google app engine??

2008-09-22 Thread rmz
This code gives the same error as the examples above when I try it. Did you use more code than what is available in http://cibass.de/gae/AtomHandler.txt ? What fails is actually an assignment within the constructor of the URLopener class. The constructor refers to os.unlink, which fails, but I

[google-appengine] Re: How to I use xml.sax in google app engine??

2008-09-22 Thread acm
On 22 Sep., 15:04, rmz <[EMAIL PROTECTED]> wrote: > This code gives  the same error as the examples above when I try it. > Did you use more code than what is available > inhttp://cibass.de/gae/AtomHandler.txt > ? That is really confusing, because the AtomHandler works great on http://plgoals.app