[XML-SIG] Re: [Python-Fr]bug : XmlprocDriver instance has no attribute 'feed'
????
Sylvain Thenault
Sylvain.Thenault@logilab.fr
Thu, 20 Dec 2001 09:39:55 +0100 (CET)
On Wed, 19 Dec 2001, Francois-regis Chalaoux wrote:
Hi,
I've just forwarded your message to the xml-sig mailing list, which handle
pyxml
cheers
Sylvain
> Hi,
> I parse a xml file with xml_objectify.py module. It is a very nice module transforming a xml file in python objects.
> You need to install PyXML to use the minidom module.
>
> Everything is ok on NT with python console or with an Apache server. But now, with a Sun machine, I only can run the same program on the console **but not through the Apache server** !!!
>
> For both OS I have PyXML-0.6.6 and Python 2.1.1 installed.
>
> On Sun got this error :
>
> Traceback (most recent call last):
> File "/usr/Micromass/GlobalServer/V1.1/WebServer/Apache/cgi-bin/masse/sgxml/test_xml.py", line 49, in ?
> py_obj = XML_Objectify(file).make_instance()
> File "../../lib/xml_objectify.py", line 218, in __init__
> self._dom = minidom.parseString(self._fh.read())
> File "/home/fr15903/lib/python2.1/site-packages/_xmlplus/dom/minidom.py", line 913, in parseString
> return _doparse(pulldom.parseString, args, kwargs)
> File "/home/fr15903/lib/python2.1/site-packages/_xmlplus/dom/minidom.py", line 900, in _doparse
> toktype, rootNode = events.getEvent()
> File "/home/fr15903/lib/python2.1/site-packages/_xmlplus/dom/pulldom.py", line 251, in getEvent
> self.parser.feed(buf)
> AttributeError: XmlprocDriver instance has no attribute 'feed'
>
>
> Any idea, FR.
>
> _______________________________________________
> Liste de diffusion Python - Python@aful.org
> http://www.aful.org/mailman/listinfo/python
>
--
Sylvain Thenault
LOGILAB http://www.logilab.org