Hey, Giovanni, sorry for the delayed response. I somehow missed your
reply and in the meantime found a solution to my problem. The way I
fixed it was to import commands in keryx.py, therefore satisfying
Debian.py's dependency on the commands module.

That worked fine for a long time. Then when I tried to compile again
tonight the issue reappeared. I still had problems after adding
Debian.py to Analysys.

"""
mac9...@ubuntu:~/Desktop/trunk$ python Makespec.py --onefile
/home/mac9416/official-unstable/keryx.py
wrote /home/mac9416/Desktop/trunk/keryx/keryx.spec
now run Build.py to build the executable
mac9...@ubuntu:~/Desktop/trunk$ python Build.py keryx/keryx.spec
checking Analysis
building Analysis because outAnalysis0.toc non existent
running Analysis outAnalysis0.toc
Analyzing: support/_mountzlib.py
Analyzing: support/useUnicode.py
Analyzing: /home/mac9416/official-unstable/keryx.py
Warnings written to keryx/warnkeryx.txt
checking PYZ
rebuilding outPYZ1.toc because outPYZ1.pyz is missing
building PYZ outPYZ1.toc
checking PKG
rebuilding outPKG3.toc because outPKG3.pkg is missing
building PKG outPKG3.pkg
checking EXE
rebuilding outEXE2.toc because keryx missing
building EXE from outEXE2.toc
Appending archive to EXE keryx/dist/keryx
mac9...@ubuntu:~/Desktop/trunk$ ./keryx/dist/keryx
Traceback (most recent call last):
  File "<string>", line 28, in <module>
  File "/home/mac9416/Desktop/trunk/iu.py", line 455, in importHook
    raise ImportError, "No module named %s" % fqname
ImportError: No module named commands
"""

Thanks again for any help!

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