Package: decompyle
Version: 2.3.2-3
Output:
(~) admin% decompyle decompyle-2.3.2.orig/test/bytecode_2.2/
test_empty.pyc
Sun Jul 23 12:02:51 2006
### Can't decompyle test_empty.pyc
Traceback (most recent call last):
File "/usr/local/bin/decompyle", line 91, in ?
main(src_base, out_base, files, outfile, showasm, showast,
do_verify)
File "/usr/local/lib/python2.3/site-packages/decompyle/
__init__.py", line 189, in main
decompyle_file(infile, outstream, showasm, showast)
File "/usr/local/lib/python2.3/site-packages/decompyle/
__init__.py", line 129, in decompyle_file
version, co = _load_module(filename)
File "/usr/local/lib/python2.3/site-packages/decompyle/
__init__.py", line 74, in _load_module
raise ImportError, "Unknown magic number in %s" % filename
ImportError: Unknown magic number in decompyle-2.3.2.orig/test/
bytecode_2.2/test_empty.pyc
same for every other .pyc file. Seems to be a problem related to
endianness. test_empty.pyc begins with 0x2ded (= 60717 small endian)
but python on ppc expects 0xed2d.
My kernel: Darwin localhost.local 8.7.0 Darwin Kernel Version 8.7.0:
Fri May 26 15:20:53 PDT 2006; root:xnu-792.6.76.obj~1/RELEASE_PPC
Power Macintosh powerpc
Python: Python 2.3.5 (#1, Mar 20 2005, 20:38:20) [GCC 3.3 20030304
(Apple Computer, Inc. build 1809)] on darwin
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]