← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 1963800] Re: pitivi crashed with AttributeError in add_limited_log_handler(): module 'collections' has no attribute 'Callable'

 

This should do the trick.

** Attachment added: "update-collections-import.patch.txt"
   https://bugs.launchpad.net/ubuntu/+source/pitivi/+bug/1963800/+attachment/5566335/+files/update-collections-import.patch.txt

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to pitivi in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/1963800

Title:
  pitivi crashed with AttributeError in add_limited_log_handler():
  module 'collections' has no attribute 'Callable'

Status in pitivi package in Ubuntu:
  Triaged

Bug description:
  Crash at start
  Missing soft dependency:
  - GSound not found on the system
      -> enables sound notifications when rendering is complete
  Traceback (most recent call last):
    File "/usr/lib/x86_64-linux-gnu/pitivi/python/pitivi/application.py", line 135, in do_startup
      loggable.init('PITIVI_DEBUG', enable_color, enable_crack_output)
    File "/usr/lib/x86_64-linux-gnu/pitivi/python/pitivi/utils/loggable.py", line 651, in init
      add_limited_log_handler(print_handler)
    File "/usr/lib/x86_64-linux-gnu/pitivi/python/pitivi/utils/loggable.py", line 738, in add_limited_log_handler
      if not isinstance(func, collections.Callable):
  AttributeError: module 'collections' has no attribute 'Callable'
  Traceback (most recent call last):
    File "/usr/lib/x86_64-linux-gnu/pitivi/python/pitivi/application.py", line 203, in do_activate
      self.create_main_window()
    File "/usr/lib/x86_64-linux-gnu/pitivi/python/pitivi/application.py", line 209, in create_main_window
      self.gui = MainWindow(self)
    File "/usr/lib/x86_64-linux-gnu/pitivi/python/pitivi/mainwindow.py", line 108, in __init__
      self.app.settings.connect("useDarkThemeChanged",
  AttributeError: 'NoneType' object has no attribute 'connect'
  njin@Fluid:~/UWBridge/Network$

  ProblemType: Crash
  DistroRelease: Ubuntu 22.04
  Package: pitivi 2021.05-1
  ProcVersionSignature: Ubuntu 5.15.0-18.18-generic 5.15.12
  Uname: Linux 5.15.0-18-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu78
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Mar  6 10:40:50 2022
  ExecutablePath: /usr/bin/pitivi
  InstallationDate: Installed on 2021-04-18 (322 days ago)
  InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
  InterpreterPath: /usr/bin/python3.10
  ProcCmdline: /usr/bin/python3 /usr/bin/pitivi
  Python3Details: /usr/bin/python3.10, Python 3.10.2, python3-minimal, 3.10.1-0ubuntu1
  PythonArgs: ['/usr/bin/pitivi']
  PythonDetails: N/A
  SourcePackage: pitivi
  Title: pitivi crashed with AttributeError in add_limited_log_handler(): module 'collections' has no attribute 'Callable'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo

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



References