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 'r2lang' #99

Open
cryptax opened this issue Dec 12, 2024 · 1 comment
Open

No module named 'r2lang' #99

cryptax opened this issue Dec 12, 2024 · 1 comment

Comments

@cryptax
Copy link
Contributor

cryptax commented Dec 12, 2024

I installed r2ai freshly compiled of today. This is not a feature request but an install bug?

$ r2 ./my.elf 
Traceback (most recent call last):
  File "/home/axelle/.local/share/radare2/plugins/r2ai.py", line 20, in <module>
    import r2lang
ModuleNotFoundError: No module named 'r2lang'
WARN: Relocs has not been applied. Please use `-e bin.relocs.apply=true` or `-e bin.cache=true` next time
 -- Radare2, we need you to ctrl+s the world.
[0x00002d30]> 

This is what I have in /home/axelle/.local/share/radare2/plugins/:

$ ls -al /home/axelle/.local/share/radare2/plugins
total 544
drwxr-xr-x 2 axelle axelle   4096 Dec 12 08:49 .
drwxr-xr-x 6 axelle axelle   4096 Aug 30 11:20 ..
-rw-r--r-- 1 axelle axelle  27430 Dec 12 08:49 decai.r2.js
-rwxr-xr-x 1 axelle axelle 382416 Sep 27 09:58 lang_python.so
-rwxr-xr-x 1 axelle axelle 109304 Sep 20 11:41 libcoreafen.so
lrwxrwxrwx 1 axelle axelle     69 Dec 12 08:49 r2ai.py -> /home/axelle/.local/share/radare2/r2pm/git/r2ai-plugin/r2ai/plugin.py
-rwxr-xr-x 1 axelle axelle  17368 Sep 24 11:13 uf2_plugin.so

This is what r2pm says. There is a package named rlang-python:

$ r2pm -l
r2ai-server
r2ai-plugin
uf2
llamafile
decai
r2ai
rlang-python
sdb
@trufae
Copy link
Contributor

trufae commented Dec 12, 2024

i think we should just remove the r2 plugin ability of r2ai. as long as we will just do everything in plain C soon

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

2 participants