Skip to content

[Bug]: duplicate field enabled for key daemon #2682

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

Open
1 task done
minhtrancccp opened this issue Apr 8, 2025 · 0 comments · May be fixed by #2684
Open
1 task done

[Bug]: duplicate field enabled for key daemon #2682

minhtrancccp opened this issue Apr 8, 2025 · 0 comments · May be fixed by #2684
Labels
bug Something isn't working

Comments

@minhtrancccp
Copy link

minhtrancccp commented Apr 8, 2025

What did you expect to happen?

i'm trying to enable daemon with home-manager, which generates the relevant settings in config.toml as follows:

[daemon]
enable = true

this should have worked as enable, afaik, is an acceptable alias for enabled

What happened?

this error is raised without exceptions:

Error: could not load client settings

Caused by:
    failed to deserialize: duplicate field `enabled` for key `daemon`

Location:
    crates/atuin-client/src/settings.rs:858:26

Atuin doctor output

Atuin Doctor
Checking for diagnostics


Please include the output below with any bug reports or issues

{
  "atuin": {
    "version": "18.5.0-beta.3",
    "sync": {
      "cloud": true,
      "records": true,
      "auto_sync": true,
      "last_sync": "2025-04-08 1:39:05.48704084 +00:00:00"
    },
    "sqlite_version": "3.46.0"
  },
  "shell": {
    "name": "bash",
    "default": "bash",
    "plugins": [
      "bash-preexec"
    ],
    "preexec": null
  },
  "system": {
    "os": "NixOS",
    "arch": "x86_64",
    "version": "25.05",
    "disks": [
      {
        "name": "/dev/disk/by-partlabel/disk-main-root",
        "filesystem": "btrfs"
      },
      {
        "name": "/dev/disk/by-partlabel/disk-main-root",
        "filesystem": "btrfs"
      },
      {
        "name": "/dev/disk/by-partlabel/disk-main-root",
        "filesystem": "btrfs"
      },
      {
        "name": "/dev/disk/by-partlabel/disk-main-root",
        "filesystem": "btrfs"
      },
      {
        "name": "/dev/disk/by-partlabel/disk-main-root",
        "filesystem": "btrfs"
      },
      {
        "name": "/dev/nvme0n1p1",
        "filesystem": "vfat"
      }
    ]
  }
}

Code of Conduct

  • I agree to follow this project's Code of Conduct
@minhtrancccp minhtrancccp added the bug Something isn't working label Apr 8, 2025
@ellie ellie linked a pull request Apr 8, 2025 that will close this issue
2 tasks
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

Successfully merging a pull request may close this issue.

1 participant