Open stephenh opened 10 years ago
When I finished compiling the indicator and runned it as so this error appeared, what can I do?:
$volnoti ERROR: Failed to get the primary well-known name. (RequestName result != 1)
same issue here, just installed for the first time.
For anyone encountering that error message, it likely arises due to a volnoti instance already present.
[victoria@victoria ~]$ date
Sun Jun 11 12:41:01 PM PDT 2023
[victoria@victoria ~]$ volnoti &
[3] 7099
[victoria@victoria ~]$ volnoti & ## attempt to start another instance
[4] 7110
[3] Done volnoti
[victoria@victoria ~]$ ERROR: Failed to get the primary well-known name. (RequestName result != 1)
I already had volnoti running, but had forgotten about it, so when trying to start another one, kept getting the "Failed to get primary name" error:
https://github.com/davidbrazdil/volnoti/blob/master/src/daemon.c#L276
I found this very confusing and spent awhile trying to find out why that would happen...turns out I just already had volnoti running (duh).
Appending a "volnoti may already be running" to the end of the error message on line 276 would be helpful for new/forgetful users like myself.