Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'netnode' #1

Open
vadimszzz opened this issue Dec 10, 2022 · 2 comments
Open

No module named 'netnode' #1

vadimszzz opened this issue Dec 10, 2022 · 2 comments

Comments

@vadimszzz
Copy link

vadimszzz commented Dec 10, 2022

IDA 7.7 (64-bit)
Python 3.9.0
Windows 10

C:\Program Files\IDA Pro 7.7\scripts\beautify.py: No module named 'netnode'
Traceback (most recent call last):
  File "C:\Program Files\IDA Pro 7.7\python\3\ida_idaapi.py", line 580, in IDAPython_ExecScript
    exec(code, g)
  File "C:/Program Files/IDA Pro 7.7/scripts/beautify.py", line 5, in <module>
    import netnode
ModuleNotFoundError: No module named 'netnode'
@vadimszzz
Copy link
Author

vadimszzz commented Dec 10, 2022

Fixed "No module named 'netnode'" in #2

Now this happens:

C:\Program Files\IDA Pro 7.7\scripts\beautify.py: __init__() missing 1 required positional argument: 'nodeid'
Traceback (most recent call last):
  File "C:\Program Files\IDA Pro 7.7\python\3\ida_idaapi.py", line 580, in IDAPython_ExecScript
    exec(code, g)
  File "C:/Program Files/IDA Pro 7.7/scripts/beautify.py", line 323, in <module>
    remover_address_manager.initialize()
  File "C:/Program Files/IDA Pro 7.7/scripts/beautify.py", line 96, in initialize
    self.node = netnode.Netnode("Beautify.RemoverAddressManager")
TypeError: __init__() missing 1 required positional argument: 'nodeid'

@vadimszzz
Copy link
Author

$ del /s netnode.py
$ pip install ida-netnode

Still the same error:

C:\Program Files\IDA Pro 7.7\scripts\beautify.py: __init__() missing 1 required positional argument: 'nodeid'
Traceback (most recent call last):
  File "C:\Program Files\IDA Pro 7.7\python\3\ida_idaapi.py", line 580, in IDAPython_ExecScript
    exec(code, g)
  File "C:/Program Files/IDA Pro 7.7/scripts/beautify.py", line 323, in <module>
    remover_address_manager.initialize()
  File "C:/Program Files/IDA Pro 7.7/scripts/beautify.py", line 96, in initialize
    self.node = netnode.Netnode("Beautify.RemoverAddressManager")
TypeError: __init__() missing 1 required positional argument: 'nodeid'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant