#74: Build failure at importHook ----------------------------------------+----------------------------------- Reporter: [email protected] | Owner: giovannibajo Type: defect | Status: new Priority: normal | Milestone: Component: PyInstaller | Version: PyInstaller 1.3 Severity: blocker | Keywords: ----------------------------------------+----------------------------------- I'm new to PyInstaller, so I'm not sure what exactly is going on here. For my script, I ran Makespec.py with no apparent problems, but when I run Build.py, I get the following output: {{{ c checking Analysis building Analysis because out0.toc non existent running Analysis out0.toc Analyzing: C:\Python26\pyinstaller-1.3\support\_mountzlib.py Analyzing: C:\Python26\pyinstaller-1.3\support\useUnicode.py Analyzing: GregFrequencyReport\gregVisitFrequencyReport.py Warnings written to GregFrequencyReport\warnGregFrequencyReport.txt checking PYZ rebuilding out1.toc because out1.pyz is missing building PYZ out1.toc checking PKG rebuilding out3.toc because out3.pkg is missing building PKG out3.pkg checking ELFEXE rebuilding out2.toc because GregFrequencyReport.exe missing building ELFEXE out2.toc checking COLLECT building out4.toc because out4.toc missing building COLLECT out4.toc }}} I'm not sure if there are any problems here, but when I try to run my exe, I get the following: {{{ C:\Python26\pyinstaller-1.3\GregFrequencyReport\distGregFrequencyReport>GregFreq uencyReport.exe Traceback (most recent call last): File "<string>", line 2, in <module> File "C:\Python26\pyinstaller-1.3\iu.py", line 312, in importHook mod = _self_doimport(nm, ctx, fqname) File "C:\Python26\pyinstaller-1.3\iu.py", line 398, in doimport exec co in mod.__dict__ File "GregFrequencyReport\buildGregFrequencyReport\out1.pyz/sqlalchemy", line 13, in <module> File "C:\Python26\pyinstaller-1.3\iu.py", line 312, in importHook mod = _self_doimport(nm, ctx, fqname) File "C:\Python26\pyinstaller-1.3\iu.py", line 398, in doimport exec co in mod.__dict__ File "GregFrequencyReport\buildGregFrequencyReport\out1.pyz/sqlalchemy.types", line 29, in <module> File "C:\Python26\pyinstaller-1.3\iu.py", line 312, in importHook mod = _self_doimport(nm, ctx, fqname) File "C:\Python26\pyinstaller-1.3\iu.py", line 398, in doimport exec co in mod.__dict__ File "GregFrequencyReport\buildGregFrequencyReport\out1.pyz/sqlalchemy.util", line 45, in <module> File "C:\Python26\pyinstaller-1.3\iu.py", line 312, in importHook mod = _self_doimport(nm, ctx, fqname) File "C:\Python26\pyinstaller-1.3\iu.py", line 382, in doimport mod = director.getmod(nm) File "C:\Python26\pyinstaller-1.3\iu.py", line 134, in getmod mod = imp.load_module(nm, None, nm, ('','',imp.C_BUILTIN)) TypeError: importHook() takes at most 5 arguments (6 given) }}}
Why am I getting a TypeError on importHook, and what do I do about it? -- Ticket URL: <http://www.pyinstaller.org/ticket/74> Pyinstaller <http://www.pyinstaller.org> PyInstaller Project --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
