-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 1. In preparing my "universal build" of Tcl/Tk for upload to the Pythonmac package site, I just realized that it is from a CVS HEAD tarball that's a couple of weeks old--which means that it's Tcl/Tk 8.5, not 8.4.x. Will Tkinter work when loaded against Tcl/Tk 8.5, instead of Tcl/Tk 8.4? (In Tcl/Tk this does not present a problem; its stubs mechanism allows packages compiled against one version to run against another.) If 8.4.x is required, I'll grab the latest 8.4.13 release, which should have the required changes in it (which were not in 8.4.12).
2. Doing a test build of an app with py2app and my universal version of Tcl/Tk, I get this error: raise ValueError, "got unrecognized magic of %08x" % (header.magic, MH_MAGIC, MH_CIGAM) TypeError: not all arguments converted during string formatting - -- And the build stops. I was also running into this with running macho_standalone by itself. I have no idea what the problem is, although I notice that it seems to happen when py2app is trying to graph the stubs library (libtclstub.8.5.a, for instance). Complete traceback below: Graphing /Applications/pysol/pysol-4.82-src/dist/PySol 4.82.app/Contents/Frameworks/Tcl.framework/Versions/8.5/libtclstub8.5.a (ppc) Traceback (most recent call last): File "setup.py", line 33, in ? frameworks=['/Library/Tcl.framework/Versions/8.5', 'Librar/Tk.framework/Versions/8.5'], File "/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/distutils/core.py", line 149, in setup dist.run_commands() File "/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/distutils/dist.py", line 946, in run_commands self.run_command(cmd) File "/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/distutils/dist.py", line 966, in run_command cmd_obj.run() File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/py2app/py2app/build_app.py", line 373, in run self._run() File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/py2app/py2app/build_app.py", line 494, in _run self.run_normal() File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/py2app/py2app/build_app.py", line 554, in run_normal self.create_binaries(py_files, pkgdirs, extensions, loader_files) File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/py2app/py2app/build_app.py", line 652, in create_binaries platfiles = mm.run() File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/py2app/macholib/MachOStandalone.py", line 101, in run mm.run_file(fn) File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/py2app/macholib/MachOGraph.py", line 62, in run_file m = MachO(pathname) File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/py2app/macholib/MachO.py", line 254, in __init__ self.load() File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/py2app/macholib/MachO.py", line 287, in load self.archs = self.load_fat(fat, fh) File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/py2app/macholib/MachO.py", line 273, in load_fat raise ValueError, "got unrecognized magic of %08x" % (header.magic, MH_MAGIC, MH_CIGAM) TypeError: not all arguments converted during string formatting - -- Kevin Walzer Poetic Code http://www.kevin-walzer.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFESPQbrTC5hIgjqTMRAmARAKCRF9uVAO+l1KdpWzW7dydRZnxAkQCgnTJ3 cPzcYXZn3pE0rF4Xtw2bcNw= =raXl -----END PGP SIGNATURE----- _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig