I've also gotten errors trying to package kivy apps using pyinstaller , 
with the same results from
Mac OS X 10.6.4 and Mac OS X 10.10 Developer Preview 7.

I'm attaching 4 files from my terminal results. Two from each version of OS.
Did i miss something ?

Both are using Python 2.7.6 and PyInstaller 2.1

On Tuesday, August 26, 2014 10:38:56 AM UTC+2, Hartmut Goebel wrote:
>
>  Hi Jochem,
>
> Thanks for this report. I had had this problem, too, but was not able to 
> reproduce it. Perhaps you are able to give some more information, so we can 
> try solving this error.
>
> Your Python 2.7.5 was the one pre-installed by Apple, right? Did you use 
> any of setuptools, distribute and or pip in this setup? Can you tell, which 
> version of them?
>
> With your current working setup (2.7.8): Are you usin any of setuptools, 
> distribute and or pip in this setup? Can you tell, which version of them?
>
> Thanks in advance.
>  
> -- 
>  Schönen Gruß 
> Hartmut Goebel 
>  Dipl.-Informatiker (univ), CISSP, CSSLP
> Information Security Management, Security Governance, Secure Software 
> Development 
>
> Goebel Consult, Landshut 
> http://www.goebel-consult.de 
>
> Blog: http://www.goebel-consult.de/blog/kritik-an-change.org-datensammler 
> Kolumne: 
> http://www.cissp-gefluester.de/2011-02-fleisige-datensammler-fur-lukratives-geschaeftsmodell-gesucht
>  
>
> Goebel Consult ist Mitglied bei http://www.7-it.de/ 
>  

-- 
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.
Ronnies-MacBook-Pro:PyInstaller-2.1 ronnie$ kivy pyinstaller.py 
touchtracer/touchtracer.spec 
20 WARNING: You are running 64-bit Python: created binaries will only work on 
Mac OS X 10.6+.
If you need 10.4-10.5 compatibility, run Python as a 32-bit binary with this 
command:

    VERSIONER_PYTHON_PREFER_32_BIT=yes arch -i386 
/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python

4031 INFO: UPX is not available.
4045 INFO: Processing hook hook-os
4105 INFO: Processing hook hook-time
4107 INFO: Processing hook hook-cPickle
4147 INFO: Processing hook hook-_sre
4214 INFO: Processing hook hook-cStringIO
4269 INFO: Processing hook hook-encodings
4277 INFO: Processing hook hook-codecs
[INFO              ] Kivy v1.8.0
4480 INFO: Kivy v1.8.0
4483 INFO: Extending PYTHONPATH with 
/Users/ronnie/Python/Kivy/examples/demo/touchtracer
4483 INFO: checking Analysis
4487 INFO: building because hookspath changed
4487 INFO: running Analysis out00-Analysis.toc
4495 INFO: Analyzing 
/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/loader/_pyi_bootstrap.py
4501 INFO: Processing hook hook-os
4510 INFO: Processing hook hook-site
4518 INFO: Processing hook hook-encodings
4578 INFO: Processing hook hook-time
4580 INFO: Processing hook hook-cPickle
4620 INFO: Processing hook hook-_sre
4688 INFO: Processing hook hook-cStringIO
4752 INFO: Processing hook hook-codecs
4973 INFO: Processing hook hook-pydoc
5041 INFO: Processing hook hook-email
5071 INFO: Processing hook hook-httplib
5092 INFO: Processing hook hook-email.message
5249 INFO: Analyzing 
/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/loader/pyi_importers.py
5273 INFO: Analyzing 
/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/loader/pyi_archive.py
5298 INFO: Analyzing 
/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/loader/pyi_carchive.py
5322 INFO: Analyzing 
/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/loader/pyi_os_path.py
5324 INFO: Analyzing ../Kivy/examples/demo/touchtracer/main.py
[INFO              ] [Logger      ] Record log in 
/Users/ronnie/.kivy/logs/kivy_14-09-09_14.txt
5330 INFO: [Logger      ] Record log in 
/Users/ronnie/.kivy/logs/kivy_14-09-09_14.txt
[INFO              ] [Factory     ] 157 symbols loaded
5330 INFO: [Factory     ] 157 symbols loaded
5331 INFO: Processing hook hook-kivy
5425 WARNING: library user32.dll required via ctypes not found
5425 WARNING: library user32.dll required via ctypes not found
5426 WARNING: library user32.dll required via ctypes not found
5426 WARNING: library user32.dll required via ctypes not found
5426 WARNING: library user32.dll required via ctypes not found
5426 WARNING: library user32.dll required via ctypes not found
5426 WARNING: library user32.dll required via ctypes not found
5427 WARNING: library user32.dll required via ctypes not found
5427 WARNING: library user32.dll required via ctypes not found
5427 WARNING: library user32.dll required via ctypes not found
5427 WARNING: library user32.dll required via ctypes not found
5427 WARNING: library user32.dll required via ctypes not found
5428 WARNING: library user32.dll required via ctypes not found
5428 WARNING: library user32.dll required via ctypes not found
5428 WARNING: library user32.dll required via ctypes not found
5428 WARNING: library user32.dll required via ctypes not found
5428 WARNING: library user32.dll required via ctypes not found
5429 WARNING: library user32.dll required via ctypes not found
5429 WARNING: library user32.dll required via ctypes not found
5429 WARNING: library user32.dll required via ctypes not found
5429 WARNING: library user32.dll required via ctypes not found
5429 WARNING: library user32.dll required via ctypes not found
5429 WARNING: library user32.dll required via ctypes not found
5430 WARNING: library user32.dll required via ctypes not found
5430 WARNING: library user32.dll required via ctypes not found
5430 WARNING: library user32.dll required via ctypes not found
5430 WARNING: library user32.dll required via ctypes not found
5430 WARNING: library user32.dll required via ctypes not found
5431 WARNING: library user32.dll required via ctypes not found
5431 WARNING: library user32.dll required via ctypes not found
5431 WARNING: library user32.dll required via ctypes not found
5431 WARNING: library user32.dll required via ctypes not found
5431 WARNING: library user32.dll required via ctypes not found
5436 INFO: Processing hook hook-pygame
5483 WARNING: library libmtdev.so.1 required via ctypes not found
5535 WARNING: library libc.dylib required via ctypes not found
5535 WARNING: library libc.so required via ctypes not found
5633 WARNING: library user32.dll required via ctypes not found
5633 WARNING: library user32.dll required via ctypes not found
5633 WARNING: library user32.dll required via ctypes not found
5634 WARNING: library user32.dll required via ctypes not found
5634 WARNING: library user32.dll required via ctypes not found
5634 WARNING: library user32.dll required via ctypes not found
5634 WARNING: library user32.dll required via ctypes not found
5634 WARNING: library user32.dll required via ctypes not found
5635 WARNING: library user32.dll required via ctypes not found
5635 WARNING: library user32.dll required via ctypes not found
5635 WARNING: library user32.dll required via ctypes not found
5635 WARNING: library user32.dll required via ctypes not found
5635 WARNING: library user32.dll required via ctypes not found
5636 WARNING: library user32.dll required via ctypes not found
5636 WARNING: library user32.dll required via ctypes not found
5636 WARNING: library user32.dll required via ctypes not found
5636 WARNING: library user32.dll required via ctypes not found
5636 WARNING: library user32.dll required via ctypes not found
5693 INFO: Processing hook hook-distutils
5919 INFO: Processing hook hook-xml
5945 INFO: Processing hook hook-xml.sax
5973 INFO: Processing hook hook-pyexpat
6098 INFO: Processing hook hook-pygments.lexers
6109 INFO: Processing hook hook-pygments.styles
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File 
"/Applications/Kivy.app/Contents/Resources/lib/sitepackages/docutils/languages/__init__.py",
 line 16, in <module>
    from docutils.utils import normalize_language_tag
  File 
