Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installed everything you described still an error #3

Closed
jocmer opened this issue Aug 10, 2016 · 2 comments
Closed

installed everything you described still an error #3

jocmer opened this issue Aug 10, 2016 · 2 comments

Comments

@jocmer
Copy link

jocmer commented Aug 10, 2016

System: Debian 7.11 wheezy
Python Version: 2.7.3

NameError: global name 'KS_MODE_32' is not defined
joey@local_joey:~/radare2# metame -i /home/joey/testing/test.exe -o /home/joey/testing/mutation.exe -d
[INFO] Opening file with r2
Warning: read (tls_callback)
[INFO] Analyzing functions with r2
Traceback (most recent call last):
File "/usr/local/bin/metame", line 5, in
metame.main()
File "/usr/local/lib/python2.7/dist-packages/metame/init.py", line 20, in main
patches = r.iterate_fcn()
File "/usr/local/lib/python2.7/dist-packages/metame/r2parser.py", line 32, in iterate_fcn
arch = x86handler.X86Handler(self.bits, self.debug, self.force)
File "/usr/local/lib/python2.7/dist-packages/metame/x86handler.py", line 73, in init
ks_mode = KS_MODE_32 if self.bits == 32 else KS_MODE_64
NameError: global name 'KS_MODE_32' is not defined

@a0rtega
Copy link
Owner

a0rtega commented Aug 11, 2016

It seems to be something with your keystone installation.

It looks like you have some python library named "keystone" too, and it's importing the wrong library?

Could be this? http://docs.openstack.org/developer/keystone/setup.html

@SNFC
Copy link

SNFC commented Mar 28, 2018

I have the same issue with the wrong "keystone" library but I dont know how to fix it!
Remove OpenStack keystone?
I installed (and tested) keystone-engine, its working fine!

Im running it on a clean kubuntu 16.04 VM.

I would be very happy if anyone could help!

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

No branches or pull requests

3 participants