Hehouhua / idapython

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

AttributeError: idaapi.get_import_module_qty() #60

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello, I have IDA Python 1.00 (an old version for my old IDA 5.1 on XP).

I run:
______________
import idaapi

# def imp_cb(ea, name, ord):
    # if not name:
        # print "%08x: ord#%d" % (ea, ord)
    # else:
        # print "%08x: %s (ord#%d)" % (ea, name, ord)
    # return True

nimps = idaapi.get_import_module_qty()
______________

I got this error:
______________
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Program Files\IDA\python\init.py", line 60, in runscript
    execfile(script, globals())
  File "C:/Documents and Settings/Administrateur/Bureau/TER-BCVA/FindRef_NoNull.py", line 18, in <module>
    nimps = idaapi.get_import_module_qty()
AttributeError: 'module' object has no attribute 'get_import_module_qty'
_______________

It is because of my old IDA Python version ?

Thank you.

Original issue reported on code.google.com by touron.g...@gmail.com on 25 Dec 2010 at 12:08

GoogleCodeExporter commented 8 years ago
Yes, naturally. Just try to update your IDAPython and IDA Pro accordingly.

Original comment by elias.ba...@gmail.com on 5 Jan 2011 at 1:37

GoogleCodeExporter commented 8 years ago

Original comment by elias.ba...@gmail.com on 11 Feb 2011 at 5:15