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

bug: fix git-lfs version in path #19

Closed
wants to merge 1 commit into from
Closed

Conversation

ssheng
Copy link

@ssheng ssheng commented Jan 22, 2024

v1.1.5 runs into the follow error due to this bug.

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/yatai/envs/latest/lib/python3.10/site-packages/sphinx/events.py", line 97, in emit
    results.append(listener.handler(self.app, *args))
  File "/home/docs/checkouts/readthedocs.org/user_builds/yatai/envs/latest/lib/python3.10/site-packages/sphinx_lfs_content/__init__.py", line 41, in lfs_setup
    subprocess.check_call("git-lfs install".split(), env=env)
  File "/home/docs/.asdf/installs/python/3.10.13/lib/python3.10/subprocess.py", line 364, in check_call
    retcode = call(*popenargs, **kwargs)
  File "/home/docs/.asdf/installs/python/3.10.13/lib/python3.10/subprocess.py", line 345, in call
    with Popen(*popenargs, **kwargs) as p:
  File "/home/docs/.asdf/installs/python/3.10.13/lib/python3.10/subprocess.py", line 971, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/home/docs/.asdf/installs/python/3.10.13/lib/python3.10/subprocess.py", line 1863, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'git-lfs'

@dokempf
Copy link
Member

dokempf commented Jan 22, 2024

Duplicate of #18. Thanks anyway for noticing and fixing!

@dokempf dokempf closed this Jan 22, 2024
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

Successfully merging this pull request may close these issues.

2 participants