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

Occasionally, at session start, "The name is not activateable." message returned by DBus #1

Open
corigne opened this issue Apr 23, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@corigne
Copy link
Owner

corigne commented Apr 23, 2024

Sometimes, DBus broker returns the name was not "activatable" on session start when spotify-listener starts. For some reason this isn't throwing a DBus error, so the message actually ends up in the track/artist variant instead, which is displayed in polybar.

Unfortunately, the cause of this has been a bit difficult to find, but after some testing I think it might be related to the implicity dependency on the user session dbus-broker service, and its dependencies. You can't just reboot and then start the service manually to reproduce the issue, so it appears to be closely coupled to something happening at session creation.

I've added a service dependency to the spotify-listener service in commit dbc4519 and will monitor over the next couple of days to see if that helps ameliorate the issue. If not, I will set up some extensive DBus comms logging and see if I can identify what's happening more accurately rather than running on a hunch.

@corigne corigne self-assigned this Apr 23, 2024
@corigne corigne added the bug Something isn't working label Apr 23, 2024
@corigne corigne changed the title Occasionally, at start: "The name is not activateable." Message Returned by DBus Occasionally, at session start, "The name is not activateable." message returned by DBus Apr 23, 2024
@corigne
Copy link
Owner Author

corigne commented Apr 24, 2024

This is till happening, so I'm going to have to dig deeper into dbus to discern what the issue is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant