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
This is somehow a corner case, but here it goes. I started seeing this happening with 0.25. I think that before this was not a problem.
jj fails the majority of commands if /etc/passwd does not contain the current username
What is peculiar about my setup is that this is a Linux VM provided by a VMWare system called VDI, which has LDAP integration, so that /etc/passwd is missing the username. I believe that this is the cause.
Steps to Reproduce the Problem
Remove the line with your username from /etc/passwd
Run any command, it doesn't matter if inside or outside a repo.
Expected Behavior
Outside a repo:
$ jj st
Error: There is no jj repo in "."
Actual Behavior
$ jj st
Config error: Invalid type or value for operation.username
Caused by: Null record
For help, see https://jj-vcs.github.io/jj/latest/config/.
This becomes nasty for example:
$ jj config edit --user
Config error: Invalid type or value for operation.username
Caused by: Null record
For help, see https://jj-vcs.github.io/jj/latest/config/.
Description
This is somehow a corner case, but here it goes. I started seeing this happening with 0.25. I think that before this was not a problem.
jj fails the majority of commands if /etc/passwd does not contain the current username
What is peculiar about my setup is that this is a Linux VM provided by a VMWare system called VDI, which has LDAP integration, so that /etc/passwd is missing the username. I believe that this is the cause.
Steps to Reproduce the Problem
Expected Behavior
Outside a repo:
Actual Behavior
This becomes nasty for example:
Workaround
This took me a while to figure out, because https://jj-vcs.github.io/jj/latest/config doesn't mention
operation
. I found only one mention in the CHANGELOG.Add to
~/.config/jj/config.toml
:Additional comments
I love jj! Thanks!
Specifications
The text was updated successfully, but these errors were encountered: