DBus Socket not found
akloster opened this issue · 2 comments
akloster commented
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?
voland62 commented
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...
RangeOfGlitching commented
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.