Skip to content

Unable to configure user name #5231

@Tiwalun

Description

@Tiwalun

Description

I've just downloaded jujutsu on a new machine, but I'm unable to configure the username, or to interact with the config in any way. All operations involving config (jj config) seem to return an error about an invalid type or value.

Steps to Reproduce the Problem

  1. Install jujustu using cargo binstall --strategies crate-meta-data jj-cli
  2. Try to set user name using jj config set --user user.name "Martin von Zweigbergk"

The steps were performed on a machine where jujutsu was not installed, so no existing config was present.

Expected Behavior

I can set the username

Actual Behavior

The following error message is shown:

❯ jj config set --user user.name "Martin von Zweigbergk"
Config error: Invalid type or value for operation.username
Caused by: Null record
For help, see https://jj-vcs.github.io/jj/latest/config/.

I've tried setting the user name manually in ~/.config/jj/config.toml, but that doesn't seem to make a difference.

Specifications

  • Platform: Ubuntu 24.04
  • Version: jj 0.25.0-041c4fecb77434dd6720e7d7f1ce48d9575ac5f7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions