On 5/19/2009 7:51 PM, [email protected] wrote:
> Hi,
> 
> I'm trying to use PyInstaller on a python script that uses SOAPpy and
> I seem to be running into some roadblocks with the sax drivers (SOAPpy
> is using PyXML under the covers). The compiled application runs fine
> on my local machine, but not when I move it to a clean machine (that
> doesn't have SOAPpy and the likes installed in its python
> distribution).
> 
> The relevant part of the traceback is:
> File ".../SOAPpy.Client", line 454, in __call__
> File ".../SOAPpy.Client", line 476, in __r_call__
> File ".../SOAPpy.Client", line 380, in __call__
> File ".../SOAPpy.Parser", line 1006, in parseSOAPRPC
> File ".../SOAPpy.Parser", line 972, in parseSOAP
> File ".../xml.sax.sax2exts", line 37, in make_parser
> File ".../xml.sax.saxexts", line 77, in make_parser
> SAXReaderNotAvailable: No parsers found.
> 
> I tried adding a hook-SOAPpy.py to the hooks directory with hidden
> imports _xmlplus.sax.drivers2, _xmplus.sax.drivers, xml.sax.drivers,
> xml.sax.drivers2 but that doesn't seem to help the situation.

You can have a look at what hook-xml.sax.saxexts.py does. It's not 
sufficient to name the "drivers" package: you need to explicitly list 
all the submodules because they're not imported in the __init__ code of 
that package.

If this doesn't help, I need some help to reproduce your environment. I 
can't seem to find a SOAPpy download with an embedded pyxml 
distribution. Any hint on how to setup an environment like yours?
-- 
Giovanni Bajo
Develer S.r.l.
http://www.develer.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/PyInstaller?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to