Hi Nehemiah,
thanks for your reply. I'm using an Intel Macbook Pro, osx 10.4.10
with the trunk version of macholib. macholib isn't PPC only is it?
Thijs
On Jun 28, 2007, at 6:57 AM, Nehemiah Dacres wrote:
sounds like another endianness problem, which architecture are u
running?
[exec] hdr = MachOHeader(self, fh, offset, size, magic,
hdr, endian)
[exec] File "/private/tmp/trunk/macholib/MachO.py", line 146,
in __init__
[exec] self.load(fh)
[exec] File "/private/tmp/trunk/macholib/MachO.py", line 178,
in load
[exec] raise ValueError("Unknown load command: %d" %
(cmd_load.cmd,)) # and some bad exception handeling in my opinion.
This should be encapsulated in a function call shouldn't it?
[exec] ValueError: Unknown load command: 27
[exec] > /private/tmp/trunk/macholib/MachO.py(178)load()
[exec] -> raise ValueError("Unknown load command: %d" %
(cmd_load. cmd,))
[exec] (Pdb)
--
"lalalalala! it's not broken because I can use it"
http://linux.slashdot.org/comments.pl?
sid=194281&threshold=1&commentsort=0&mode=thread&cid=15927703
_______________________________________________
Pythonmac-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig