Skip to content
This repository was archived by the owner on Jan 27, 2023. It is now read-only.
This repository was archived by the owner on Jan 27, 2023. It is now read-only.

NetworkManager fails to import #57

@anrodlo

Description

@anrodlo

There is already a Debian Bug Report for this, both for python and python3.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896281
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896343

After installing python-networkmanager importing the module NetworkManager
into a python interpreter fails with the following error:

Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python2.7/dist-packages/NetworkManager.py", line 99, in
init_bus = dbus.SystemBus(private=True)
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)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions