Skip to content

SQLite3 returned ErrorConstraint while attempting to perform step: UNIQUE constraint failed: defs.hieFile, defs.occ #3542

Open
@Kleidukos

Description

@Kleidukos

Your environment

  • Which OS do you use?
    Fedora 37

  • Which version of GHC do you use and how did you install it?
    GHC 9.4.4 via ghcup

  • How is your project built (alternative: link to the project)?
    cabal

  • Which LSP client (editor/plugin) do you use?
    Neovim + nvim_lsp

  • Which version of HLS do you use and how did you install it?
    1.9.1.0 via ghcup

Expected behaviour

I get this message:

LSP[hls] Error condition, please check your setup and/or the [issue tracker](https://github.com/haskell/haskell-language-server/issues): 
HieDb writer thread SQLite error:
  SQLite3 returned ErrorConstraint while attempting to perform step: UNIQUE constraint failed: defs.hieFile, defs.occ

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: hiedbstatus: needs infoNot actionable, because there's missing informationtype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions