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

Error when trying to run gitfs #1018

Open
ghost opened this issue Jul 7, 2020 · 1 comment
Open

Error when trying to run gitfs #1018

ghost opened this issue Jul 7, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Jul 7, 2020

Error

no@no~/gitfstestgitfs [REDACTED] .
Traceback (most recent call last):
  File "/usr/bin/gitfs", line 33, in <module>
    sys.exit(load_entry_point('gitfs==0.5.1', 'console_scripts', 'gitfs')())
  File "/usr/lib/python3.8/site-packages/gitfs/__init__.py", line 19, in mount
    from gitfs.mounter import start_fuse
  File "/usr/lib/python3.8/site-packages/gitfs/mounter.py", line 22, in <module>
    from pygit2.remote import RemoteCallbacks
ImportError: cannot import name 'RemoteCallbacks' from 'pygit2.remote' (/usr/lib/python3.8/site-packages/pygit2/remote.py)

 ✘ no@no~/gitfstest

Additional Info:

My uname -a output:

Linux no 5.7.3-arch1-1 #1 SMP PREEMPT Wed, 17 Jun 2020 19:42:12 +0000 x86_64 GNU/Linux

@omniproc
Copy link

Looks like an error in mounter.py from gitfs. RemoteCallbacks is not part of pygit2.remote but rather pygit2.callbacks. I guess that's because gitfs is using an old build of pygit2, see presslabs/gitfs#323

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

1 participant