-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
AmazonLinux GitFS PyGit2 AttributeError: '_pygit2.Reference' object has no attribute 'get_object' #51270
Comments
looks like in pygit version https://github.com/libgit2/pygit2/blob/master/CHANGELOG.rst
ping @terminalmage |
Fixed in #51304 |
@iwillflytothemoon Did you manually install all libraries? If so, using pygit2 0.27.3 instead of 0.27.4 will allow pygit2 to work in the meantime. |
@terminalmage Yes, I manually installed all the libraries. I will try it now and will give an update later. Thanks. |
Downgrading pygit2 version fixed the issue. I updated my formula and it worked.
thanks @terminalmage @Ch3LL |
Thanks a lottt!! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue. |
The fix for this was merged almost a year ago. This issue should be closed immediately and not because of a bot. |
Thank you for updating this issue. It is no longer marked as stale. |
Description of Issue/Question
I am using amazonlinux:2018.03 docker image and trying to setup salt-master with gitfs. I already installed all necessary libraries and no error found after restart salt-master service. But when I run salt-run fileserver.file_list I encountered this error:
Setup
/etc/salt/master
/etc/salt/master.d/gitfs.conf
Steps to Reproduce Issue
salt-run fileserver.file_list
Versions Report
The text was updated successfully, but these errors were encountered: