Skip to content
This repository has been archived by the owner on Jul 7, 2021. It is now read-only.

Error when decompiling python2.6 pyc #9

Open
cleaker opened this issue Sep 21, 2012 · 0 comments
Open

Error when decompiling python2.6 pyc #9

cleaker opened this issue Sep 21, 2012 · 0 comments

Comments

@cleaker
Copy link

cleaker commented Sep 21, 2012

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/uncompyle2/init.py", line 200, in main
uncompyle_file(infile, outstream, showasm, showast)
File "/usr/local/lib/python2.7/dist-packages/uncompyle2/init.py", line 137, in uncompyle_file
uncompyle(version, co, outstream, showasm, showast)
File "/usr/local/lib/python2.7/dist-packages/uncompyle2/init.py", line 126, in uncompyle
walker.gen_source(ast, customize)
File "/usr/local/lib/python2.7/dist-packages/uncompyle2/Walker.py", line 1384, in gen_source
self.print_(self.traverse(ast, isLambda=isLambda))
File "/usr/local/lib/python2.7/dist-packages/uncompyle2/Walker.py", line 484, in traverse
self.preorder(node)
File "/usr/local/lib/python2.7/dist-packages/uncompyle2/spark.py", line 692, in preorder
self.preorder(kid)
File "/usr/local/lib/python2.7/dist-packages/uncompyle2/spark.py", line 692, in preorder
self.preorder(kid)
File "/usr/local/lib/python2.7/dist-packages/uncompyle2/spark.py", line 692, in preorder
self.preorder(kid)
File "/usr/local/lib/python2.7/dist-packages/uncompyle2/spark.py", line 685, in preorder
func(node)
File "/usr/local/lib/python2.7/dist-packages/uncompyle2/Walker.py", line 951, in n_classdef
self.build_class(node[2][-2].attr)
File "/usr/local/lib/python2.7/dist-packages/uncompyle2/Walker.py", line 1367, in build_class
self.gen_source(ast, code.customize)
File "/usr/local/lib/python2.7/dist-packages/uncompyle2/Walker.py", line 1384, in gen_source
self.print
(self.traverse(ast, isLambda=isLambda))
File "/usr/local/lib/python2.7/dist-packages/uncompyle2/Walker.py", line 484, in traverse
self.preorder(node)
File "/usr/local/lib/python2.7/dist-packages/uncompyle2/spark.py", line 692, in preorder
self.preorder(kid)
File "/usr/local/lib/python2.7/dist-packages/uncompyle2/spark.py", line 692, in preorder
self.preorder(kid)
File "/usr/local/lib/python2.7/dist-packages/uncompyle2/spark.py", line 692, in preorder
self.preorder(kid)
File "/usr/local/lib/python2.7/dist-packages/uncompyle2/spark.py", line 687, in preorder
self.default(node)
File "/usr/local/lib/python2.7/dist-packages/uncompyle2/Walker.py", line 1158, in default
self.engine(table[key], node)
File "/usr/local/lib/python2.7/dist-packages/uncompyle2/Walker.py", line 1108, in engine
self.preorder(node[entry[arg]])
File "/usr/local/lib/python2.7/dist-packages/uncompyle2/spark.py", line 687, in preorder
self.default(node)
File "/usr/local/lib/python2.7/dist-packages/uncompyle2/Walker.py", line 1158, in default
self.engine(table[key], node)
File "/usr/local/lib/python2.7/dist-packages/uncompyle2/Walker.py", line 1108, in engine
self.preorder(node[entry[arg]])
File "/usr/local/lib/python2.7/dist-packages/uncompyle2/spark.py", line 687, in preorder
self.default(node)
File "/usr/local/lib/python2.7/dist-packages/uncompyle2/Walker.py", line 1158, in default
self.engine(table[key], node)
File "/usr/local/lib/python2.7/dist-packages/uncompyle2/Walker.py", line 1108, in engine
self.preorder(node[entry[arg]])
File "/usr/local/lib/python2.7/dist-packages/uncompyle2/spark.py", line 685, in preorder
func(node)
File "/usr/local/lib/python2.7/dist-packages/uncompyle2/Walker.py", line 862, in n_mkfunc
self.make_function(node, isLambda=0)
File "/usr/local/lib/python2.7/dist-packages/uncompyle2/Walker.py", line 1259, in make_function
code = Code(code, self.scanner, self.currentclass)
File "/usr/local/lib/python2.7/dist-packages/uncompyle2/Scanner.py", line 60, in init
self._tokens, self._customize = scanner.disassemble(co, classname)
File "/usr/local/lib/python2.7/dist-packages/uncompyle2/Scanner26.py", line 92, in disassemble
self.restructCode(toDel)
File "/usr/local/lib/python2.7/dist-packages/uncompyle2/Scanner26.py", line 404, in restructCode
self.toChange[self.toChange.index(change)] -= self.op_size(self.code[toDel])
ValueError: 100 is not in list

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant