Code Monkey home page Code Monkey logo

Comments (13)

gaasedelen avatar gaasedelen commented on June 30, 2024 3

I don't think Python 3.9 works properly on IDA 7.5 unless you download and install this update:

https://www.hex-rays.com/blog/python-3-9-support-for-ida-7-5/

Please try that and let me know if it fixes the issue. Otherwise try downgrading to Python 3.6 - 3.8

from lucid.

yashomer1994 avatar yashomer1994 commented on June 30, 2024 1

As the error told it needs sip, I've search in PyQt5 folder, it had all module lucid need

I will check with the same , let you know if issue is resolved or not.
Thanks

from lucid.

yashomer1994 avatar yashomer1994 commented on June 30, 2024

can't Load Plugin

from lucid.

klefo0 avatar klefo0 commented on June 30, 2024

I mean, what wrong when the code exec.
I've look into src code but nothing wrong

from lucid.

yashomer1994 avatar yashomer1994 commented on June 30, 2024

I mean, what wrong when the code exec.
I've look into src code but nothing wrong

As Per given instructions , copied content to plugin but after restarting IDApro ,
Error:
Screenshot 2021-01-17 at 4 56 50 PM

Somewhere, it fails to locate the required modules.

from lucid.

klefo0 avatar klefo0 commented on June 30, 2024

As the error told it needs sip, I've search in PyQt5 folder, it had all module lucid need

from lucid.

gaasedelen avatar gaasedelen commented on June 30, 2024

I mean, what wrong when the code exec.
I've look into src code but nothing wrong

As Per given instructions , copied content to plugin but after restarting IDApro ,
Error:
Screenshot 2021-01-17 at 4 56 50 PM

Somewhere, it fails to locate the required modules.

Lucid is not supported on IDA 7.0. Only IDA Pro 7.5+

Screenshot 2021-01-16 235721
I don't know what wrong happen, can you fix it?

Please run the following in the IDA console:

import idaapi, sys, PyQt5; print(sys.version); print(PyQt5.Qt.PYQT_VERSION_STR); print(PyQt5.__file__); print(idaapi.get_kernel_version(), idaapi.IDA_SDK_VERSION);

And paste the output here so I can help try to diagnose the issue.

If I were to guess, you probably have pip installed another instance of PyQt into your python environment and that one is getting picked up instead of IDA's PyQt libraries.

from lucid.

klefo0 avatar klefo0 commented on June 30, 2024

Here what I've got

Python>import idaapi, sys, PyQt5; print(sys.version); print(PyQt5.Qt.PYQT_VERSION_STR); print(PyQt5.__file__); print(idaapi.get_kernel_version(), idaapi.IDA_SDK_VERSION);
3.9.1 (tags/v3.9.1:1e5d33e, Dec  7 2020, 17:08:21) [MSC v.1927 64 bit (AMD64)]
Traceback (most recent call last):
  File "<string>", line 1, in <module>
AttributeError: module 'PyQt5' has no attribute 'Qt'

from lucid.

klefo0 avatar klefo0 commented on June 30, 2024

I've tried it, nothing resolved

F:\ReserveEngine\IDA Pro 7.5\plugins\lucid_plugin.py: DLL load failed while importing sip: The specified module could not be found.
Traceback (most recent call last):
  File "F:\ReserveEngine\IDA Pro 7.5\python\3\ida_idaapi.py", line 616, in IDAPython_ExecScript
    exec(code, g)
  File "F:/ReserveEngine/IDA Pro 7.5/plugins/lucid_plugin.py", line 6, in <module>
    import lucid
  File "F:/ReserveEngine/IDA Pro 7.5/plugins\lucid\__init__.py", line 1, in <module>
    from lucid.core import LucidCore
  File "F:/ReserveEngine/IDA Pro 7.5/plugins\lucid\core.py", line 5, in <module>
    from lucid.ui.explorer import MicrocodeExplorer
  File "F:/ReserveEngine/IDA Pro 7.5/plugins\lucid\ui\explorer.py", line 10, in <module>
    from PyQt5 import QtWidgets, QtGui, QtCore, sip
ImportError: DLL load failed while importing sip: The specified module could not be found.

from lucid.

gaasedelen avatar gaasedelen commented on June 30, 2024

I just tested on 7.5 SP3 with Python 3.9.1 using the instructions in the link above. Lucid seems to load and operate just fine.

I don't think you installed the updated packages in the correct directory, either that or you forgot to run idapyswitch as they say in step 4.

from lucid.

klefo0 avatar klefo0 commented on June 30, 2024

I've using idapyswitch before run ida, then that report in output window.
I'll try downgrade python

from lucid.

klefo0 avatar klefo0 commented on June 30, 2024

I've downgrade python to ver.3.8, now it load, thank @gaasedelen for helping us

from lucid.

Raymoneliu avatar Raymoneliu commented on June 30, 2024

use porcess monitor to view IDA 7.5 open dll,if you don't use idapyswitch to switch python version,ida 7.5 will try to load python38.dll,so you can use idapyswitch.exe(ida install root path) to set python version

from lucid.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.