Skip to content

gitinspector is not executing #245

@juliswer

Description

@juliswer

Using [email protected] and pip24.0 this is not working at all.
Just following step by step and running the script by typing the following command on console (on macOS):

python3 ./gitinspector.py --format=json ./path-to-project

it's throwing:

WARNING: Localization disabled because the system language could not be determined.
Traceback (most recent call last):
  File "xx/gitinspector/gitinspector.py", line 20, in <module>
    from gitinspector import gitinspector
  File "xx/gitinspector/gitinspector.py", line 26, in <module>
    from .blame import Blame
  File "xx/gitinspector/gitinspector/blame.py", line 28, in <module>
    from .changes import FileDiff
  File "xx/gitinspector/gitinspector/changes.py", line 29, in <module>
    from . import extensions, filtering, format, interval, terminal
  File "xx/gitinspector/gitinspector/format.py", line 28, in <module>
    from . import basedir, localization, terminal, version
  File "xx/gitinspector/gitinspector/version.py", line 23, in <module>
    localization.init()
  File "xx/gitinspector/gitinspector/localization.py", line 71, in init
    __translation__.install(True)
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/gettext.py", line 320, in install
    for name in allowed & set(names):

TypeError: 'bool' object is not iterable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions