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

gitinspector is not executing #245

Open
juliswer opened this issue Apr 12, 2024 · 1 comment
Open

gitinspector is not executing #245

juliswer opened this issue Apr 12, 2024 · 1 comment

Comments

@juliswer
Copy link

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
@Sammy159
Copy link

Sammy159 commented Jun 6, 2024

Same problem here.
"This error occurs because a change was made to the gettext library in Python 3.10 that affects the install method. The names parameters, which were previously optional, are now required and must be iterable."

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