"/Applications/Kivy.app/Contents/Resources/lib/sitepackages/docutils/utils/__init__.py",
 line 20, in <module>
    from docutils.io import FileOutput
  File 
"/Applications/Kivy.app/Contents/Resources/lib/sitepackages/docutils/io.py", 
line 18, in <module>
    from docutils.utils.error_reporting import locale_encoding, ErrorString, 
ErrorOutput
  File 
"/Applications/Kivy.app/Contents/Resources/lib/sitepackages/docutils/utils/error_reporting.py",
 line 47, in <module>
    locale_encoding = locale.getlocale()[1] or locale.getdefaultlocale()[1]
  File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py", 
line 543, in getdefaultlocale
    return _parse_localename(localename)
  File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py", 
line 475, in _parse_localename
    raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8
 Traceback (most recent call last):
6393 WARNING: stderr: Traceback (most recent call last):
   File "pyinstaller.py", line 18, in <module>
6393 WARNING: stderr:   File "pyinstaller.py", line 18, in <module>
     run()
6393 WARNING: stderr:     run()
   File "/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/main.py", line 88, in 
run
6393 WARNING: stderr:   File 
"/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/main.py", line 88, in run
     run_build(opts, spec_file, pyi_config)
6393 WARNING: stderr:     run_build(opts, spec_file, pyi_config)
   File "/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/main.py", line 46, in 
run_build
6393 WARNING: stderr:   File 
"/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/main.py", line 46, in 
run_build
     PyInstaller.build.main(pyi_config, spec_file, **opts.__dict__)
6393 WARNING: stderr:     PyInstaller.build.main(pyi_config, spec_file, 
**opts.__dict__)
   File "/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/build.py", line 1924, 
in main
6393 WARNING: stderr:   File 
"/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/build.py", line 1924, in main
     build(specfile, kw.get('distpath'), kw.get('workpath'), 
kw.get('clean_build'))
6394 WARNING: stderr:     build(specfile, kw.get('distpath'), 
kw.get('workpath'), kw.get('clean_build'))
   File "/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/build.py", line 1873, 
in build
6394 WARNING: stderr:   File 
"/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/build.py", line 1873, in build
     execfile(spec)
6394 WARNING: stderr:     execfile(spec)
   File "touchtracer/touchtracer.spec", line 8, in <module>
6394 WARNING: stderr:   File "touchtracer/touchtracer.spec", line 8, in <module>
     hiddenimports=[])
6395 WARNING: stderr:     hiddenimports=[])
   File "/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/build.py", line 446, 
in __init__
6395 WARNING: stderr:   File 
"/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/build.py", line 446, in 
__init__
     self.__postinit__()
6395 WARNING: stderr:     self.__postinit__()
   File "/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/build.py", line 309, 
in __postinit__
6395 WARNING: stderr:   File 
"/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/build.py", line 309, in 
__postinit__
     self.assemble()
6395 WARNING: stderr:     self.assemble()
   File "/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/build.py", line 599, 
in assemble
6395 WARNING: stderr:   File 
"/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/build.py", line 599, in 
assemble
     importTracker.analyze_script(script)
6395 WARNING: stderr:     importTracker.analyze_script(script)
   File 
"/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/depend/imptracker.py", line 
273, in analyze_script
6395 WARNING: stderr:   File 
"/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/depend/imptracker.py", line 
273, in analyze_script
     return self.analyze_r('__main__')
6395 WARNING: stderr:     return self.analyze_r('__main__')
   File 
"/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/depend/imptracker.py", line 
166, in analyze_r
6396 WARNING: stderr:   File 
"/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/depend/imptracker.py", line 
166, in analyze_r
     newnms = self.analyze_one(name, nm, imptyp, level)
6396 WARNING: stderr:     newnms = self.analyze_one(name, nm, imptyp, level)
   File 
"/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/depend/imptracker.py", line 
227, in analyze_one
6396 WARNING: stderr:   File 
"/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/depend/imptracker.py", line 
227, in analyze_one
     mod = self.doimport(nm, ctx, fqname)
6396 WARNING: stderr:     mod = self.doimport(nm, ctx, fqname)
   File 
"/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/depend/imptracker.py", line 
325, in doimport
6396 WARNING: stderr:   File 
"/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/depend/imptracker.py", line 
325, in doimport
     hook = imp.load_module('PyInstaller.hooks.' + hookmodnm, *m)
6396 WARNING: stderr:     hook = imp.load_module('PyInstaller.hooks.' + 
hookmodnm, *m)
   File 
"/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/hooks/hook-docutils.py", line 
15, in <module>
6396 WARNING: stderr:   File 
"/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/hooks/hook-docutils.py", line 
15, in <module>
     collect_submodules('docutils.parsers.rst.languages') +
6396 WARNING: stderr:     collect_submodules('docutils.parsers.rst.languages') +
   File "/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/hooks/hookutils.py", 
line 580, in collect_submodules
6396 WARNING: stderr:   File 
"/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/hooks/hookutils.py", line 
580, in collect_submodules
     pkg_base, pkg_dir = get_package_paths(package)
6396 WARNING: stderr:     pkg_base, pkg_dir = get_package_paths(package)
   File "/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/hooks/hookutils.py", 
line 546, in get_package_paths
6396 WARNING: stderr:   File 
"/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/hooks/hookutils.py", line 
546, in get_package_paths
     assert is_package
6397 WARNING: stderr:     assert is_package
 AssertionError
6397 WARNING: stderr: AssertionError
Ronnies-MacBook-Pro:PyInstaller-2.1 ronnie$ kivy pyinstaller.py --windowed 
--name touchtracer ../Kivy/examples/demo/touchtracer/main.py 
7 INFO: wrote /Users/ronnie/Python/PyInstaller-2.1/touchtracer/touchtracer.spec
21 WARNING: You are running 64-bit Python: created binaries will only work on 
Mac OS X 10.6+.
If you need 10.4-10.5 compatibility, run Python as a 32-bit binary with this 
command:

    VERSIONER_PYTHON_PREFER_32_BIT=yes arch -i386 
/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python

4032 INFO: UPX is not available.
4046 INFO: Processing hook hook-os
4106 INFO: Processing hook hook-time
4108 INFO: Processing hook hook-cPickle
4148 INFO: Processing hook hook-_sre
4215 INFO: Processing hook hook-cStringIO
4270 INFO: Processing hook hook-encodings
4278 INFO: Processing hook hook-codecs
4472 INFO: Extending PYTHONPATH with 
/Users/ronnie/Python/Kivy/examples/demo/touchtracer
4472 INFO: checking Analysis
4472 INFO: building Analysis because out00-Analysis.toc non existent
4472 INFO: running Analysis out00-Analysis.toc
4479 INFO: Analyzing 
/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/loader/_pyi_bootstrap.py
4487 INFO: Processing hook hook-os
4495 INFO: Processing hook hook-site
4504 INFO: Processing hook hook-encodings
4563 INFO: Processing hook hook-time
4565 INFO: Processing hook hook-cPickle
4606 INFO: Processing hook hook-_sre
4674 INFO: Processing hook hook-cStringIO
4737 INFO: Processing hook hook-codecs
4953 INFO: Processing hook hook-pydoc
5020 INFO: Processing hook hook-email
5051 INFO: Processing hook hook-httplib
5071 INFO: Processing hook hook-email.message
5227 INFO: Analyzing 
/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/loader/pyi_importers.py
5250 INFO: Analyzing 
/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/loader/pyi_archive.py
5274 INFO: Analyzing 
/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/loader/pyi_carchive.py
5296 INFO: Analyzing 
/Users/ronnie/Python/PyInstaller-2.1/PyInstaller/loader/pyi_os_path.py
5299 INFO: Analyzing ../Kivy/examples/demo/touchtracer/main.py
5359 INFO: Processing hook hook-distutils
5451 INFO: Processing hook hook-pygame
5456 WARNING: library libc.dylib required via ctypes not found
5456 WARNING: library libc.so required via ctypes not found
5502 WARNING: library user32.dll required via ctypes not found
5502 WARNING: library user32.dll required via ctypes not found
5503 WARNING: library user32.dll required via ctypes not found
5503 WARNING: library user32.dll required via ctypes not found
5503 WARNING: library user32.dll required via ctypes not found
5503 WARNING: library user32.dll required via ctypes not found
5503 WARNING: library user32.dll required via ctypes not found
5504 WARNING: library user32.dll required via ctypes not found
5504 WARNING: library user32.dll required via ctypes not found
5504 WARNING: library user32.dll required via ctypes not found
5504 WARNING: library user32.dll required via ctypes not found
5504 WARNING: library user32.dll required via ctypes not found
5505 WARNING: library user32.dll required via ctypes not found
5505 WARNING: library user32.dll required via ctypes not found
5505 WARNING: library user32.dll required via ctypes not found
5505 WARNING: library user32.dll required via ctypes not found
5505 WARNING: library user32.dll required via ctypes not found
5506 WARNING: library user32.dll required via ctypes not found
5506 WARNING: library user32.dll required via ctypes not found
5506 WARNING: library user32.dll required via ctypes not found
5506 WARNING: library user32.dll required via ctypes not found
5506 WARNING: library user32.dll required via ctypes not found
5507 WARNING: library user32.dll required via ctypes not found
5507 WARNING: library user32.dll required via ctypes not found
5507 WARNING: library user32.dll required via ctypes not found
5507 WARNING: library user32.dll required via ctypes not found
5507 WARNING: library user32.dll required via ctypes not found
5508 WARNING: library user32.dll required via ctypes not found
5508 WARNING: library user32.dll required via ctypes not found
5508 WARNING: library user32.dll required via ctypes not found
5508 WARNING: library user32.dll required via ctypes not found
5508 WARNING: library user32.dll required via ctypes not found
5508 WARNING: library user32.dll required via ctypes not found
5511 WARNING: library user32.dll required via ctypes not found
5511 WARNING: library user32.dll required via ctypes not found
5511 WARNING: library user32.dll required via ctypes not found
5511 WARNING: library user32.dll required via ctypes not found
5512 WARNING: library user32.dll required via ctypes not found
5512 WARNING: library user32.dll required via ctypes not found
5512 WARNING: library user32.dll required via ctypes not found
5512 WARNING: library user32.dll required via ctypes not found
5512 WARNING: library user32.dll required via ctypes not found
5513 WARNING: library user32.dll required via ctypes not found
5513 WARNING: library user32.dll required via ctypes not found
5513 WARNING: library user32.dll required via ctypes not found
5513 WARNING: library user32.dll required via ctypes not found
5513 WARNING: library user32.dll required via ctypes not found
5514 WARNING: library user32.dll required via ctypes not found
5514 WARNING: library user32.dll required via ctypes not found
5514 WARNING: library user32.dll required via ctypes not found
5514 WARNING: library user32.dll required via ctypes not found
5519 WARNING: library libmtdev.so.1 required via ctypes not found
5708 INFO: Processing hook hook-xml
5732 INFO: Processing hook hook-xml.sax
5759 INFO: Processing hook hook-pyexpat
5873 INFO: Hidden import 'codecs' has been found otherwise
5874 INFO: Hidden import 'encodings' has been found otherwise
5874 INFO: Looking for run-time hooks
6018 INFO: Using Python library 
/Library/Frameworks/Python.framework/Versions/2.7/Python
6034 INFO: Warnings written to 
/Users/ronnie/Python/PyInstaller-2.1/touchtracer/build/touchtracer/warntouchtracer.txt
6045 INFO: checking PYZ
6045 INFO: rebuilding out00-PYZ.toc because out00-PYZ.pyz is missing
6045 INFO: building PYZ (ZlibArchive) out00-PYZ.toc
7146 INFO: checking PKG
7146 INFO: rebuilding out00-PKG.toc because out00-PKG.pkg is missing
7146 INFO: building PKG (CArchive) out00-PKG.pkg
7154 INFO: checking EXE
7154 INFO: rebuilding out00-EXE.toc because touchtracer missing
7154 INFO: building EXE from out00-EXE.toc
7155 INFO: Appending archive to EXE 
/Users/ronnie/Python/PyInstaller-2.1/touchtracer/build/touchtracer/touchtracer
7158 INFO: checking COLLECT
7158 INFO: building COLLECT out00-COLLECT.toc
7629 INFO: checking BUNDLE
7629 INFO: building BUNDLE out00-BUNDLE.toc
Event-6s-MacBook-Pro:PyInstaller-2.1 ronnie$ kivy pyinstaller.py 
touchtracer/touchtracer.spec 
35 WARNING: You are running 64-bit Python: created binaries will only work on 
Mac OS X 10.6+.
If you need 10.4-10.5 compatibility, run Python as a 32-bit binary with this 
command:

    VERSIONER_PYTHON_PREFER_32_BIT=yes arch -i386 
/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python

4046 INFO: UPX is not available.
4070 INFO: Processing hook hook-os
4187 INFO: Processing hook hook-time
4190 INFO: Processing hook hook-cPickle
4268 INFO: Processing hook hook-_sre
4396 INFO: Processing hook hook-cStringIO
4502 INFO: Processing hook hook-encodings
4517 INFO: Processing hook hook-codecs
Traceback (most recent call last):
  File "pyinstaller.py", line 18, in <module>
    run()
  File "/Users/ronnie/python/PyInstaller-2.1/PyInstaller/main.py", line 88, in 
run
    run_build(opts, spec_file, pyi_config)
  File "/Users/ronnie/python/PyInstaller-2.1/PyInstaller/main.py", line 46, in 
run_build
    PyInstaller.build.main(pyi_config, spec_file, **opts.__dict__)
  File "/Users/ronnie/python/PyInstaller-2.1/PyInstaller/build.py", line 1924, 
