hi,
i tried this script on debian etch with python2.4-libxml
but it dosn't work ...
Converting character references... Done.
Generating output...Traceback (most recent call last):
File "./anope-import.py", line 775, in ?
main()
File "./anope-import.py", line 47, in main
p.parse(tempname)
File "/usr/lib/python2.4/site-packages/_xmlplus/sax/drivers/drv_xmlproc.py", line 31, in parse
self.parser.parse_resource(sysID)
File "/usr/lib/python2.4/site-packages/_xmlplus/parsers/xmlproc/xmlutils.py", line 128, in parse_resource
self.read_from(infile,bufsize)
File "/usr/lib/python2.4/site-packages/_xmlplus/parsers/xmlproc/xmlutils.py", line 203, in read_from
self.feed(buf)
File "/usr/lib/python2.4/site-packages/_xmlplus/parsers/xmlproc/xmlutils.py", line 332, in feed
self.do_parse()
File "/usr/lib/python2.4/site-packages/_xmlplus/parsers/xmlproc/xmlproc.py", line 91, in do_parse
self.parse_end_tag()
File "/usr/lib/python2.4/site-packages/_xmlplus/parsers/xmlproc/xmlproc.py", line 357, in parse_end_tag
self.app.handle_end_tag(name)
File "/usr/lib/python2.4/site-packages/_xmlplus/sax/drivers/drv_xmlproc.py", line 77, in handle_end_tag
self.doc_handler.endElement(name)
File "./anope-import.py", line 421, in endElement
self.parser.next()
File "./anope-import.py", line 100, in parse
raise Exception("unknown language: %s" % self.got_text)
Exception: unknown language: 0