You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I downloaded the 0.11.1 release and run it in CentOS 8. I got “Error: Couldn't find username for current user” every time both for pueue and pueued. I checked that whoami works fine and $USER shows the correct username. Any idea?
The text was updated successfully, but these errors were encountered:
Weird. The code for getting the username looks like this:
use users::{get_current_uid, get_user_by_uid};
let user = get_user_by_uid(get_current_uid())
.ok_or(anyhow!("Couldn't find username for current user"))?;
I downloaded the 0.11.1 release and run it in CentOS 8. I got “Error: Couldn't find username for current user” every time both for pueue and pueued. I checked that
whoami
works fine and $USER shows the correct username. Any idea?The text was updated successfully, but these errors were encountered: