diaphora icon indicating copy to clipboard operation
diaphora copied to clipboard

diaphora crashes IDA 7.6 with python 3.9 (master repo)

Open wookong007 opened this issue 4 years ago • 3 comments

C:\Users\WooKong007\Desktop\diaphora-master\diaphora-master\diaphora.py: DLL load failed: The specified module could not be found. Traceback (most recent call last): File "C:\Program Files (x86)\IDA 7.6\python\3\ida_idaapi.py", line 616, in IDAPython_ExecScript exec(code, g) File "C:/Users/WooKong007/Desktop/diaphora-master/diaphora-master/diaphora.py", line 2168, in exec(compile(open(script, "rb").read(), script, 'exec')) File "C:/Users/WooKong007/Desktop/diaphora-master/diaphora-master\diaphora_ida.py", line 48, in from PyQt5 import QtCore, QtGui, QtWidgets ImportError: DLL load failed: The specified module could not be found.

wookong007 avatar Jan 09 '22 17:01 wookong007

I think, I've had this exact problem when I updated to IDA 7.6 and the newest version of Diaphora. Or maybe with another plugin.

Not Diaphora's fault. It's some IDA to Python dependency problem. It happens since IDA 7.5 and you need to install a patch like this: https://github.com/gaasedelen/lucid/issues/1#issuecomment-762281421

KulaGGin avatar Jan 17 '22 16:01 KulaGGin

It looks like a problem with QT, not exactly with Diaphora. If you want to test it, try running the following line in the Python prompt in IDA:

from PyQt5 import QtCore, QtGui, QtWidgets

If it fails, try running idapyswitch on the command line to see if you can fix this problem.

joxeankoret avatar Jan 19 '22 10:01 joxeankoret

Hey,

I had the same issue on my Windows box, running idapyswitch fixed it, thanks.

matteyeux avatar Jan 29 '22 08:01 matteyeux

Closing it. Feel free to reopen if you are having problems.

joxeankoret avatar Nov 25 '22 07:11 joxeankoret