On Tue, May 19, 2009 at 12:11 PM, Giovanni Bajo <[email protected]> wrote: > > On 5/19/2009 9:05 PM, Filip Defoort wrote: >>>> 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? >> >> I bundled it on OpenSUSE 10.2; but the customer that's reporting the >> issue is using CentOS 5.3 (I'm in the process of downloading a clean >> CentOS 5.3 so can't try it on that OS myself yet; however they sent me >> a screenshot of the exact output so I'm quite sure the problem is >> there). > > If you manage to reproduce the problem and can give me SSH access to > that virtual machine, it'd be great. >
I'll let you know once I download/installed/reproduced... (taking a while to download all the CDs...) > > Do you maybe have your custom import hook that brings in _xmlplus? > Yes. > You shouldn't never name "_xmlplus". The package is always called "xml", > and the _xmlplus *directory* gets brought in through a hack with __path__. > Ok, I'll take that stuff out again from hook-SOAPpy.py (but it gave the same error before I added the hook) > >> 'xml.sax.drivers': (True, 665053L, 186), >> 'xml.sax.drivers.drv_htmllib': (False, 1044934L, 902), >> 'xml.sax.drivers.drv_pyexpat': (False, 221211L, 3060), >> 'xml.sax.drivers.drv_sgmllib': (False, 343847L, 833), >> 'xml.sax.drivers.drv_sgmlop': (False, 1267818L, 1661), >> 'xml.sax.drivers.drv_xmldc': (False, 631822L, 2223), >> 'xml.sax.drivers.drv_xmllib': (False, 1236803L, 1771), >> 'xml.sax.drivers.drv_xmlproc': (False, 520750L, 2398), >> 'xml.sax.drivers.drv_xmlproc_val': (False, 701657L, 1253), >> 'xml.sax.drivers.drv_xmltoolkit': (False, 123362L, 1640), >> 'xml.sax.drivers.pylibs': (False, 599559L, 1917), >> 'xml.sax.drivers2': (True, 1242887L, 187), >> 'xml.sax.drivers2.drv_pyexpat': (False, 714406L, 308), >> 'xml.sax.drivers2.drv_xmlproc': (False, 1039998L, 4936), > > This is correct. I'm really surprised it doesn't work on the target > machine then, as xml.sax.saxexts just does a regular "__import__". Hm. Odd indeed. I'll keep you posted once I gave CentOS running here. - Filip --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
