[Python-apps-team] Bug#955284: gitinspector crashes: TypeError: 'bool' object is not iterable

Helmut Grohne helmut at subdivi.de
Sat Mar 28 08:31:28 GMT 2020


Package: gitinspector
Version: 0.4.4+dfsg-6
Severity: serious
File: /usr/bin/gitinspector

Any invocation of gitinspector results in:

$ gitinspector --help
Traceback (most recent call last):
  File "/usr/bin/gitinspector", line 11, in <module>
    load_entry_point('gitinspector==0.4.4', 'console_scripts', 'gitinspector')()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 489, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2852, in load_entry_point
    return ep.load()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2443, in load
    return self.resolve()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2449, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3/dist-packages/gitinspector/gitinspector.py", line 25, in <module>
    localization.init()
  File "/usr/lib/python3/dist-packages/gitinspector/localization.py", line 76, in init
    __translation__.install(True)
  File "/usr/lib/python3.8/gettext.py", line 352, in install
    for name in allowed & set(names):
TypeError: 'bool' object is not iterable
$

This seems to be a consequence of switching the default python version
to 3.8. Running gitinspector using 3.7 continues to work.

Helmut



More information about the Python-apps-team mailing list