I'm trying to package my application, I have encountered this issue:
basically pyinstaller tries to check for a md5sum of an empty-string
filename, causing in an exception. I have no idea on what is causing the
issue.
Can you help me fix this problem?
C:\Users\Gabriele\Documents\GitHub\chemlab>pyinstaller te.py
29 INFO: wrote C:\Users\Gabriele\Documents\GitHub\chemlab\te.spec
46 INFO: Testing for ability to set icons, version resources...
55 INFO: ... resource update available
59 INFO: UPX is not available.
82 INFO: Processing hook hook-os
210 INFO: Processing hook hook-time
216 INFO: Processing hook hook-cPickle
282 INFO: Processing hook hook-_sre
407 INFO: Processing hook hook-cStringIO
499 INFO: Processing hook hook-encodings
515 INFO: Processing hook hook-codecs
936 INFO: Processing hook hook-httplib
944 INFO: Processing hook hook-email
1059 INFO: Processing hook hook-email.message
1323 WARNING: library python%s%s required via ctypes not found
1476 INFO: Extending PYTHONPATH with
C:\Users\Gabriele\Documents\GitHub\chemlab
1477 INFO: checking Analysis
2078 INFO: checking PYZ
2230 INFO: checking PKG
2234 INFO: building because
C:\Users\Gabriele\Documents\GitHub\chemlab\build\te\te.exe.manifest changed
2236 INFO: building PKG (CArchive) out00-PKG.pkg
2263 INFO: checking EXE
2265 INFO: rebuilding out00-EXE.toc because pkg is more recent
2266 INFO: building EXE from out00-EXE.toc
2269 INFO: Appending archive to EXE
C:\Users\Gabriele\Documents\GitHub\chemlab\build\te\te.exe
2276 INFO: checking COLLECT
WARNING: The output directory
"C:\Users\Gabriele\Documents\GitHub\chemlab\dist\te" and ALL ITS CONTENTS
will be REMOVE
y/n)y
5082 INFO: Removing dir C:\Users\Gabriele\Documents\GitHub\chemlab\dist\te
5125 INFO: building COLLECT out00-COLLECT.toc
Traceback (most recent call last):
File "C:\Users\Gabriele\Anaconda\Scripts\pyinstaller-script.py", line 9,
in <module>
load_entry_point('PyInstaller==2.1', 'console_scripts', 'pyinstaller')()
File "C:\Users\Gabriele\Anaconda\lib\site-packages\PyInstaller\main.py",
line 88, in run
run_build(opts, spec_file, pyi_config)
File "C:\Users\Gabriele\Anaconda\lib\site-packages\PyInstaller\main.py",
line 46, in run_build
PyInstaller.build.main(pyi_config, spec_file, **opts.__dict__)
File "C:\Users\Gabriele\Anaconda\lib\site-packages\PyInstaller\build.py",
line 1924, in main
build(specfile, kw.get('distpath'), kw.get('workpath'),
kw.get('clean_build'))
File "C:\Users\Gabriele\Anaconda\lib\site-packages\PyInstaller\build.py",
line 1873, in build
execfile(spec)
File "C:\Users\Gabriele\Documents\GitHub\chemlab\te.spec", line 22, in
<module>
name='te')
File "C:\Users\Gabriele\Anaconda\lib\site-packages\PyInstaller\build.py",
line 1379, in __init__
self.__postinit__()
File "C:\Users\Gabriele\Anaconda\lib\site-packages\PyInstaller\build.py",
line 309, in __postinit__
self.assemble()
File "C:\Users\Gabriele\Anaconda\lib\site-packages\PyInstaller\build.py",
line 1412, in assemble
dist_nm=inm)
File "C:\Users\Gabriele\Anaconda\lib\site-packages\PyInstaller\build.py",
line 842, in checkCache
digest = cacheDigest(fnm)
File "C:\Users\Gabriele\Anaconda\lib\site-packages\PyInstaller\build.py",
line 796, in cacheDigest
data = open(fnm, "rb").read()
IOError: [Errno 22] invalid mode ('rb') or filename: ''
--
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/groups/opt_out.