haskell / haskell/haskell-language-server

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

Open
#3,542 8 comments 0 reactions 0 assignees View on GitHub
component: hiedb status: needs info type: bug
Dominant language
Haskell
Stars
3k
Forks
455
Avg merge
2d 19h
Merged PRs (30d)
11

Description

### 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
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.