Crash on startup (Python3.8) - TypeError: 'bool' object is not iterable

Bug #1871402 reported by fcole90 on 2020-04-07
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
photofilmstrip (Debian)
Fix Released
Unknown
photofilmstrip (Ubuntu)
Undecided
Unassigned

Bug Description

Upon startup it crashes. A fix is already available.

Upstream GH bug: https://github.com/PhotoFilmStrip/PFS/issues/68

Upstream debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955295

Fixed version: https://github.com/PhotoFilmStrip/PFS/releases/tag/v3.7.3

What happens:
```
$ photofilmstrip
Traceback (most recent call last):
  File "/usr/bin/photofilmstrip", line 8, in <module>
    main()
  File "/usr/lib/python3/dist-packages/photofilmstrip/GUI.py", line 46, in main
    guiApp.Start()
  File "/usr/lib/python3/dist-packages/photofilmstrip/AppMixin.py", line 41, in Start
    self.InitI18N()
  File "/usr/lib/python3/dist-packages/photofilmstrip/AppMixin.py", line 31, in InitI18N
    ActionI18N().Execute()
  File "/usr/lib/python3/dist-packages/photofilmstrip/action/ActionI18N.py", line 43, in Execute
    lang.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
```

What should happen:
The program loads without crashing

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: photofilmstrip 3.7.2-1
ProcVersionSignature: Ubuntu 5.4.0-21.25-generic 5.4.27
Uname: Linux 5.4.0-21-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu22
Architecture: amd64
CurrentDesktop: GNOME
Date: Tue Apr 7 17:16:17 2020
InstallationDate: Installed on 2020-04-03 (3 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200401)
PackageArchitecture: all
SourcePackage: photofilmstrip
UpgradeStatus: No upgrade log present (probably fresh install)

fcole90 (fcole90) wrote :
summary: - Crash on startup (Python3.8)
+ Crash on startup (Python3.8) - TypeError: 'bool' object is not iterable
no longer affects: photofilmstrip
Changed in photofilmstrip (Ubuntu):
status: New → Confirmed
Changed in photofilmstrip (Debian):
status: Unknown → New
Changed in photofilmstrip (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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