On 28 Jun, 2007, at 15:03, Thijs Triemstra|Collab wrote:

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?

Macholib is universal capable. It's problably a MachO loader command that isn't support yet. Do you have a link to the framework that doesn't work with macholib (assuming that it is freely available)?

Ronald


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  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to