Pyinstaller throws exception, not sure why

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Pyinstaller throws exception, not sure why

Coyot Linden (Glenn Glazer)
The attached full log is from our Teamcity build host.  I was running pyinstaller at DEBUG, so it is pretty verbose.

The exception itself is:

[19:48:58][Build RelWithDebInfo] 18>  Traceback (most recent call last):
[19:48:58][Build RelWithDebInfo] 18>    File "C:\Python27\Scripts\pyinstaller-script.py", line 9, in <module>
[19:48:58][Build RelWithDebInfo] 18>      load_entry_point('PyInstaller==3.2', 'console_scripts', 'pyinstaller')()
[19:48:58][Build RelWithDebInfo] 18>    File "c:\python27\lib\site-packages\PyInstaller\__main__.py", line 90, in run
[19:48:58][Build RelWithDebInfo] 18>      run_build(pyi_config, spec_file, **vars(args))
[19:48:58][Build RelWithDebInfo] 18>    File "c:\python27\lib\site-packages\PyInstaller\__main__.py", line 46, in run_build
[19:48:58][Build RelWithDebInfo] 18>      PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
[19:48:58][Build RelWithDebInfo] 18>    File "c:\python27\lib\site-packages\PyInstaller\building\build_main.py", line 788, in main
[19:48:58][Build RelWithDebInfo] 18>      build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
[19:48:58][Build RelWithDebInfo] 18>    File "c:\python27\lib\site-packages\PyInstaller\building\build_main.py", line 734, in build
[19:48:58][Build RelWithDebInfo] 18>      exec(text, spec_namespace)
[19:48:58][Build RelWithDebInfo] 18>    File "<string>", line 28, in <module>
[19:48:58][Build RelWithDebInfo] 18>    File "c:\python27\lib\site-packages\PyInstaller\building\api.py", line 398, in __init__
[19:48:58][Build RelWithDebInfo] 18>      strip_binaries=self.strip, upx_binaries=self.upx,
[19:48:58][Build RelWithDebInfo] 18>    File "c:\python27\lib\site-packages\PyInstaller\building\api.py", line 189, in __init__
[19:48:58][Build RelWithDebInfo] 18>      self.__postinit__()
[19:48:58][Build RelWithDebInfo] 18>    File "c:\python27\lib\site-packages\PyInstaller\building\datastruct.py", line 178, in __postinit__
[19:48:58][Build RelWithDebInfo] 18>      self.assemble()
[19:48:58][Build RelWithDebInfo] 18>    File "c:\python27\lib\site-packages\PyInstaller\building\api.py", line 274, in assemble
[19:48:58][Build RelWithDebInfo] 18>      pylib_name=pylib_name)
[19:48:58][Build RelWithDebInfo] 18>    File "c:\python27\lib\site-packages\PyInstaller\archive\writers.py", line 329, in __init__
[19:48:58][Build RelWithDebInfo] 18>      super(CArchiveWriter, self).__init__(archive_path, logical_toc)
[19:48:58][Build RelWithDebInfo] 18>    File "c:\python27\lib\site-packages\PyInstaller\archive\writers.py", line 59, in __init__
[19:48:58][Build RelWithDebInfo] 18>      self._add_from_table_of_contents(logical_toc)
[19:48:58][Build RelWithDebInfo] 18>    File "c:\python27\lib\site-packages\PyInstaller\archive\writers.py", line 84, in _add_from_table_of_contents
[19:48:58][Build RelWithDebInfo] 18>      self.add(toc_entry)  # The guts of the archive.
[19:48:58][Build RelWithDebInfo] 18>    File "c:\python27\lib\site-packages\PyInstaller\archive\writers.py", line 370, in add
[19:48:58][Build RelWithDebInfo] 18>      code = get_code_object(nm, pathnm)
[19:48:58][Build RelWithDebInfo] 18>    File "c:\python27\lib\site-packages\PyInstaller\building\utils.py", line 545, in get_code_object
[19:48:58][Build RelWithDebInfo] 18>      co = _load_code(modname, filename)
[19:48:58][Build RelWithDebInfo] 18>    File "c:\python27\lib\site-packages\PyInstaller\building\utils.py", line 521, in _load_code
[19:48:58][Build RelWithDebInfo] 18>      assert loader and hasattr(loader, 'get_code')
[19:48:58][Build RelWithDebInfo] 18>  AssertionError


But I don't see a hint as to where in my code it is having a problem or if this is a problem with pyinstaller itself.

Suggestions, tips welcome.

Best,

coyot
GLENN GLAZER | Senior Software Engineer
m:
562.305.2920 | email:  [hidden email] | Second Life: Coyot Linden
LINDEN LAB | Create Virtual Experiences

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.

build-py-exception.18.gz (8K) Download Attachment
Loading...