software-center crashed with DBusException in __new__(): org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

Bug #955188 reported by Stephen Martin
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dbus (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Occurred after resetting settings via gsettings. After logging in, it had this error.

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: software-center 5.1.12
ProcVersionSignature: Ubuntu 3.2.0-18.29-generic-pae 3.2.9
Uname: Linux 3.2.0-18-generic-pae i686
ApportVersion: 1.94.1-0ubuntu2
Architecture: i386
Date: Wed Mar 14 11:19:44 2012
ExecutablePath: /usr/share/software-center/software-center
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120228.1)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/software-center-gtk3
ProcEnviron:
 SHELL=/bin/bash
 TERM=xterm
 PATH=(custom, no user)
 LANG=
PythonArgs: ['/usr/bin/software-center-gtk3']
SourcePackage: software-center
Title: software-center crashed with DBusException in __new__(): org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

Revision history for this message
Stephen Martin (hwkiller-7) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Michael Vogt (mvo) wrote :

Here is the error message:
...
 File "/usr/share/software-center/softwarecenter/backend/installbackend_impl/aptd.py", line 63, in get_dbus_bus
    bus = dbus.SystemBus()
  File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 194, in __new__
    private=private)
  File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 100, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 122, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
DBusException: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

This appears to be a missing dbus system socket. There is nothing that software-center can do about this. I reassign.

visibility: private → public
affects: software-center (Ubuntu) → dbus (Ubuntu)
Changed in dbus (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in dbus (Ubuntu):
status: New → Confirmed
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.