Skip to content

Bug with DIE under IDAPro 6.95 #31

@waadaa85

Description

@waadaa85

Hello. I don't know if DIE is still maintained but here is a blocking issue with IDAPro 6.95

I've installed DIE carefully following instructions and I got this error when IDA starts:

[2] Loading data parsers
die_proxy.py: global name 'idaapi' is not defined
Traceback (most recent call last):
File "D:\IDA695\python\ida_idaapi.py", line 509, in IDAPython_ExecScript
execfile(script, g)
File "D:/IDA695/plugins/die_proxy.py", line 13, in
plugin = imp.load_source(name, plugin_path)
File "D:\IDA695\DIE\DIE.py", line 24, in
import DIE.UI.BPView
File "D:\IDA695\DIE\DIE\UI\BPView.py", line 5, in
from DIE.Lib import BpHandler
File "D:\IDA695\DIE\DIE\Lib\BpHandler.py", line 546, in
_bp_handler = BpHandler()
File "D:\IDA695\DIE\DIE\Lib\BpHandler.py", line 36, in init
self.iat = StaticImports() # Static IAT
File "D:\IDA695\DIE\DIE\Lib\DbgImports.py", line 24, in init
self.get_iat_data()
File "D:\IDA695\DIE\DIE\Lib\DbgImports.py", line 42, in get_iat_data
imp_num = idaapi.get_import_module_qty() # Number of imported modules
NameError: global name 'idaapi' is not defined

Additional info:

  • DIE installed from a git clone of the latest master downloaded from here.
  • Python is provided by Anaconda2
  • all DIE dependencies are installed (with anaconda-provided pip) using DIE's requirements.txt
  • pywin32 has been also installed through anaconda2.
  • All dependencies are within the python path.
  • IDAPython is working. Simple commands (such as "import imp" and " help("imp") " ) entered on CLI within idaq.exe are executed correctly. Even "import idaapi" works
  • %DIEDIR% exists and points to D:\IDA695\DIE and I tried to point to

Please advise,
Best Regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions