olahstatistik / idapython

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

GetIdaDirectory fails #69

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. try to call GetIdaDirectory
2. get a TypeError

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Program Files\IDA\python\idc.py", line 1598, in GetIdaDirectory
    return idaapi.idadir()
  File "C:\Program Files\IDA\python\idaapi.py", line 17874, in idadir
    return _idaapi.idadir(*args)

It looks like replacing the line of code in GetIdaDirectory to send an empty 
string to idaapi.idadir solves this issue:

def GetIdaDirectory ():
    return idaapi.idadir("")

Original issue reported on code.google.com by theh...@gmail.com on 21 Jun 2011 at 8:52

GoogleCodeExporter commented 9 years ago
Thank you. Fixed in r360

Original comment by elias.ba...@gmail.com on 4 Jul 2011 at 1:20