osirislab / Fentanyl

Fentanyl is an IDAPython script that makes patching significantly easier
204 stars 27 forks source link

Attribute Error #10

Closed justinb33br closed 10 years ago

justinb33br commented 10 years ago

After I install Python 2.7 PySide and IDAPython I try to load the script file main.py but I encounter this error:

Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit (Intel)] IDAPython v1.5.2 final (serial 3) (c) The IDAPython Team idapython@googlegroups.com

type object 'Form' has no attribute 'MultiLineTextControl' Traceback (most recent call last): File "C:\Program Files\IDA PRO Advanced Edition\python\idaapi.py", line 396, in IDAPython_ExecScript execfile(script, g) File "C:/Documents and Settings/Owner/My Documents/Downloads/Fentanyl/main.py", line 51, in asf = AssembleForm.AssembleForm() File "C:/Documents and Settings/Owner/My Documents/Downloads/Fentanyl\AssembleForm.py", line 14, in init 'inp':idaapi.Form.MultiLineTextControl('', idaapi.textctrl_info_t.TXTF_FIXEDFONT), AttributeError: type object 'Form' has no attribute 'MultiLineTextControl'

Exception AttributeError: "'AssembleForm' object has no attribute 'ui_cntls'" in <bound method AssembleForm.del of <AssembleForm.AssembleForm object at 0x068D99D0>> ignored

kiwiz commented 10 years ago

What version of IDA are you using?

ColdHeat commented 10 years ago

Which version of IDA are you using? IDA 6.1 is not supported. You can use the keybindings but things involving PySide will not work.

justinb33br commented 10 years ago

Oh..that would explain it. I am using IDA 6.1

ColdHeat commented 10 years ago

We can tell.

Support for older versions of IDA will be worked on but overall the GUI is known to best work with IDA 6.4.