OS Manuals

/opt/chainguard/gftools/bin/gftools-packager

Google Fonts Tools: build, fix, check and package fonts for the Google Fonts library

From gftools 0.10.8-r0 (os), captured 2026-11-05 by running gftools-packager --help (exit 1) · terse output. permalink

Traceback (most recent call last):
  File "/opt/chainguard/gftools/lib/python3.13/site-packages/git/__init__.py", line 296, in <module>
    refresh()
    ~~~~~~~^^
  File "/opt/chainguard/gftools/lib/python3.13/site-packages/git/__init__.py", line 287, in refresh
    if not Git.refresh(path=path):
           ~~~~~~~~~~~^^^^^^^^^^^
  File "/opt/chainguard/gftools/lib/python3.13/site-packages/git/cmd.py", line 926, in refresh
    raise ImportError(err)
ImportError: Bad git executable.
The git executable must be specified in one of the following ways:
    - be included in your $PATH
    - be set via $GIT_PYTHON_GIT_EXECUTABLE
    - explicitly set via git.refresh(<full-path-to-git-executable>)

All git commands will error until this is rectified.

This initial message can be silenced or aggravated in the future by setting the
$GIT_PYTHON_REFRESH environment variable. Use one of the following values:
    - quiet|q|silence|s|silent|none|n|0: for no message or exception
    - warn|w|warning|log|l|1: for a warning message (logging level CRITICAL, displayed by default)
    - error|e|exception|raise|r|2: for a raised exception

Example:
    export GIT_PYTHON_REFRESH=quiet


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/chainguard/gftools/bin/gftools-packager", line 4, in <module>
    from gftools.scripts.packager import main
  File "/opt/chainguard/gftools/lib/python3.13/site-packages/gftools/scripts/packager.py", line 24, in <module>
    from gftools import packager
  File "/opt/chainguard/gftools/lib/python3.13/site-packages/gftools/packager/__init__.py", line 39, in <module>
    from gftools.packager.build import build_to_directory
  File "/opt/chainguard/gftools/lib/python3.13/site-packages/gftools/packager/build.py", line 12, in <module>
    import git
  File "/opt/chainguard/gftools/lib/python3.13/site-packages/git/__init__.py", line 298, in <module>
    raise ImportError(f"Failed to initialize: {_exc}") from _exc
ImportError: Failed to initialize: Bad git executable.
The git executable must be specified in one of the following ways:
    - be included in your $PATH
    - be set via $GIT_PYTHON_GIT_EXECUTABLE
    - explicitly set via git.refresh(<full-path-to-git-executable>)

All git commands will error until this is rectified.

This initial message can be silenced or aggravated in the future by setting the
$GIT_PYTHON_REFRESH environment variable. Use one of the following values:
    - quiet|q|silence|s|silent|none|n|0: for no message or exception
    - warn|w|warning|log|l|1: for a warning message (logging level CRITICAL, displayed by default)
    - error|e|exception|raise|r|2: for a raised exception

Example:
    export GIT_PYTHON_REFRESH=quiet

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.