[Python-modules-team] Bug#896343: Bug#896281: python-networkmanager: NetworkManager fails to import

Adrian Bunk bunk at debian.org
Mon Apr 23 18:36:43 BST 2018


Control: severity -1 normal

On Fri, Apr 20, 2018 at 10:01:05PM +0200, Helmut Grohne wrote:
> Package: python-networkmanager
> Version: 2.0.1-4
> Severity: serious
> User: helmutg at debian.org
> Usertags: python-import
> 
> After installing python-networkmanager importing the module NetworkManager
> into a python interpreter fails with the following error:
> 
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File "/usr/lib/python2.7/dist-packages/NetworkManager.py", line 99, in <module>
>     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
>...

dbus is not running in a chroot (which is correct).

> Helmut

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



More information about the Python-modules-team mailing list