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
Does not have libary for the current platform (PCRE) #82
Unable to load addon script from path: 'res://addons/godot-git-plugin-v1.2.2/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-v1.2.2/godot-git-plugin/plugin.cfg' to prevent further errors.
GDScript language server started ---
does not have a library for the current platform.
Failed to get modified time for: res://addons/godot-git-plugin/git_api.gdnlib.
does not have a library for the current platform.
core/project_settings.cpp:209 - Property not found: editor_plugins/enabled
The error is probably because of the contents of the release .zip file being present one level deeper than they need to be.
In your case, try just copying res://addons/godot-git-plugin-v1.2.2/godot-git-plugin to res://addons/godot-git-plugin and then you can delete res://addons/godot-git-plugin-v1.2.2.
I wasn't installing from the Asset Library but from the GitHub releases. When I install the Asset library version I get this error.
Godot Engine v3.3.4.stable.mono.official (c) 2007-2021 Juan Linietsky, Ariel Manzur & Godot Contributors.
--- GDScript language server started ---
Can't open dynamic library: /mnt/slowssd/Repos/godot/LD49/addons/godot-git-plugin/x11/release/libgitapi.so. Error: /mnt/slowssd/Repos/godot/LD49/addons/godot-git-plugin/x11/release/libgitapi.so: undefined symbol: pcre_free
modules/gdnative/gdnative.cpp:502 - No valid library handle, can't get symbol from GDNative object
modules/gdnative/nativescript/nativescript.cpp:1482 - No nativescript_init in "res://addons/godot-git-plugin/x11/release/libgitapi.so" found
Thanks for confirming. I am marking this as a bug. The fix should be simple because this is now identified as a regression due to missing an option in our compilation flags.
I used to fall back to version 1.2.1, and it worked, but now that's not even an option. So I can't really use this plugin anymore. Hopefully will be fixed soon. If you need any debugging or assistance from me, I am glad to help. I am starting new project and don't want to use other GitHub plugin (I use GitLab).
The problem with 1.2.1 is that when I reopen the project, it's gone.
@PixsaOJ Godot 3.4 should be working with v1.2.1. The behaviour you see that the VCS needs to be initialized every time you open the project in Godot is actually the correct behaviour from this plugin and has been the behaviour in all v1.x.
However, we have built a way to fix that in the upcoming v2 with godotengine/godot#53900 and #84 along with new features including network-related ones.
I'm getting the same error as #90 on Godot v3.5.1.stable with plugin version 2.1.0 running on EndeavourOS (Linux kernel 6.1.4-arch1-1).
Can't open dynamic library: /(project path)/addons/godot-git-plugin/linux/libgitapi.so. Error: /(project path)/addons/godot-git-plugin/linux/libgitapi.so: failed to map segment from shared object
modules/gdnative/gdnative.cpp:510 - No valid library handle, can't get symbol from GDNative object
modules/gdnative/nativescript/nativescript.cpp:1503 - No nativescript_init in "res://addons/godot-git-plugin/linux/libgitapi.so" found
Activity
twaritwaikar commentedon Oct 2, 2021
The error is probably because of the contents of the release .zip file being present one level deeper than they need to be.
In your case, try just copying
res://addons/godot-git-plugin-v1.2.2/godot-git-plugintores://addons/godot-git-pluginand then you can deleteres://addons/godot-git-plugin-v1.2.2.twaritwaikar commentedon Oct 2, 2021
Just added a note of this in the wiki
twaritwaikar commentedon Oct 2, 2021
Could you confirm that you have downloaded the plugin through the Asset Library?
zwrawr commentedon Oct 4, 2021
I wasn't installing from the Asset Library but from the GitHub releases. When I install the Asset library version I get this error.
twaritwaikar commentedon Oct 4, 2021
@zwrawr That looks like the same issue as #83
Could you try the workaround mentioned therein?
zwrawr commentedon Oct 4, 2021
Looks like I already have it installed
twaritwaikar commentedon Oct 4, 2021
Thanks for confirming. I am marking this as a bug. The fix should be simple because this is now identified as a regression due to missing an option in our compilation flags.
[-]Does not have libary for the current platform[/-][+]Does not have libary for the current platform (PCRE)[/+]eeclarkjr commentedon Dec 12, 2021
Zip file downloaded and saved into addons folder (path shown below)
Get the follow error when trying to enable.
Unable to load addon script from path: 'res://addons/godot-git-plugin/git_api.gdns' There seems to be an error in the code, please check the syntax.
twaritwaikar commentedon Dec 12, 2021
@eeclarkjr Any chance you are using the mono build of Godot?
PixsaOJ commentedon Dec 16, 2021
Godot 3.4 came up.
I used to fall back to version 1.2.1, and it worked, but now that's not even an option. So I can't really use this plugin anymore. Hopefully will be fixed soon. If you need any debugging or assistance from me, I am glad to help. I am starting new project and don't want to use other GitHub plugin (I use GitLab).
The problem with 1.2.1 is that when I reopen the project, it's gone.
twaritwaikar commentedon Dec 25, 2021
@PixsaOJ Godot 3.4 should be working with v1.2.1. The behaviour you see that the VCS needs to be initialized every time you open the project in Godot is actually the correct behaviour from this plugin and has been the behaviour in all v1.x.
However, we have built a way to fix that in the upcoming v2 with godotengine/godot#53900 and #84 along with new features including network-related ones.
twaritwaikar commentedon Jan 14, 2022
The Godot 3.5 beta1 is now live. And along with it, we released a v2.0.0 of this plugin which should fix this issue.
twaritwaikar commentedon Feb 1, 2022
While v2.x fixes this issue, the fix was backported to v1.x as well. The new v1.2.3 should not show any PCRE undefined symbol errors.
fenamori commentedon Jan 9, 2023
I'm getting the same error as #90 on Godot v3.5.1.stable with plugin version 2.1.0 running on EndeavourOS (Linux kernel 6.1.4-arch1-1).
krafi-code commentedon Nov 4, 2023
Calinou commentedon Nov 5, 2023
@View-my-Git-Lab-krafi This issue is unrelated to the Godot Git plugin.