Differences between revisions 1 and 2
Revision 1 as of 2007-01-11 10:51:21
Size: 754
Editor: MaxThiercy
Comment:
Revision 2 as of 2007-01-11 10:54:13
Size: 746
Editor: MaxThiercy
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
When working with SOAPpy 0.12.0 (and Python 2.4.x), py2exe achieved to retrieve all the modules (SOAPpy, fpconst, etc) except for the drivers. This results in having an exception during execution with the message "No Parsers Found". When working with SOAPpy 0.12.0 (and Python 2.4.x), py2exe achieves to retrieve all the modules
(pyXML, fpconst, SOAPpy) except for the drivers. This results in having an exception during execution with the message "No Parsers Found".
Line 4: Line 5:
The simplest way to solve this is to add explicitly the path to the drivers ('''_xmlplus.sax.drivers2.*''') into the py2exe options. For exemple : A way to solve this is to add explicitly the path to the drivers ('''_xmlplus.sax.drivers2.*''') into the py2exe options. For exemple :

SOAPpy and py2exe

When working with SOAPpy 0.12.0 (and Python 2.4.x), py2exe achieves to retrieve all the modules (pyXML, fpconst, SOAPpy) except for the drivers. This results in having an exception during execution with the message "No Parsers Found".

A way to solve this is to add explicitly the path to the drivers (_xmlplus.sax.drivers2.*) into the py2exe options. For exemple :

setup(
    options = {"py2exe": { "compressed": 1,
                           "optimize": 2,
                           "ascii": 1,
                           "bundle_files": 1,
                           "includes": [ "encodings.utf_8", "_xmlplus.sax.drivers2.*" ] }},
    zipfile = None,
    windows = [MyAppWithSOAP]
    )

py2exeAndSOAPpy (last edited 2008-07-08 11:27:43 by localhost)