Hi again,

when I run "python pyinstaller.py ..\path\to\apt.py"[0] it stops with
a type error in mf.py (traceback below). Is this a problem with my
program or in pyinstaller?

Python 2.7.1
win7 x64

thanks.

-matt

[0] http://trac.osgeo.org/osgeo4w/wiki/pkg-apt

{{{
I: done generating C:\Users\Matt\AppData\Roaming\pyinstaller
\config.dat
wrote B:\code\pyinstaller\apt\apt.spec
I: Dependent assemblies of C:\o4w_py27\bin\python.exe:
I: x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none
checking Analysis
building Analysis because outAnalysis0.toc non existent
running Analysis outAnalysis0.toc
Analyzing: B:\code\pyinstaller\support\_mountzlib.py
W: wrong version .pyc found (archive.pyc), will use .py
Traceback (most recent call last):
  File "pyinstaller.py", line 86, in <module>
    run_build(opts, spec_file)
  File "pyinstaller.py", line 50, in run_build
    PyInstaller.build.main(spec_file, **opts.__dict__)
  File "B:\code\pyinstaller\PyInstaller\build.py", line 1494, in main
    build(specfile, buildpath)
  File "B:\code\pyinstaller\PyInstaller\build.py", line 1393, in build
    execfile(spec)
  File "B:\code\pyinstaller\apt\apt.spec", line 3, in <module>
    pathex=['B:\\code\\pyinstaller'])
  File "B:\code\pyinstaller\PyInstaller\build.py", line 332, in
__init__
    self.__postinit__()
  File "B:\code\pyinstaller\PyInstaller\build.py", line 282, in
__postinit__
    self.assemble()
  File "B:\code\pyinstaller\PyInstaller\build.py", line 400, in
assemble
    analyzer.analyze_script(script)
  File "B:\code\pyinstaller\PyInstaller\mf.py", line 568, in
analyze_script
    return self.analyze_r('__main__')
  File "B:\code\pyinstaller\PyInstaller\mf.py", line 460, in analyze_r
    newnms = self.analyze_one(name, nm, imptyp, level)
  File "B:\code\pyinstaller\PyInstaller\mf.py", line 521, in
analyze_one
    mod = self.doimport(nm, ctx, fqname)
  File "B:\code\pyinstaller\PyInstaller\mf.py", line 595, in doimport
    mod = director.getmod(nm)
  File "B:\code\pyinstaller\PyInstaller\mf.py", line 347, in getmod
    mod = owner.getmod(nm)
  File "B:\code\pyinstaller\PyInstaller\mf.py", line 110, in getmod
    stuff = self._read(py[0])+'\n'
TypeError: 'NoneType' object is not subscriptable
}}}

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to