Open GoogleCodeExporter opened 8 years ago
me either.
sx@sx-R408P:~/androguard$ ./androdd.py -i ~/crackme0502.apk -o ~/out/ -d -f png
Dump information /home/sx/crackme0502.apk in /home/sx/out/
Clean directory /home/sx/out/
Analysis ... End
Decompilation ...
Traceback (most recent call last):
File "./androdd.py", line 222, in <module>
main(options, arguments)
File "./androdd.py", line 207, in main
export_apps_to_format(options.input, a, options.output, options.limit, options.jar, options.decompiler, options.format)
File "./androdd.py", line 127, in export_apps_to_format
raise("invalid decompiler !")
TypeError: exceptions must be old-style classes or derived from BaseException,
not str
Ubuntu 13.10 + python2.7.5 + hg clone https://androguard.googlecode.com/hg/
androguard (so I cloned the latest androguard)
I have done my homework. Python 2.5 shows 'deprecation' .Python 2.7 /3.0 just do not support str-based anomaly.
Still don't know how to deal.Must install Python 2.5 ?
Original comment by shang.xu...@gmail.com
on 30 Apr 2014 at 3:21
change raise 'String' with raise Exception('string') in your androdd.py script
Original comment by amriabde...@gmail.com
on 16 Jul 2014 at 9:31
Original issue reported on code.google.com by
wangjiay...@gmail.com
on 31 Mar 2014 at 3:18