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

Unable to load addon script from path: 'res://addons/pythonscript_repl/plugin.py'. #340

Open
GustavoLR548 opened this issue Jun 4, 2022 · 2 comments

Comments

@GustavoLR548
Copy link

I was trying to install this plugin from the AssetLib inside of the Godot engine. Not only it did not work, but it wasn't showing on the "Plugins tab" in the Project Settings Window.

I tried then to download from this github repository on the "Downloads" section, it finally was showing in the "Plugins" tab, but it still wasn't working, and when trying to enable it, it shows this message.

Unable to load addon script from path: 'res://addons/pythonscript_repl/plugin.py'.

Captura de tela_2022-06-04_19-24-03

I assume that this is happening, because Godot is not recognizing python as a possible language, so he doesn't know what to do with a Python Script, but still, if anyone know how to solve this problem, please let me know.

My specs:

OS: Garuda Linux x86_64
Kernel: 5.15.35-1-lts 
CPU: Intel i7-7700 (8) @ 4 
GPU: NVIDIA GeForce GTX 1060 6gb Ram

Godot version: Godot Engine v3.4.4.stable.arch_linux

@AutonomicPerfectionist
Copy link

I know this is an old issue, but I decided to put something here for those who might stumble on this issue later. For me, the issue was I had Godot installed through Flatpak, and the container did not have the libcrypt.so.1 library installed. I solved it by copying my system's libcrypt.so.1 to a place the container could access (I used ~/.var/app/org.godotengine.Godot3/), and then running a one-time command to set the LD_PRELOAD:

flatpak --user override --env=LD_PRELOAD=~/.var/app/org.godotengine.Godot3/libcrypt.so.1 org.godotengine.Godot3

After that the plugin would load from the asset store with no issue. If it still doesn't work, it's useful to run the editor through the terminal (flatpak run org.godotengine.Godot3) to see if there are any errors in the log.

@GustavoLR548
Copy link
Author

Ah, I understand. I'll definitely give it a shot! Thank you!

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