PyObjC with PyInstaller

Trevor Bentley <[email protected]>
Newsgroups gmane.comp.python.pyobjc.devel
Message-ID <[email protected]>
Hello,

I know this is more of a question for the PyInstaller mailing list, but
I wanted to check here and see if anyone has successfully used PyObjC
with PyInstaller?

I'm trying to create a PyInstaller package with PyTTSx (text-to-speech
module), which uses PyObjC, but it seems that some dynamic imports
related to the PyObjC "bridgesupport" module are failing.  The
PyInstaller package is made successfully, but I get the following
exception at runtime:

------------------------------
  File
"/Users/<path>/pyinstaller/test/build/pyi.darwin/test/outPYZ1.pyz/pyttsx.engine",
line 45, in __init__
  File
"/Users/<path>/pyinstaller/test/build/pyi.darwin/test/outPYZ1.pyz/pyttsx.driver",
line 64, in __init__
  File "/Users/<path>/pyinstaller/PyInstaller/iu.py", line 431, in
importHook
    mod = _self_doimport(nm, ctx, fqname)
...
... <lots of iu.py stuff>
...
  File
"/Users/<path>/pyinstaller/test/build/pyi.darwin/test/outPYZ1.pyz/CoreFoundation",
line 19, in <module>
  File
"/Users/<path>/pyinstaller/test/build/pyi.darwin/test/outPYZ1.pyz/objc._bridgesupport",
line 156, in initFrameworkWrapper
  File
"/Users/<path>/pyinstaller/test/build/pyi.darwin/test/outPYZ1.pyz/objc._bridgesupport",
line 58, in _parseBridgeSupport
ValueError: Don't know CF type for typestr '^{__CFAllocator=}', cannot
create special wrapper
------------------------------

Any information on this would help!  I'm willing to hack around dynamic
loading entirely if I can figure out a reasonable way.

Thanks,

Trevor

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.