software-properties-gtk generates python errors

Bug #1931722 reported by W. Bourgeois
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Expired
Low
Unassigned

Bug Description

Launching software-properties-gtk gives all these Python errors after having upgraded to 21.04:

Gtk-Message: 17:32:53.643: Failed to load module "appmenu-gtk-module"
Traceback (most recent call last):
  File "/usr/bin/software-properties-gtk", line 100, in <module>
    app = SoftwarePropertiesGtk(datadir=options.data_dir, options=options, file=file)
  File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 196, in __init__
    bus = dbus.SystemBus()
  File "/usr/lib/python3/dist-packages/dbus/_dbus.py", line 195, in __new__
    return Bus.__new__(cls, Bus.TYPE_SYSTEM, mainloop=mainloop,
  File "/usr/lib/python3/dist-packages/dbus/_dbus.py", line 102, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 124, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.LimitsExceeded: The maximum number of active connections for UID 1000 has been reached

Version: 0.99.10

ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: software-properties-common 0.99.10
ProcVersionSignature: Ubuntu 5.11.0-18.19-generic 5.11.17
Uname: Linux 5.11.0-18-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu65.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: MATE
Date: Fri Jun 11 17:36:34 2021
InstallationDate: Installed on 2020-09-06 (277 days ago)
InstallationMedia: Ubuntu-MATE 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=fr_FR
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: software-properties
UpgradeStatus: Upgraded to hirsute on 2021-06-08 (2 days ago)

Revision history for this message
W. Bourgeois (roundsoftstudio) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, the error suggests the system has no dbus connection left to allocate. Does it happen in specific circonstances? What is active on your system at the time of the issue?

Changed in software-properties (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
W. Bourgeois (roundsoftstudio) wrote :

I'm attaching the contents of sudo systemctl status as a text file.

It appears that I can actually launch software-properties, but only as sudo. The direct link in the Ubuntu menu won't work.

It seems it is more related to dbus, but I am not sure.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for software-properties (Ubuntu) because there has been no activity for 60 days.]

Changed in software-properties (Ubuntu):
status: Incomplete → Expired
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.