I'm using PuInstaller with a PYQQt4 application and every thing works fine
except for the parsing of an xml file.
When I execute this code:
from xml.sax.handler import ContentHandler
from xml.sax import make_parser
def parsefile(file):
parser = make_parser( )
parser.setContentHandler(ContentHandler( ))
parser.parse(file)
I get this error:
'module' object has no attribute 'prepare_input_source'
I'm using the standard hooks files plus the PyQt4's ones.
I have:
hiddenimports =
['xml.sax.xmlreader','xml.sax.expatreader','xml.sax.saxutils']
into hook-xml-py
I added:
from xml.sax import saxutils
import xml.sax.saxutils
import xml.sax.expatreader
into my sepc file
but the error is still there.
What do I have to do?
ciao
Licia
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---