Hi All,
I am trying to use these Spec-file with PyInstaller:
# -*- mode: python -*-
>
a = Analysis(['/home/[...]/Simpliciter 3.4/src/simpliciter.py'],
>
pathex=[],
>
hiddenimports=[],
>
hookspath=None,
>
runtime_hooks=None)
>
pyz = PYZ(a.pure)
>
exe = EXE(pyz,
>
a.scripts,runtime
>
a.binaries,
>
a.zipfiles,
>
a.datas,
>
name=dummy,
>
debug=True,
>
strip=None,
>
upx=True,
>
console=True )
>
> I get with PyInstaller 2.1 this traceback:
Exception in thread Thread-1:
>
Traceback (most recent call last):
>
File "/usr/lib64/python2.7/threading.py", line 810, in __bootstrap_inner
>
self.run()
>
File "/home/[...]/PySaved2/src/PySaved/builder/__init__.py", line 20, in run
>
self.rt.pyinstallerrun(pyi_args=self.args)
>
File "/home/[...]/PySaved2/src/PySaved/PyInstaller/main.py", line 88, in run
>
run_build(opts, spec_file, pyi_config)
>
File "/home/[...]/PySaved2/src/PySaved/PyInstaller/main.py", line 46, in
> run_build
>
PyInstaller.build.main(pyi_config, spec_file, **opts.__dict__)
>
File "/home/[...]/PySaved2/src/PySaved/PyInstaller/build.py", line 1924, in
> main
>
build(specfile, kw.get('distpath'), kw.get('workpath'),
> kw.get('clean_build'))
>
File "/home/[...]/PySaved2/src/PySaved/PyInstaller/build.py", line 1873, in
> build
>
execfile(spec)
>
File "/tmp/PySaved/pscc393bff/spec/fffff.spec", line 17, in <module>
>
console=True )
>
File "/home/[...]/PySaved2/src/PySaved/PyInstaller/build.py", line 1170, in
> __init__
>
strip_binaries=self.strip, upx_binaries=self.upx,
>
File "/home/[...]/PySaved2/src/PySaved/PyInstaller/build.py", line 1008, in
> __init__
>
self.__postinit__()
>
File "/home/[...]/PySaved2/src/PySaved/PyInstaller/build.py", line 309, in
> __postinit__
>
self.assemble()
>
File "/home/[...]/PySaved2/src/PySaved/PyInstaller/build.py", line 1069, in
> assemble
>
archive.build(self.name, mytoc)
>
File "/home/[...]/PySaved2/src/PySaved/PyInstaller/loader/pyi_archive.py",
> line 217, in build
>
self._finalize()
>
File "/home/[...]/PySaved2/src/PySaved/PyInstaller/loader/pyi_carchive.py",
> line 194, in _finalize
>
self.save_toc(toc_pos)
>
File "/home/[...]/PySaved2/src/PySaved/PyInstaller/loader/pyi_carchive.py",
> line 355, in save_toc
>
tocstr = self.toc.tobinary()
>
File "/home/[...]/PySaved2/src/PySaved/PyInstaller/loader/pyi_carchive.py",
> line 89, in tobinary
>
nmlen + entrylen, dpos, dlen, ulen, flag, typcd, nm + pad))
>
error: argument for 's' must be a string
Has anyone an idea what I am doing wrong?
Tank you!
--
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.