I uploaded the fix to the focal SRU queue. To fix it for yourself in the
meantime:

cd /usr/lib/python3/dist-packages/photofilmstrip/action
sudo sed -r -i 's/(lang\.install\()True/\1/' ActionI18N.py

** Description changed:

+ [Impact]
+ 
+ Crashes at startup.
+ 
+ [Test Plan]
+ 
+ * Install photofilmstrip from focal-proposed.
+ 
+ * Find that it starts without crashing.
+ 
+ [Where problems could occur]
+ 
+ * Cherry picked upstream one liner.
+ * No reverse dependencies.
+ * Can't be worse. ;)
+ 
+ [Original 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):
+   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)

** Also affects: photofilmstrip (Ubuntu Hirsute)
   Importance: Undecided
       Status: New

** Also affects: photofilmstrip (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Changed in: photofilmstrip (Ubuntu)
       Status: Confirmed => Fix Released

** Changed in: photofilmstrip (Ubuntu Hirsute)
       Status: New => Fix Released

** Changed in: photofilmstrip (Ubuntu Focal)
   Importance: Undecided => High

** Changed in: photofilmstrip (Ubuntu Focal)
       Status: New => In Progress

** Changed in: photofilmstrip (Ubuntu Focal)
     Assignee: (unassigned) => Gunnar Hjalmarsson (gunnarhj)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1871402

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/photofilmstrip/+bug/1871402/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to