[XML-SIG] raise _exceptions.SAXReaderNotAvailable

Francois-regis Chalaoux Francois-regis.Chalaoux@sanofi-synthelabo.com
Tue, 12 Mar 2002 17:43:13 +0100


Hi All,

We copied all Python stuff from one development sun machine to production sun machine (a bit stronger : ram , proc, etc ...). Yes, There is no compiler on this latest machine so we also copied _xmlplus package, without a new compilation.
The code is working on the development machine.

I give you these details cause it seems to be the only difference bettween the 2 machines. 

On the production machine I got now an error when using the "same" xml librairies ?
Above is tracback.

Any idea ?

Cheers, FR.

Config
=====
Python-2.1.1
_xmlplus-0.7
sunos 5.8

Traceback
=========

Traceback (most recent call last):
  File "/usr/Micromass/GlobalServer/V1.1/WebServer/Apache/cgi-bin/masse/sgxml/co
nfirm_archive.py", line 82, in ?
    py_obj = XML_Objectify(file).make_instance()
  File "../../lib/xml_objectify.py", line 218, in __init__
  File "/usr/local/lib/python2.1/site-packages/_xmlplus/dom/minidom.py", line 96
5, in parseString
  File "/usr/local/lib/python2.1/site-packages/_xmlplus/dom/minidom.py", line 95
1, in _doparse
  File "/usr/local/lib/python2.1/site-packages/_xmlplus/dom/pulldom.py", line 34
1, in parseString
  File "/usr/local/lib/python2.1/site-packages/_xmlplus/sax/sax2exts.py", line 3
4, in make_parser
    return XMLParserFactory.make_parser(parser_list)
  File "/usr/local/lib/python2.1/site-packages/_xmlplus/sax/saxexts.py", line 64
, in make_parser
    return self._create_parser(parser_name)
  File "/usr/local/lib/python2.1/site-packages/_xmlplus/sax/saxexts.py", line 43
, in _create_parser
    return drv_module.create_parser()
  File "/usr/local/lib/python2.1/site-packages/_xmlplus/sax/saxexts.py", line 74
, in _create_parser
    raise _exceptions.SAXReaderNotAvailable
TypeError: __init__() takes at least 2 arguments (1 given)