You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unable to load addon script from path: 'res://addons/godot-git-plugin/git_api.gdns'. #94
On linux (x11) with the latest zip from AssetLib and the 1.2.2 from github releases. (tried both independently and quit the project in between)
The message in title is when I go to project settings plugins tab and click Enable checkmark next to the Godot Git Plugin. (that's the only plugin I have in the project)
Full message:
Warning!
Unable to load addon script from path: 'res://addons/godot-git-plugin/git_api.gdns'. This might be due to a code error in that script.
Disabling the addon at 'res://addons/godot-git-plugin/plugin.cfg' to prevent further errors.
Reacted by Arne, Nikole Fox, Luis Victoria, Dmitry and Eewan ⚙️
I did naive patch by copying libgitapi.so from 1.2.1-x11 version which is significantly larger but then error changes to:
Unable to load addon script from path: 'res://addons/godot-git-plugin/git_api.gdns' Base type is not EditorPlugin.
No errors in console besides that.
Installing plain version 2.1.1-x11 is not resolved in plugin section, console output:
ERROR: Can't open dynamic library: /home/krzysiek/Godot/Sandbox/bin/x11/release/libgitapi.so. Error: /usr/local/bin/../lib/libgitapi.so: cannot open shared object file: No such file or directory
at: open_dynamic_library (drivers/unix/os_unix.cpp:403)
ERROR: does not have a library for the current platform.
at: init_library (modules/gdnative/nativescript/nativescript.cpp:1486)
ERROR: does not have a library for the current platform.
at: init_library (modules/gdnative/nativescript/nativescript.cpp:1486)
ERROR: does not have a library for the current platform.
at: init_library (modules/gdnative/nativescript/nativescript.cpp:1486)
ERROR: does not have a library for the current platform.
at: init_library (modules/gdnative/nativescript/nativescript.cpp:1486)
@kkurczewski Enabling this plugin should be done through Project > Version Control > Set Up Version Control. Could you check if that works for your project?
My mistake was that I was looking at "Installation" instruction but I skipped "Usage section", other plugin I installed required this checkbox in plugins to be enabled which confused me.
Hi,
I seem to be running into the same issue: I'm running Godot v3.5.1.stable.official on Fedora Linux 36. I installed the files from Github, v2.1.0, just like the wiki explains.
Both Project -> Version Control -> Set Up Version Control and Project -> Project Settings -> Plugins -> Enabling Godot Git Plugin give the errors described earlier: No VCS plugins are available.
Unable to load addon script from path: 'res://addons/godot-git-plugin/git_api.gdns'. This might be due to a code error in that script. Disabling the addon at 'res://addons/godot-git-plugin/plugin.cfg' to prevent further errors.
I've restarted Godot multiple times, reinstalled this plugin, and I made sure git is installed on my pc.
Does anyone know what could be wrong? Please let me know if you need more info.
@M2WZ From your screenshot, it doesn't look like the plugin is on a different path than expected. So this should work technically. As a possible workaround, you mentioned that you placed the files manually, so could you try installing the plugin from the Asset library instead?
Also, the only way to enable this plugin right now is to use the Project > Version Control menu
Installing from the AssetLib worked flawlessly, thanks!
I downloaded v2.1.0 from Github (compatible with 3.5, according to the release info), which didn't work. Then I saw the Asset Library provided v1.2.3, so I tried downloading that one from Github releases. That worked fine, even though it says it is only compatible with 3.2.x-3.4.x, while I'm running 3.5.1. So it seems the release info on Github is wrong, at least for Linux.
Could you maybe change the release notes/wiki to make it clear v2.1.0 is not compatible with 3.5 on Linux and people should use v1.2.3?
Hmm, this doesn't sound right. The mappings between the documented compatible Godot versions and the plugin versions should be 100% accurate.
If it isn't then something else went wrong either when setting the plugin up on the user side, or while packing up the plugin because this seems to be the first time this has been reported while we have had a few thousand Linux users on 2.x.
Well that's embarrassing...
I'm sorry, I have no clue where I went wrong, but the versions are indeed right. I made a few dummy projects to test. Each time I loaded v1.2.3, it showed the Set up...-screen and I could Initialize it, but it didn't show any changes. Loading v2.1.0 worked fine, but it seem to do so last time, no clue why. I probably messed up with copying the files over, sorry for bothering you.
can someone tell me what im doing wrong im new to this I installed everything needed to run this asset but keep getting this error ive tried older and newer version and still the same error.
Activity
Calinou commentedon Dec 28, 2021
Please run the Godot editor from a terminal and check the output in the terminal. This is likely a duplicate of #82.
kkurczewski commentedon Jan 30, 2022
Hello, I think it is likely same issue as in #82.
I tried with fresh installation of Godot 3.4.2.stable and plugin in version 1.2.2:
I did naive patch by copying
libgitapi.sofrom 1.2.1-x11 version which is significantly larger but then error changes to:No errors in console besides that.
Installing plain version 2.1.1-x11 is not resolved in plugin section, console output:
Fix pcre not being included in static libgit2 build
twaritwaikar commentedon Jan 31, 2022
Fixed in #103. A new 1.x release will contain this fix. If it still causes an issue, please open this bug again.
Thanks!
twaritwaikar commentedon Feb 1, 2022
v1.2.3 has been released, which addresses this issue.
kkurczewski commentedon Feb 1, 2022
Hello, just checked newest version 1.2.3 on my version
Godot Engine v3.4.2.stable.official.45eaa2daf.No errors in console about missing library, plugin is on list but I can't enable it, trying to do so ends with error box:
If it helps debugging I can add that in GDNative tab I see there is entry
git_api.gdnlibwhich is in status enabled.twaritwaikar commentedon Feb 1, 2022
@kkurczewski Enabling this plugin should be done through Project > Version Control > Set Up Version Control. Could you check if that works for your project?
kkurczewski commentedon Feb 1, 2022
Ahh... okay, it works like a charm. 👍
My mistake was that I was looking at "Installation" instruction but I skipped "Usage section", other plugin I installed required this checkbox in plugins to be enabled which confused me.
Thanks 😄
M2WZ commentedon Oct 18, 2022
Hi,

I seem to be running into the same issue: I'm running Godot v3.5.1.stable.official on Fedora Linux 36. I installed the files from Github, v2.1.0, just like the wiki explains.
Both
Project->Version Control->Set Up Version ControlandProject->Project Settings->Plugins-> Enabling Godot Git Plugin give the errors described earlier:No VCS plugins are available.Unable to load addon script from path: 'res://addons/godot-git-plugin/git_api.gdns'. This might be due to a code error in that script. Disabling the addon at 'res://addons/godot-git-plugin/plugin.cfg' to prevent further errors.I've restarted Godot multiple times, reinstalled this plugin, and I made sure git is installed on my pc.
Does anyone know what could be wrong? Please let me know if you need more info.
Thanks!
twaritwaikar commentedon Oct 25, 2022
@M2WZ From your screenshot, it doesn't look like the plugin is on a different path than expected. So this should work technically. As a possible workaround, you mentioned that you placed the files manually, so could you try installing the plugin from the Asset library instead?
Also, the only way to enable this plugin right now is to use the
Project > Version ControlmenuM2WZ commentedon Oct 26, 2022
Installing from the AssetLib worked flawlessly, thanks!
I downloaded v2.1.0 from Github (compatible with 3.5, according to the release info), which didn't work. Then I saw the Asset Library provided v1.2.3, so I tried downloading that one from Github releases. That worked fine, even though it says it is only compatible with 3.2.x-3.4.x, while I'm running 3.5.1. So it seems the release info on Github is wrong, at least for Linux.
Could you maybe change the release notes/wiki to make it clear v2.1.0 is not compatible with 3.5 on Linux and people should use v1.2.3?
Thanks for your help!
twaritwaikar commentedon Oct 31, 2022
Hmm, this doesn't sound right. The mappings between the documented compatible Godot versions and the plugin versions should be 100% accurate.
If it isn't then something else went wrong either when setting the plugin up on the user side, or while packing up the plugin because this seems to be the first time this has been reported while we have had a few thousand Linux users on 2.x.
M2WZ commentedon Nov 7, 2022
Well that's embarrassing...
I'm sorry, I have no clue where I went wrong, but the versions are indeed right. I made a few dummy projects to test. Each time I loaded v1.2.3, it showed the Set up...-screen and I could Initialize it, but it didn't show any changes. Loading v2.1.0 worked fine, but it seem to do so last time, no clue why. I probably messed up with copying the files over, sorry for bothering you.
RelicSoulz commentedon Jul 1, 2024
can someone tell me what im doing wrong im new to this I installed everything needed to run this asset but keep getting this error ive tried older and newer version and still the same error.