in main
    build(specfile, kw.get('distpath'), kw.get('workpath'), 
kw.get('clean_build'))
  File "/Users/ronnie/python/PyInstaller-2.1/PyInstaller/build.py", line 1873, 
in build
    execfile(spec)
  File "touchtracer/touchtracer.spec", line 20
SyntaxError: Non-ASCII character '\xe2' in file touchtracer/touchtracer.spec on 
line 20, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for 
details
Event-6s-MacBook-Pro:PyInstaller-2.1 ronnie$ kivy pyinstaller.py 
touchtracer/touchtracer.spec 
35 WARNING: You are running 64-bit Python: created binaries will only work on 
Mac OS X 10.6+.
If you need 10.4-10.5 compatibility, run Python as a 32-bit binary with this 
command:

    VERSIONER_PYTHON_PREFER_32_BIT=yes arch -i386 
/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python

4046 INFO: UPX is not available.
4070 INFO: Processing hook hook-os
4187 INFO: Processing hook hook-time
4191 INFO: Processing hook hook-cPickle
4268 INFO: Processing hook hook-_sre
4397 INFO: Processing hook hook-cStringIO
4503 INFO: Processing hook hook-encodings
4518 INFO: Processing hook hook-codecs
[INFO              ] Kivy v1.8.0
4911 INFO: Kivy v1.8.0
4931 INFO: Extending PYTHONPATH with 
/Users/ronnie/python/kivy/examples/demo/touchtracer
4931 INFO: checking Analysis
4942 INFO: building because hookspath changed
4942 INFO: running Analysis out00-Analysis.toc
4958 INFO: Analyzing 
/Users/ronnie/python/PyInstaller-2.1/PyInstaller/loader/_pyi_bootstrap.py
4972 INFO: Processing hook hook-os
4987 INFO: Processing hook hook-site
5003 INFO: Processing hook hook-encodings
5121 INFO: Processing hook hook-time
5124 INFO: Processing hook hook-cPickle
5203 INFO: Processing hook hook-_sre
5335 INFO: Processing hook hook-cStringIO
5458 INFO: Processing hook hook-codecs
5903 INFO: Processing hook hook-pydoc
6037 INFO: Processing hook hook-email
6097 INFO: Processing hook hook-httplib
6135 INFO: Processing hook hook-email.message
6453 INFO: Analyzing 
/Users/ronnie/python/PyInstaller-2.1/PyInstaller/loader/pyi_importers.py
6514 INFO: Analyzing 
/Users/ronnie/python/PyInstaller-2.1/PyInstaller/loader/pyi_archive.py
6569 INFO: Analyzing 
/Users/ronnie/python/PyInstaller-2.1/PyInstaller/loader/pyi_carchive.py
6623 INFO: Analyzing 
/Users/ronnie/python/PyInstaller-2.1/PyInstaller/loader/pyi_os_path.py
6628 INFO: Analyzing ../kivy/examples/demo/touchtracer/main.py
[INFO              ] [Logger      ] Record log in 
/Users/ronnie/.kivy/logs/kivy_14-09-09_2.txt
6676 INFO: [Logger      ] Record log in 
/Users/ronnie/.kivy/logs/kivy_14-09-09_2.txt
[INFO              ] [Factory     ] 157 symbols loaded
6676 INFO: [Factory     ] 157 symbols loaded
6678 INFO: Processing hook hook-kivy
6957 WARNING: library user32.dll required via ctypes not found
6957 WARNING: library user32.dll required via ctypes not found
6958 WARNING: library user32.dll required via ctypes not found
6958 WARNING: library user32.dll required via ctypes not found
6958 WARNING: library user32.dll required via ctypes not found
6959 WARNING: library user32.dll required via ctypes not found
6959 WARNING: library user32.dll required via ctypes not found
6960 WARNING: library user32.dll required via ctypes not found
6960 WARNING: library user32.dll required via ctypes not found
6960 WARNING: library user32.dll required via ctypes not found
6961 WARNING: library user32.dll required via ctypes not found
6961 WARNING: library user32.dll required via ctypes not found
6961 WARNING: library user32.dll required via ctypes not found
6962 WARNING: library user32.dll required via ctypes not found
6962 WARNING: library user32.dll required via ctypes not found
6962 WARNING: library user32.dll required via ctypes not found
6963 WARNING: library user32.dll required via ctypes not found
6963 WARNING: library user32.dll required via ctypes not found
6964 WARNING: library user32.dll required via ctypes not found
6964 WARNING: library user32.dll required via ctypes not found
6964 WARNING: library user32.dll required via ctypes not found
6965 WARNING: library user32.dll required via ctypes not found
6965 WARNING: library user32.dll required via ctypes not found
6965 WARNING: library user32.dll required via ctypes not found
6966 WARNING: library user32.dll required via ctypes not found
6966 WARNING: library user32.dll required via ctypes not found
6966 WARNING: library user32.dll required via ctypes not found
6967 WARNING: library user32.dll required via ctypes not found
6967 WARNING: library user32.dll required via ctypes not found
6967 WARNING: library user32.dll required via ctypes not found
6968 WARNING: library user32.dll required via ctypes not found
6968 WARNING: library user32.dll required via ctypes not found
6969 WARNING: library user32.dll required via ctypes not found
6976 INFO: Processing hook hook-pygame
7068 WARNING: library libmtdev.so.1 required via ctypes not found
7187 WARNING: library libc.dylib required via ctypes not found
7188 WARNING: library libc.so required via ctypes not found
7466 WARNING: library user32.dll required via ctypes not found
7467 WARNING: library user32.dll required via ctypes not found
7467 WARNING: library user32.dll required via ctypes not found
7467 WARNING: library user32.dll required via ctypes not found
7468 WARNING: library user32.dll required via ctypes not found
7468 WARNING: library user32.dll required via ctypes not found
7469 WARNING: library user32.dll required via ctypes not found
7469 WARNING: library user32.dll required via ctypes not found
7469 WARNING: library user32.dll required via ctypes not found
7470 WARNING: library user32.dll required via ctypes not found
7470 WARNING: library user32.dll required via ctypes not found
7470 WARNING: library user32.dll required via ctypes not found
7471 WARNING: library user32.dll required via ctypes not found
7471 WARNING: library user32.dll required via ctypes not found
7471 WARNING: library user32.dll required via ctypes not found
7472 WARNING: library user32.dll required via ctypes not found
7472 WARNING: library user32.dll required via ctypes not found
7473 WARNING: library user32.dll required via ctypes not found
7605 INFO: Processing hook hook-distutils
8062 INFO: Processing hook hook-xml
8116 INFO: Processing hook hook-xml.sax
8177 INFO: Processing hook hook-pyexpat
8533 INFO: Processing hook hook-pygments.lexers
8579 INFO: Processing hook hook-pygments.styles
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File 
"/Applications/Kivy.app/Contents/Resources/lib/sitepackages/docutils/languages/__init__.py",
 line 16, in <module>
    from docutils.utils import normalize_language_tag
  File 
"/Applications/Kivy.app/Contents/Resources/lib/sitepackages/docutils/utils/__init__.py",
 line 20, in <module>
    from docutils.io import FileOutput
  File 
"/Applications/Kivy.app/Contents/Resources/lib/sitepackages/docutils/io.py", 
line 18, in <module>
    from docutils.utils.error_reporting import locale_encoding, ErrorString, 
ErrorOutput
  File 
"/Applications/Kivy.app/Contents/Resources/lib/sitepackages/docutils/utils/error_reporting.py",
 line 47, in <module>
    locale_encoding = locale.getlocale()[1] or locale.getdefaultlocale()[1]
  File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py", 
line 543, in getdefaultlocale
    return _parse_localename(localename)
  File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py", 
line 475, in _parse_localename
    raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8
 Traceback (most recent call last):
9329 WARNING: stderr: Traceback (most recent call last):
   File "pyinstaller.py", line 18, in <module>
9330 WARNING: stderr:   File "pyinstaller.py", line 18, in <module>
     run()
9330 WARNING: stderr:     run()
   File "/Users/ronnie/python/PyInstaller-2.1/PyInstaller/main.py", line 88, in 
run
9330 WARNING: stderr:   File 
"/Users/ronnie/python/PyInstaller-2.1/PyInstaller/main.py", line 88, in run
     run_build(opts, spec_file, pyi_config)
9330 WARNING: stderr:     run_build(opts, spec_file, pyi_config)
   File "/Users/ronnie/python/PyInstaller-2.1/PyInstaller/main.py", line 46, in 
run_build
9330 WARNING: stderr:   File 
"/Users/ronnie/python/PyInstaller-2.1/PyInstaller/main.py", line 46, in 
run_build
     PyInstaller.build.main(pyi_config, spec_file, **opts.__dict__)
9330 WARNING: stderr:     PyInstaller.build.main(pyi_config, spec_file, 
**opts.__dict__)
   File "/Users/ronnie/python/PyInstaller-2.1/PyInstaller/build.py", line 1924, 
in main
9330 WARNING: stderr:   File 
"/Users/ronnie/python/PyInstaller-2.1/PyInstaller/build.py", line 1924, in main
     build(specfile, kw.get('distpath'), kw.get('workpath'), 
kw.get('clean_build'))
9331 WARNING: stderr:     build(specfile, kw.get('distpath'), 
kw.get('workpath'), kw.get('clean_build'))
   File "/Users/ronnie/python/PyInstaller-2.1/PyInstaller/build.py", line 1873, 
in build
9331 WARNING: stderr:   File 
"/Users/ronnie/python/PyInstaller-2.1/PyInstaller/build.py", line 1873, in build
     execfile(spec)
9332 WARNING: stderr:     execfile(spec)
   File "touchtracer/touchtracer.spec", line 10, in <module>
9332 WARNING: stderr:   File "touchtracer/touchtracer.spec", line 10, in 
<module>
     runtime_hooks=None)
9332 WARNING: stderr:     runtime_hooks=None)
   File "/Users/ronnie/python/PyInstaller-2.1/PyInstaller/build.py", line 446, 
in __init__
9332 WARNING: stderr:   File 
"/Users/ronnie/python/PyInstaller-2.1/PyInstaller/build.py", line 446, in 
__init__
     self.__postinit__()
9332 WARNING: stderr:     self.__postinit__()
   File "/Users/ronnie/python/PyInstaller-2.1/PyInstaller/build.py", line 309, 
in __postinit__
9332 WARNING: stderr:   File 
"/Users/ronnie/python/PyInstaller-2.1/PyInstaller/build.py", line 309, in 
__postinit__
     self.assemble()
9332 WARNING: stderr:     self.assemble()
   File "/Users/ronnie/python/PyInstaller-2.1/PyInstaller/build.py", line 599, 
in assemble
9333 WARNING: stderr:   File 
"/Users/ronnie/python/PyInstaller-2.1/PyInstaller/build.py", line 599, in 
assemble
     importTracker.analyze_script(script)
9333 WARNING: stderr:     importTracker.analyze_script(script)
   File 
"/Users/ronnie/python/PyInstaller-2.1/PyInstaller/depend/imptracker.py", line 
273, in analyze_script
9333 WARNING: stderr:   File 
"/Users/ronnie/python/PyInstaller-2.1/PyInstaller/depend/imptracker.py", line 
273, in analyze_script
     return self.analyze_r('__main__')
9333 WARNING: stderr:     return self.analyze_r('__main__')
   File 
"/Users/ronnie/python/PyInstaller-2.1/PyInstaller/depend/imptracker.py", line 
166, in analyze_r
9333 WARNING: stderr:   File 
"/Users/ronnie/python/PyInstaller-2.1/PyInstaller/depend/imptracker.py", line 
166, in analyze_r
     newnms = self.analyze_one(name, nm, imptyp, level)
9333 WARNING: stderr:     newnms = self.analyze_one(name, nm, imptyp, level)
   File 
"/Users/ronnie/python/PyInstaller-2.1/PyInstaller/depend/imptracker.py", line 
227, in analyze_one
9334 WARNING: stderr:   File 
"/Users/ronnie/python/PyInstaller-2.1/PyInstaller/depend/imptracker.py", line 
227, in analyze_one
     mod = self.doimport(nm, ctx, fqname)
9334 WARNING: stderr:     mod = self.doimport(nm, ctx, fqname)
   File 
"/Users/ronnie/python/PyInstaller-2.1/PyInstaller/depend/imptracker.py", line 
325, in doimport
9334 WARNING: stderr:   File 
"/Users/ronnie/python/PyInstaller-2.1/PyInstaller/depend/imptracker.py", line 
325, in doimport
     hook = imp.load_module('PyInstaller.hooks.' + hookmodnm, *m)
9334 WARNING: stderr:     hook = imp.load_module('PyInstaller.hooks.' + 
hookmodnm, *m)
   File 
"/Users/ronnie/python/PyInstaller-2.1/PyInstaller/hooks/hook-docutils.py", line 
15, in <module>
9334 WARNING: stderr:   File 
"/Users/ronnie/python/PyInstaller-2.1/PyInstaller/hooks/hook-docutils.py", line 
15, in <module>
     collect_submodules('docutils.parsers.rst.languages') +
9350 WARNING: stderr:     collect_submodules('docutils.parsers.rst.languages') +
   File "/Users/ronnie/python/PyInstaller-2.1/PyInstaller/hooks/hookutils.py", 
line 580, in collect_submodules
9351 WARNING: stderr:   File 
"/Users/ronnie/python/PyInstaller-2.1/PyInstaller/hooks/hookutils.py", line 
580, in collect_submodules
     pkg_base, pkg_dir = get_package_paths(package)
9367 WARNING: stderr:     pkg_base, pkg_dir = get_package_paths(package)
   File "/Users/ronnie/python/PyInstaller-2.1/PyInstaller/hooks/hookutils.py", 
line 546, in get_package_paths
9368 WARNING: stderr:   File 
"/Users/ronnie/python/PyInstaller-2.1/PyInstaller/hooks/hookutils.py", line 
546, in get_package_paths
     assert is_package
9368 WARNING: stderr:     assert is_package
 AssertionError
9368 WARNING: stderr: AssertionError
Event-6s-MacBook-Pro:PyInstaller-2.1 ronnie$ kivy pyinstaller.py --windowed 
--name touchtracer ../kivy/examples/demo/touchtracer/main.py
13 INFO: wrote /Users/ronnie/python/PyInstaller-2.1/touchtracer/touchtracer.spec
35 WARNING: You are running 64-bit Python: created binaries will only work on 
Mac OS X 10.6+.
If you need 10.4-10.5 compatibility, run Python as a 32-bit binary with this 
command:

    VERSIONER_PYTHON_PREFER_32_BIT=yes arch -i386 
/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python

4046 INFO: UPX is not available.
4070 INFO: Processing hook hook-os
4187 INFO: Processing hook hook-time
4190 INFO: Processing hook hook-cPickle
4268 INFO: Processing hook hook-_sre
4396 INFO: Processing hook hook-cStringIO
4503 INFO: Processing hook hook-encodings
4519 INFO: Processing hook hook-codecs
4901 INFO: Extending PYTHONPATH with 
/Users/ronnie/python/kivy/examples/demo/touchtracer
4902 INFO: checking Analysis
4902 INFO: building Analysis because out00-Analysis.toc non existent
4902 INFO: running Analysis out00-Analysis.toc
4953 INFO: Analyzing 
/Users/ronnie/python/PyInstaller-2.1/PyInstaller/loader/_pyi_bootstrap.py
4967 INFO: Processing hook hook-os
4982 INFO: Processing hook hook-site
5008 INFO: Processing hook hook-encodings
5122 INFO: Processing hook hook-time
5126 INFO: Processing hook hook-cPickle
5206 INFO: Processing hook hook-_sre
5339 INFO: Processing hook hook-cStringIO
5460 INFO: Processing hook hook-codecs
5902 INFO: Processing hook hook-pydoc
6037 INFO: Processing hook hook-email
6097 INFO: Processing hook hook-httplib
6136 INFO: Processing hook hook-email.message
6454 INFO: Analyzing 
/Users/ronnie/python/PyInstaller-2.1/PyInstaller/loader/pyi_importers.py
6511 INFO: Analyzing 
/Users/ronnie/python/PyInstaller-2.1/PyInstaller/loader/pyi_archive.py
6564 INFO: Analyzing 
/Users/ronnie/python/PyInstaller-2.1/PyInstaller/loader/pyi_carchive.py
6617 INFO: Analyzing 
/Users/ronnie/python/PyInstaller-2.1/PyInstaller/loader/pyi_os_path.py
6622 INFO: Analyzing ../kivy/examples/demo/touchtracer/main.py
6776 INFO: Processing hook hook-distutils
6979 INFO: Processing hook hook-pygame
6988 WARNING: library libc.dylib required via ctypes not found
6989 WARNING: library libc.so required via ctypes not found
7129 WARNING: library user32.dll required via ctypes not found
7129 WARNING: library user32.dll required via ctypes not found
7130 WARNING: library user32.dll required via ctypes not found
7130 WARNING: library user32.dll required via ctypes not found
7130 WARNING: library user32.dll required via ctypes not found
7131 WARNING: library user32.dll required via ctypes not found
7131 WARNING: library user32.dll required via ctypes not found
7132 WARNING: library user32.dll required via ctypes not found
7132 WARNING: library user32.dll required via ctypes not found
7132 WARNING: library user32.dll required via ctypes not found
7133 WARNING: library user32.dll required via ctypes not found
7133 WARNING: library user32.dll required via ctypes not found
7133 WARNING: library user32.dll required via ctypes not found
7134 WARNING: library user32.dll required via ctypes not found
7134 WARNING: library user32.dll required via ctypes not found
7134 WARNING: library user32.dll required via ctypes not found
7135 WARNING: library user32.dll required via ctypes not found
7135 WARNING: library user32.dll required via ctypes not found
7136 WARNING: library user32.dll required via ctypes not found
7136 WARNING: library user32.dll required via ctypes not found
7136 WARNING: library user32.dll required via ctypes not found
7137 WARNING: library user32.dll required via ctypes not found
7137 WARNING: library user32.dll required via ctypes not found
7137 WARNING: library user32.dll required via ctypes not found
7138 WARNING: library user32.dll required via ctypes not found
7138 WARNING: library user32.dll required via ctypes not found
7138 WARNING: library user32.dll required via ctypes not found
7139 WARNING: library user32.dll required via ctypes not found
7139 WARNING: library user32.dll required via ctypes not found
7140 WARNING: library user32.dll required via ctypes not found
7140 WARNING: library user32.dll required via ctypes not found
7140 WARNING: library user32.dll required via ctypes not found
7141 WARNING: library user32.dll required via ctypes not found
7145 WARNING: library user32.dll required via ctypes not found
7146 WARNING: library user32.dll required via ctypes not found
7146 WARNING: library user32.dll required via ctypes not found
7146 WARNING: library user32.dll required via ctypes not found
7147 WARNING: library user32.dll required via ctypes not found
7147 WARNING: library user32.dll required via ctypes not found
7147 WARNING: library user32.dll required via ctypes not found
7148 WARNING: library user32.dll required via ctypes not found
7148 WARNING: library user32.dll required via ctypes not found
7148 WARNING: library user32.dll required via ctypes not found
7149 WARNING: library user32.dll required via ctypes not found
7149 WARNING: library user32.dll required via ctypes not found
7150 WARNING: library user32.dll required via ctypes not found
7150 WARNING: library user32.dll required via ctypes not found
7150 WARNING: library user32.dll required via ctypes not found
7151 WARNING: library user32.dll required via ctypes not found
7151 WARNING: library user32.dll required via ctypes not found
7151 WARNING: library user32.dll required via ctypes not found
7162 WARNING: library libmtdev.so.1 required via ctypes not found
7544 INFO: Processing hook hook-xml
7672 INFO: Processing hook hook-xml.sax
7730 INFO: Processing hook hook-pyexpat
8015 INFO: Hidden import 'codecs' has been found otherwise
8016 INFO: Hidden import 'encodings' has been found otherwise
8016 INFO: Looking for run-time hooks
8310 INFO: Using Python library 
/Library/Frameworks/Python.framework/Versions/2.7/Python
8347 INFO: Warnings written to 
/Users/ronnie/python/PyInstaller-2.1/touchtracer/build/touchtracer/warntouchtracer.txt
8365 INFO: checking PYZ
8366 INFO: rebuilding out00-PYZ.toc because out00-PYZ.pyz is missing
8366 INFO: building PYZ (ZlibArchive) out00-PYZ.toc
10932 INFO: checking PKG
10932 INFO: rebuilding out00-PKG.toc because out00-PKG.pkg is missing
10932 INFO: building PKG (CArchive) out00-PKG.pkg
10958 INFO: checking EXE
10958 INFO: rebuilding out00-EXE.toc because touchtracer missing
10958 INFO: building EXE from out00-EXE.toc
10960 INFO: Appending archive to EXE 
/Users/ronnie/python/PyInstaller-2.1/touchtracer/build/touchtracer/touchtracer
10988 INFO: checking COLLECT
10988 INFO: building COLLECT out00-COLLECT.toc
12615 INFO: checking BUNDLE
12615 INFO: building BUNDLE out00-BUNDLE.toc

Reply via email to