Hi Nick,

I am wondering if you could handle this issue, because I am having the same 
thing

thanks :)



El jueves, 26 de julio de 2012 06:57:22 UTC-5, Nordenmark escribió:
>
> Hi there, 
>
> I'm on Windows trying to bundle a pretty extensive application that uses 
> wx, numpy, scipy, scikits-image and reportlab.
>
> Python version is 2.7.3
>
> It builds without any complaints (tested both -D and -F):
>
> C:\Users\IEUser\Desktop\pyinstaller>python pyinstaller.py -y -D -d -w 
> c:\Users\IEUser\Desktop\sasdm\sasdm.py
> 370 INFO: wrote C:\Users\IEUser\Desktop\pyinstaller\sasdm\sasdm.spec
> 821 INFO: Testing for ability to set icons, version resources...
> 1021 INFO: ... resource update available
> 1031 INFO: UPX is not available.
> 3655 INFO: checking Analysis
> 5357 INFO: checking PYZ
> 5718 INFO: checking PKG
> 5988 INFO: building because 
> C:\Users\IEUser\Desktop\pyinstaller\sasdm\build\pyi.win32\sasdm\sasdm.exe.manifest
>  
> changed
> 5988 INFO: building PKG out00-PKG.pkg
> 6349 INFO: checking EXE
> 6359 INFO: building because name changed
> 6359 INFO: building EXE from out00-EXE.toc
> 6479 INFO: Appending archive to EXE 
> C:\Users\IEUser\Desktop\pyinstaller\sasdm\build\pyi.win32\sasdm\sasdm.exe
> 6549 INFO: checking COLLECT
> 6549 INFO: Removing dir 
> C:\Users\IEUser\Desktop\pyinstaller\sasdm\dist\sasdm
> 7481 INFO: building COLLECT out00-COLLECT.toc
>
> But when run, it complains in the following manner:
>
> _MEIPASS2 is NULL
> archivename is C:\Users\IEUser\Desktop\pyinstaller\sasdm\dist\sasdm.exe
> Extracting binaries
> Executing self as child with Setting up to run child
> Creating child process
> _MEIPASS2 is C:/Users/IEUser/AppData/Local/Temp/_MEI16562/
> archivename is C:\Users\IEUser\Desktop\pyinstaller\sasdm\dist\sasdm.exe
> Already in the child - running!
> manifestpath: 
> C:/Users/IEUser/AppData/Local/Temp/_MEI16562/sasdm.exe.manifest
> Waiting for child process to finish...
> Activation context created
> Activation context activated
> C:/Users/IEUser/AppData/Local/Temp/_MEI16562/python27.dll
> Manipulating evironment
>
> PYTHONPATH=C:/Users/IEUser/AppData/Local/Temp/_MEI16562;C:/Users/IEUser/Desktop/pyinstaller/sasdm/dist
> PYTHONHOME=C:/Users/IEUser/AppData/Local/Temp/_MEI16562/
> importing modules from CArchive
> extracted iu
> extracted struct
> extracted archive
> Installing import hooks
> out00-PYZ.pyz
> Running scripts
> Traceback (most recent call last):
>   File "<string>", line 10, in <module>
>   File "C:\Users\IEUser\Desktop\pyinstaller\PyInstaller\loader\iu.py", 
> line 386,
>  in importHook
>     mod = _self_doimport(nm, ctx, fqname)
>   File "C:\Users\IEUser\Desktop\pyinstaller\PyInstaller\loader\iu.py", 
> line 480,
>  in doimport
>     exec co in mod.__dict__
>   File 
> "C:\Users\IEUser\Desktop\pyinstaller\sasdm\build\pyi.win32\sasdm\out00-PYZ.pyz\cell_analysis",
>  
> line 13, in <module>
>   File "C:\Users\IEUser\Desktop\pyinstaller\PyInstaller\loader\iu.py", 
> line 431,
>  in importHook
>     mod = self.doimport(nm, ctx, ctx + '.' + nm)
>   File "C:\Users\IEUser\Desktop\pyinstaller\PyInstaller\loader\iu.py", 
> line 480,
>  in doimport
>     exec co in mod.__dict__
>   File 
> "C:\Users\IEUser\Desktop\pyinstaller\sasdm\build\pyi.win32\sasdm\out00-PYZ.pyz\skimage.data",
>  
> line 11, in <module>
>   File "C:\Users\IEUser\Desktop\pyinstaller\PyInstaller\loader\iu.py", 
> line 386,
>  in importHook
>     mod = _self_doimport(nm, ctx, fqname)
>   File "C:\Users\IEUser\Desktop\pyinstaller\PyInstaller\loader\iu.py", 
> line 480,
>  in doimport
>     exec co in mod.__dict__
>   File 
> "C:\Users\IEUser\Desktop\pyinstaller\sasdm\build\pyi.win32\sasdm\out00-PYZ.pyz\
> skimage.io", line 76, in <module>
>   File 
> "C:\Users\IEUser\Desktop\pyinstaller\sasdm\build\pyi.win32\sasdm\out00-PYZ.pyz\
> skimage.io", line 56, in _update_doc
> ValueError: max() arg is an empty sequence
> RC: -1 from sasdm
> OK.
> Deactivating activation context
> Releasing activation context
> Done
> Back to parent...
> Freeing status for C:\Users\IEUser\Desktop\pyinstaller\sasdm\dist\sasdm.exe
>
> ------
> The error printouts leads me to believe that there's something wrong with 
> scikits-image (skimage) but I'm clueless. Has anyone experienced anything 
> similar?
>
> Regards,
> Nick
>

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.

Reply via email to