Skip to content

UNIQUE constraint failed #13

@xrstf

Description

@xrstf

I am running Fedora 42 (KDE) and have downloaded the linux-amd64 binary from GitHub to install Claudio. I then claudio install and verified that the hooks are now present in my Claude config. I then added another hook for PermissionRequest, the to me currently only interesting hook.

Sadly I cannot hear any sounds, but I think this is because Claudio simply doesn't map anything for PermissionRequests? From the code it looks like an interactive thingy, but I hear nothing (sound is working though, I am currently trying to replace my own hacky bash script, which used pw-play just fine to play an mp3 file).

Anyway, that's my setup. Because of the missing sounds i was investigating the Claudio logs and saw this:

time=2026-03-17T18:11:59.211+01:00 level=ERROR msg="soundpack path does not exist" path=default error="stat default: no such file or directory"
time=2026-03-17T18:11:59.212+01:00 level=WARN msg="sound path not resolved" relative_path=loading/write-start.wav candidates_checked=0 mapper_type=directory
time=2026-03-17T18:11:59.213+01:00 level=WARN msg="sound path not resolved" relative_path=loading/write-start.wav candidates_checked=0 mapper_type=directory
time=2026-03-17T18:11:59.213+01:00 level=WARN msg="sound tracking failed to log path check" error="constraint failed: UNIQUE constraint failed: path_lookups.event_id, path_lookups.path (2067)" path=loading/write-start.wav
time=2026-03-17T18:11:59.213+01:00 level=WARN msg="sound path not resolved" relative_path=loading/write.wav candidates_checked=0 mapper_type=directory
time=2026-03-17T18:11:59.213+01:00 level=WARN msg="sound path not resolved" relative_path=loading/tool-start.wav candidates_checked=0 mapper_type=directory

Since I changed literally nothing about the Claudio default config (I was surprised config had to happen in /etc/xdg and not somewhere in ~/.config, but that's another story ^^), I am not sure where the error about the uniqness constraint is coming from.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions