professor-hippo / idapython

Automatically exported from code.google.com/p/idapython
Other
0 stars 0 forks source link

Incorrect build with hex-rays #92

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile IDAPython with hexrays support and IDA SDK and HexRays SDK from 6.5 
release
2. Install it as wrote in readme
3. Run IDA and load any IDB (x86 or ARM to work with decompiler)

What is the expected output? What do you see instead?
Expected output - everything works
I see instead:
#=== START OF OUTPUT WINDOW CONTENT
Traceback (most recent call last):
  File "/home/miatlas/ida-6.5/python/init.py", line 93, in <module>
    from idaapi import Choose, get_user_idadir, cvar, Choose2, Appcall, Form
  File "/home/miatlas/ida-6.5/python/idaapi.py", line 28742, in <module>
    typestring.__str__ = typestring._print
NameError: name 'typestring' is not defined
Traceback (most recent call last):
  File "/home/miatlas/ida-6.5/python/init.py", line 93, in <module>
    from idaapi import Choose, get_user_idadir, cvar, Choose2, Appcall, Form
  File "/home/miatlas/ida-6.5/python/idaapi.py", line 28742, in <module>
    typestring.__str__ = typestring._print
NameError: name 'typestring' is not defined
#===END OF OUTPUT WINDOW CONTENT
And database is not loaded

What version of the product are you using? On what operating system?

I using IDA 6.5.131217 with corresponding hex-rays
on Gentoo 64 bit Linux

Original issue reported on code.google.com by Atlas.Mi...@gmail.com on 7 Jan 2014 at 12:09

GoogleCodeExporter commented 9 years ago
Your problem is most likely you installed the wrong platform version of python. 
 Try switching your python install from either x86->x64 or x64->x86. This 
solves it for me when I get this problem. 

Original comment by nightfor...@gmail.com on 29 Mar 2015 at 10:53