Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DBus Socket not found #54

Open
akloster opened this issue Jan 5, 2020 · 2 comments
Open

DBus Socket not found #54

akloster opened this issue Jan 5, 2020 · 2 comments

Comments

@akloster
Copy link

akloster commented Jan 5, 2020

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
Copy link

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants