← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2126833] Re: TypeError: GioUnix.DesktopAppInfo.get_filename() takes exactly 1 argument (0 given)

 

Just for context in closing the bug task for Update Manager: The
signature change was deemed as a bug in Pygobject[1], which indeed makes
perfect sense.

That also surfaced a bug in the exception handling from Update Manager
itself (which is going to be fixed), but for the end user that is not
the essence of this bug report. Just make sure to update gir1.2-glib-2.0
as the previous comment shows.

[1]https://gitlab.gnome.org/GNOME/gnome-tweaks/-/merge_requests/173

** Changed in: update-manager (Ubuntu)
       Status: In Progress => Invalid

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/2126833

Title:
  TypeError: GioUnix.DesktopAppInfo.get_filename() takes exactly 1
  argument (0 given)

Status in pygobject:
  Unknown
Status in pygobject package in Ubuntu:
  New
Status in update-manager package in Ubuntu:
  Invalid
Status in pygobject package in Debian:
  Confirmed

Bug description:
  On Ubuntu 25.10 (Questing Quokka, development branch), running update-
  manager crashes when refreshing the package cache. This prevents the
  graphical updater from functioning.

  Run
    update-manager -c

  Expected Result

  Update Manager should refresh the package cache and display available
  updates.

  Actual Result

  Update Manager crashes with a Python traceback.

  Relevant Traceback

  TypeError: GioUnix.DesktopAppInfo.get_filename() takes exactly 1
  argument (0 given)

  (update-manager:282277): GLib-GIO-CRITICAL **: g_task_propagate_value: assertion 'task->result_set' failed
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 310, in cache_refreshed
      if e.matches(IO_ERR_QUARK, Gio.IOErrorEnum.FAILED):
  AttributeError: 'TypeError' object has no attribute 'matches'

  ProblemType: Bug
  DistroRelease: Ubuntu 25.10
  Package: update-manager 1:25.10.1
  ProcVersionSignature: Ubuntu 6.17.0-5.5-generic 6.17.0-rc7
  Uname: Linux 6.17.0-5-generic x86_64
  ApportVersion: 2.33.1-0ubuntu3
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Oct  4 12:02:08 2025
  InstallationDate: Installed on 2025-03-17 (201 days ago)
  InstallationMedia: Ubuntu 24.10 "Oracular Oriole" - Release amd64 (20241009.4)
  PackageArchitecture: all
  ProcEnviron:
   LANG=en_US.UTF-8
   PATH=(custom, no user)
   SHELL=/usr/bin/fish
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  SourcePackage: update-manager
  UpgradeStatus: Upgraded to questing on 2025-10-03 (1 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/pygobject/+bug/2126833/+subscriptions