I try "compile" tox for using inside coreos.
Main goal for me make fig <http://orchardup.github.io/fig/> and 
tox<https://pypi.python.org/pypi/tox>available on coreos.


The fig building is ok, but with tox I home some problem on binary run - 
AttributeError: 'module' object has no attribute 'std'

My versions

$ python -V
Python 2.7.6

$ pyinstaller -v
2.1.1dev-fd26e21

$ tox --version
1.7.1 ...

Building tox executable (see attach)

$ make dist/tox
pyinstaller --onefile ptox.py -n tox
10 INFO: wrote /home/user/job/whiteteam/figtox/tox.spec
42 INFO: UPX is not available.
73 INFO: Processing hook hook-os
225 INFO: Processing hook hook-time
228 INFO: Processing hook hook-cPickle
329 INFO: Processing hook hook-_sre
497 INFO: Processing hook hook-cStringIO
636 INFO: Processing hook hook-encodings
656 INFO: Processing hook hook-codecs
1143 INFO: Extending PYTHONPATH with /home/user/job/whiteteam/figtox
1144 INFO: checking Analysis
1144 INFO: building Analysis because out00-Analysis.toc non existent
1144 INFO: running Analysis out00-Analysis.toc
1171 INFO: Analyzing 
/home/user/.Envs/portabler/lib/python2.7/site-packages/PyInstaller/loader/_pyi_bootstrap.py
1187 INFO: Processing hook hook-os
1213 INFO: Processing hook hook-site
1234 INFO: Processing hook hook-encodings
1381 INFO: Processing hook hook-time
1384 INFO: Processing hook hook-cPickle
1490 INFO: Processing hook hook-_sre
1663 INFO: Processing hook hook-cStringIO
1820 INFO: Processing hook hook-codecs
2385 INFO: Processing hook hook-pydoc
2551 INFO: Processing hook hook-email
2629 INFO: Processing hook hook-httplib
2679 INFO: Processing hook hook-email.message
2753 INFO: Analyzing 
/home/user/.Envs/portabler/lib/python2.7/site-packages/PyInstaller/loader/pyi_importers.py
2813 INFO: Analyzing 
/home/user/.Envs/portabler/lib/python2.7/site-packages/PyInstaller/loader/pyi_archive.py
2872 INFO: Analyzing 
/home/user/.Envs/portabler/lib/python2.7/site-packages/PyInstaller/loader/pyi_carchive.py
2930 INFO: Analyzing 
/home/user/.Envs/portabler/lib/python2.7/site-packages/PyInstaller/loader/pyi_os_path.py
2936 INFO: Analyzing ptox.py
3189 INFO: Processing hook hook-distutils
3234 INFO: Processing hook hook-parser
3267 INFO: Processing hook hook-sysconfig
3365 INFO: Processing hook hook-xml
3396 INFO: Processing hook hook-xml.sax
3456 INFO: Processing hook hook-pyexpat
3552 INFO: Hidden import 'codecs' has been found otherwise
3552 INFO: Hidden import 'encodings' has been found otherwise
3552 INFO: Looking for run-time hooks
3553 INFO: Analyzing rthook 
/home/user/.Envs/portabler/lib/python2.7/site-packages/PyInstaller/loader/rthooks/pyi_rth_pkgres.py
4332 INFO: Using Python library /usr/lib/libpython2.7.so.1.0
4361 INFO: Warnings written to 
/home/user/job/whiteteam/figtox/build/tox/warntox.txt
4372 INFO: checking PYZ
4373 INFO: rebuilding out00-PYZ.toc because out00-PYZ.pyz is missing
4373 INFO: building PYZ (ZlibArchive) out00-PYZ.toc
5879 INFO: checking PKG
5879 INFO: rebuilding out00-PKG.toc because out00-PKG.pkg is missing
5880 INFO: building PKG (CArchive) out00-PKG.pkg
9313 INFO: checking EXE
9313 INFO: rebuilding out00-EXE.toc because tox missing
9313 INFO: building EXE from out00-EXE.toc
9314 INFO: Appending archive to EXE /home/user/job/whiteteam/figtox/dist/tox


Execute binary

$ dist/tox   
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File 
"/home/user/.Envs/portabler/lib/python2.7/site-packages/PyInstaller/loader/pyi_importers.py",
 
line 270, in load_module
    exec(bytecode, module.__dict__)
  File "/home/user/job/whiteteam/figtox/build/tox/out00-PYZ.pyz/tox", line 
23, in <module>
    1.��������f. �
  File 
"/home/user/.Envs/portabler/lib/python2.7/site-packages/PyInstaller/loader/pyi_importers.py",
 
line 270, in load_module
    exec(bytecode, module.__dict__)
  File 
"/home/user/job/whiteteam/figtox/build/tox/out00-PYZ.pyz/tox._cmdline", 
line 565, in <module>
AttributeError: 'module' object has no attribute 'std'


Sorry for my poor English.

-- 
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.

Attachment: figtox.tar.gz
Description: Binary data

Reply via email to