Skip to content

Lisp error: (void-variable fourmolu) #176

Closed
@ciukstar

Description

@ciukstar

I ran into some issues (see debugger output below) after updating lsp-mode-20230823.446, lsp-haskell-20230823.1043 and haskell-language-server (2.1.0.0) to the latest versions. And I have no idea how to solve them. Please help.

Debugger entered--Lisp error: (void-variable fourmolu)
  byte-code("\301\302!\210\301\303!\210\304\305\306\307\310\302%\210\311\312!\210\313\314\315\316\317\320\310\305\321\322&\11\210\311\323!\210\313\324\325\326\317\327\310\305\321\330&\11\210..." [fourmolu require lsp-mode haskell-mode custom-declare-group lsp-haskell nil "Customization group for ‘lsp-haskell’." :group lsp-register-custom-settings (("haskell.formattingProvider" lsp-haskell-formatting-provider nil)) custom-declare-variable lsp-haskell-formatting-provider "ormolu" "The formatter to use when formatting a document or..." :set #f(compiled-function (sym val) #<bytecode 0x156bb56059a5>) :type (choice (const "brittany") (const "floskell") (const "fourmolu") (const "ormolu") (const "stylish-haskell") (const "none")) (("haskell.checkProject" lsp-haskell-check-project t)) lsp-haskell-check-project t "Whether to typecheck the entire project on load.\nI..." #f(compiled-function (sym val) #<bytecode 0x156bb56059bd>) boolean (("haskell.maxCompletions" lsp-haskell-max-completions nil)) lsp-haskell-max-completions 40 "Maximum number of completions sent to the editor." #f(compiled-function (sym val) #<bytecode 0x156bb56059d5>) number lsp-haskell-plugins "Customization group for 'lsp-haskell' plugins." (("haskell.plugin.importLens.codeActionsOn" lsp-haskell-plugin-import-lens-code-actions-on t)) lsp-haskell-plugin-import-lens-code-actions-on "Enables explicit imports code actions" #f(compiled-function (sym val) #<bytecode 0x156bb56059ed>) (("haskell.plugin.importLens.codeLensOn" lsp-haskell-plugin-import-lens-code-lens-on t)) lsp-haskell-plugin-import-lens-code-lens-on "Enables explicit imports code lenses" #f(compiled-function (sym val) #<bytecode 0x156bb5616755>) (("haskell.plugin.hlint.codeActionsOn" lsp-haskell-plugin-hlint-code-actions-on t)) lsp-haskell-plugin-hlint-code-actions-on "Enables hlint code actions (apply hints)" #f(compiled-function (sym val) #<bytecode 0x156bb561676d>) (("haskell.plugin.hlint.diagnosticsOn" lsp-haskell-plugin-hlint-diagnostics-on t)) lsp-haskell-plugin-hlint-diagnostics-on "Enables hlint diagnostics" #f(compiled-function (sym val) #<bytecode 0x156bb5616785>) (("haskell.plugin.hlint.config.flags" lsp-haskell-plugin-hlint-config-flags nil)) ...] 14)
  require(lsp-haskell nil t)
  #f(compiled-function (package) #<bytecode 0x156bb517c469>)(lsp-haskell)
  mapc(#f(compiled-function (package) #<bytecode 0x156bb517c469>) (ccls lsp-actionscript lsp-ada lsp-angular lsp-ansible lsp-awk lsp-astro lsp-bash lsp-beancount lsp-clangd lsp-clojure lsp-cmake lsp-credo lsp-crystal lsp-csharp lsp-css lsp-d lsp-dart lsp-dhall lsp-docker lsp-dockerfile lsp-elm lsp-elixir lsp-emmet lsp-erlang lsp-eslint lsp-fortran lsp-fsharp lsp-gdscript lsp-go lsp-gleam lsp-glsl lsp-graphql lsp-hack lsp-grammarly lsp-groovy lsp-haskell lsp-haxe lsp-idris lsp-java lsp-javascript lsp-json lsp-kotlin lsp-latex lsp-ltex lsp-lua lsp-markdown lsp-marksman lsp-mint lsp-nginx ...))
  seq-do(#f(compiled-function (package) #<bytecode 0x156bb517c469>) (ccls lsp-actionscript lsp-ada lsp-angular lsp-ansible lsp-awk lsp-astro lsp-bash lsp-beancount lsp-clangd lsp-clojure lsp-cmake lsp-credo lsp-crystal lsp-csharp lsp-css lsp-d lsp-dart lsp-dhall lsp-docker lsp-dockerfile lsp-elm lsp-elixir lsp-emmet lsp-erlang lsp-eslint lsp-fortran lsp-fsharp lsp-gdscript lsp-go lsp-gleam lsp-glsl lsp-graphql lsp-hack lsp-grammarly lsp-groovy lsp-haskell lsp-haxe lsp-idris lsp-java lsp-javascript lsp-json lsp-kotlin lsp-latex lsp-ltex lsp-lua lsp-markdown lsp-marksman lsp-mint lsp-nginx ...))
  lsp--require-packages()
  lsp()
  run-hooks(change-major-mode-after-body-hook prog-mode-hook haskell-mode-hook)
  apply(run-hooks (change-major-mode-after-body-hook prog-mode-hook haskell-mode-hook))
  run-mode-hooks(haskell-mode-hook)
  haskell-mode()
  set-auto-mode-0(haskell-mode nil)
  set-auto-mode()
  normal-mode(t)
  after-find-file(nil t)
  ......

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