On Wed, 31 Mar 2010 15:25:08 -0700, Michael Taylor <[email protected]>
wrote:
> Hi Giovanni,
> 
> No Tk.  In fact the whole python program looks something like this:
> for i in xrange(10000):
>     print "Hello, World!"
> 
> It's just a simple test to make sure I can get code signing working with
a
> simple script before using pyinstaller for the full application.
> 
> Here's the traceback:
>   File "<string>", line 29, in <module>
>   File "C:\Documents and
>
Settings\Mike\Desktop\fun_with_pyinstaller\build\pyi.win32\HelloWorld\outPYZ1.pyz/carchive",
> line 137, in __init__
>   File "C:\Python25\pyinstaller14\archive.py", line 100, in __init__
>     self.checkmagic()
>   File "C:\Documents and
>
Settings\Mike\Desktop\fun_with_pyinstaller\build\pyi.win32\HelloWorld\outPYZ1.pyz/carchive",
> line 157, in checkmagic
> RuntimeError: C:\Documents and
> Settings\Mike\Desktop\fun_with_pyinstaller\HelloWorld.exe is not a valid
> CArchive archive file

The traceback confirms that your spec file tells PyInstaller to include
unpackTK.py, which is required for TK support. Did you create the spec file
with -K/--tk? Can you show me it?

Of course, there would be nothing wrong with signing a Python program that
uses TK, it's just a bug :)
-- 
Giovanni Bajo   ::  [email protected]
Develer S.r.l.  ::  http://www.develer.com

My Blog: http://giovanni.bajo.it

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