Git instpector bool is not iterable

Bug #1889215 reported by Eduardo Beltran
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gitinspector (Debian)
Fix Released
Unknown
gitinspector (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Using python3.8 system default for ubuntu 20.04, I cannot run gitinspector from the repository. Will try to install it from github repository. Found this ( https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955284 ) that states it is an issue already fixed but probably not in the available version.

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 490, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2854, in load_entry_point
    return ep.load()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2445, in load
    return self.resolve()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2451, 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

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: gitinspector 0.4.4+dfsg-6
ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44
Uname: Linux 5.4.0-42-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27.4
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Tue Jul 28 08:46:33 2020
InstallationDate: Installed on 2020-06-16 (41 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
PackageArchitecture: all
SourcePackage: gitinspector
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Eduardo Beltran (ebf-beltran) wrote :
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thanks for reporting and help making Ubuntu better.

I get the same error message when attempting to run gitinspector on 20.04, so marking confirmed. I've also added a bug watch for the Debian bug you found under also affects.

As the other bug report mention, if the issue has been fixed, it might be possible to get at Stable Release Update applied to 20.04, please see https://wiki.ubuntu.com/StableReleaseUpdates#Procedure for more information on this.

Changed in gitinspector (Ubuntu):
status: New → Confirmed
Changed in gitinspector (Debian):
status: Unknown → Fix Released
Revision history for this message
piffy (marcello-missiroli-gmail) wrote :

The bugfix hasn't worked. This is my workaround:
* disinstall gitinspecto with --purge
* reinstall a precedent version of gitinspector (in my case 0.4.1)

WOrks until reboot

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.