On 5/19/2009 8:43 PM, Filip Defoort wrote:
>> Uhm... are you using PyInstaller trunk, aren't you?
> 
> Yup.
> 
>> The following works correctly for me:
>>
>> ==========================================
>> import xml
>> print xml.__version__
>> import xml.sax
>> print xml.sax.make_parser()
>> print xml.sax.saxexts.__file__
>> ==========================================
>>
>> Basically, PyInstaller is correctly packaging and using files from the
>> _xmlplus directory (which is part of PyXML), instead of the standard xml
>> library. Moreover, it is correctly able to create the SAX parser, which
>> is the error that your traceback shows.
> 
> Hm. Maybe it's SOAPpy that is not correctly importing things ? 

It's got a simple "import xml.sax" at the top of Parser.py. I can't see 
how this can be wrong.

What OS are you running on?

Open the generated executable with ArchiveViewer.py, open the 
outPYZ1.pyz file and look at the list: does it contain all the xml.sax 
drivers?

Put some prints within hook-xml.py: does it detect the _xmlplus module 
correctly?
-- 
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