I've had an issue for some time which prevents me from using the current trunk. See the ouput from my executable built in debug mode:
KidA% ./PrWebServices
thisfile is ./PrWebServices
_MEIPASS2 (workpath) is NULL
homepath is ./
Extracting binaries
Executing self as child with LD_LIBRARY_PATH=/var/folders/gD/gDkFCkxTGOyzotDoOXSAY++++TI/-Tmp-//_MEILzo0ym
DYLD_LIBRARY_PATH=/var/folders/gD/gDkFCkxTGOyzotDoOXSAY++++TI/-Tmp-//_MEILzo0ym:/Users/jkp/Development/Prestige/git/Deliver/Debug
thisfile is ./PrWebServices
_MEIPASS2 (workpath) is /var/folders/gD/gDkFCkxTGOyzotDoOXSAY++++TI/-Tmp-//_MEILzo0ym/
homepath is ./
Already have a workpath - running!
/var/folders/gD/gDkFCkxTGOyzotDoOXSAY++++TI/-Tmp-//_MEILzo0ym/Python
Manipulating evironment
PYTHONPATH=/var/folders/gD/gDkFCkxTGOyzotDoOXSAY++++TI/-Tmp-//_MEILzo0ym:.
importing modules from CArchive
extracted iu
extracted struct
extracted archive
Installing import hooks
outPYZ3.pyz
Running scripts
Traceback (most recent call last):
File "<string>", line 18, in <module>
File "/Users/jkp/Development/Prestige/git/Build/Env/tools/pyinstaller/iu.py", line 430, in importHook
mod = _self_doimport(nm, ctx, fqname)
File "/Users/jkp/Development/Prestige/git/Build/Env/tools/pyinstaller/iu.py", line 515, in doimport
exec co in mod.__dict__
File "/Users/jkp/Development/Prestige/git/Build/Temp/Debug/Python/Projects/PrWebServiceBridge/soap.py", line 18, in <module>
from soaplib.serializers.primitive import String, Integer, DateTime, Null
File "/Users/jkp/Development/Prestige/git/Build/Env/tools/pyinstaller/iu.py", line 430, in importHook
mod = _self_doimport(nm, ctx, fqname)
File "/Users/jkp/Development/Prestige/git/Build/Env/tools/pyinstaller/iu.py", line 515, in doimport
exec co in mod.__dict__
File "/Users/jkp/Development/Prestige/git/Build/Temp/Debug/Python/Projects/PrWebServiceBridge/build/pyi.darwin/exe/outPYZ3.pyz/soaplib.serializers.primitive", line 7, in <module>
File "/Users/jkp/Development/Prestige/git/Build/Env/tools/pyinstaller/iu.py", line 449, in importHook
raise ImportError, "No module named %s" % fqname
ImportError: No module named pytz
RC: -1 from main
OK.
Back to parent...
I try to leave the detection of pytz to PyInstaller but its no good: it cant seem to pick it up correctly. In this case I'm explicitly setting it using hiddenimports but still no luck. Any clues? This is the case for me on both win32 and osx.
Thanks
--
Jamie Kirkpatrick
07818 422311