gatt-python icon indicating copy to clipboard operation
gatt-python copied to clipboard

DBus Socket not found

Open akloster opened this issue 5 years ago • 2 comments

I'm running this in a conda environment and getting this problem:

dbus.exceptions.DBusException: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /home/andi/anaconda3/envs/py37/var/run/dbus/system_bus_socket: No such file or directory

Obviously it shouldn't be looking for the dbus socket in that path right?

akloster avatar Jan 05 '20 12:01 akloster

I've issued something like ln -s /var/run/dbus/system_bus_socket /home/andi/anaconda3/envs/py37/var/run/dbus/system_bus_socket to fix this. I know, this is strange, and I think this is a problem of dbus-python package of conda, not the gatt-python one...

voland62 avatar Jun 23 '21 09:06 voland62

Hi @voland62 Nice work! Your solution work for me But why? I check systemctl status dbus.service and everything was fine. Could you explain why create a soft link will solve the problem.

RangeOfGlitching avatar Dec 05 '22 13:12 RangeOfGlitching