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

FileNotFoundError: [Errno 2] No such file or directory #305

Open
oxr463 opened this issue Jun 9, 2019 · 1 comment
Open

FileNotFoundError: [Errno 2] No such file or directory #305

oxr463 opened this issue Jun 9, 2019 · 1 comment

Comments

@oxr463
Copy link
Contributor

oxr463 commented Jun 9, 2019

Operating System: Debian Stretch
Python: 3.5, (See below).

Linux debian-generic 5.1.5 #1 SMP Tue May 28 18:46:44 EDT 2019 x86_64 GNU/Linux

apt install -y git libgit2-dev libffi-dev libfuse2

git clone https://github.com/presslabs/gitfs.git

cd gitfs && python setup.py install

mkdir /usr/portage

gitfs https://gitlab.com/oxr463/gentoo /usr/portage
Traceback (most recent call last):
  File "/usr/lib/python3.5/logging/handlers.py", line 823, in _connect_unixsocket
    self.socket.connect(address)
FileNotFoundError: [Errno 2] No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/gitfs", line 11, in <module>
    load_entry_point('gitfs==0.4.5.1', 'console_scripts', 'gitfs')()
  File "/usr/local/lib/python3.5/dist-packages/gitfs-0.4.5.1-py3.5.egg/gitfs/__init__.py", line 20, in mount
    start_fuse()
  File "/usr/local/lib/python3.5/dist-packages/gitfs-0.4.5.1-py3.5.egg/gitfs/mounter.py", line 111, in start_fuse
    args = parse_args(parser)
  File "/usr/local/lib/python3.5/dist-packages/gitfs-0.4.5.1-py3.5.egg/gitfs/mounter.py", line 40, in parse_args
    return Args(parser)
  File "/usr/local/lib/python3.5/dist-packages/gitfs-0.4.5.1-py3.5.egg/gitfs/utils/args.py", line 65, in __init__
    self.config = self.build_config(parser.parse_args())
  File "/usr/local/lib/python3.5/dist-packages/gitfs-0.4.5.1-py3.5.egg/gitfs/utils/args.py", line 74, in build_config
    return self.check_args(self.set_defaults(args))
  File "/usr/local/lib/python3.5/dist-packages/gitfs-0.4.5.1-py3.5.egg/gitfs/utils/args.py", line 100, in check_args
    handler = SysLogHandler(address="/dev/log")
  File "/usr/lib/python3.5/logging/handlers.py", line 806, in __init__
    self._connect_unixsocket(address)
  File "/usr/lib/python3.5/logging/handlers.py", line 834, in _connect_unixsocket
    self.socket.connect(address)
FileNotFoundError: [Errno 2] No such file or directory

gitfs -v
GitFS 0.4.5.1
@vtemian
Copy link
Contributor

vtemian commented Oct 18, 2019

It looks like it can't connect to /dev/log.
Can you check if your logging service is running?
Maybe https://askubuntu.com/questions/861227/dev-log-is-missing-how-do-i-fix will help.

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

2 participants