Error when trying to run gitfs
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.7k
- Forks
- 408
- Avg merge
- 2d 57m
- Merged PRs (30d)
- 7
Description
Error
✘ no@no ~/gitfstest gitfs [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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the traceback entry point in gitfs/init.py and the failing import in gitfs/mounter.py, then check the available pygit2.remote API. Reproduce the gitfs command shown and determine the compatible behavior; done means the command starts without the RemoteCallbacks ImportError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100