Closed magthe closed 3 years ago
Oh, I should add that pgrep -a intero
shows that intero
is started.
I can confirm the issue. Also
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
string-match("\\." nil 0)
split-string(nil "\\.")
intero-ghci-output-flags()
intero-start-process-in-buffer(#<buffer intero:backend:latte /home/radek/Programowanie/Haskell/projects/latte> nil #<buffer StdLib.hs> nil)
intero-get-worker-create(backend nil #<buffer StdLib.hs> nil)
intero-restart()
funcall-interactively(intero-restart)
call-interactively(intero-restart nil nil)
command-execute(intero-restart)
Confirmed.
But Spacemacs doesn't freeze for me.
The process-list SPC a p
shows:
stack 8232 run intero:back... -- stack ghci --with-ghc C:\Users\username\AppData\Roaming\stack\compiler-tools\x86_64-windows\ghc-8.6.5\bin/intero --docker-run-args=--interactive=true --no-build --no-load --ghci-options -ignore-dot-ghci
The messages buffer shows:
Disabling interactive-haskell-mode ... Booting up intero ... File local-variables error: (wrong-type-argument stringp nil)
It might be an upstream issue in flycheck. Because here's a recent thread with the same error message that doesn't mention Spacemacs. https://stackoverflow.com/questions/59058854/intero-error-wrong-type-argument-stringp-nil
(wrong-type-argument stringp nil)
It seems like intero is looking for new maintainers.
The intero project has reached the end of its life cycle. 🌇
I will not be maintaining it any longer. Minimal pull requests will be accepted for a few months. After which, I will archive the project. If an individual or group would like to fork take over the project, they are welcome to do so. I will update this README to point to those alternatives.
https://github.com/chrisdone/intero
(autohotkey auto-completion command-log debug emacs-lisp git
(haskell :variables haskell-completion-backend 'intero)
helm html javascript markdown multiple-cursors
(org :variables org-agenda-files
'(("c:/Users/username/org/notes.org")))
php python shell spell-checking syntax-checking themes-megapack treemacs typescript version-control vue)
The funny thing is it sometimes works, but rarely and I can't find the rule
Does the problem occur with dante in replacement of intero?
This is most likely unrelated, but I just need to whinge a little :grin:
I'm having other issues with haskell-mode right now too. The hook haskell-mode-hook
isn't always running which means that not even LSP works in all cases :disappointed:
Dante works very well (despite missing some functionalities). It can be a temporary workaround
Dante works very well (despite missing some functionalities). It can be a temporary workaround
I did try it, but found it a very poor replacement. In particular I never got it to ever show me the type of anything :disappointed:
In the meantime, and quite possibly as a permanent replacement, I'm trying out LSP.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!
Description :octocat:
intero
doesn't to work as expected in the Haskell layerReproduction guide :beetle:
intero
ascompletion-back-end
stack
Observed behaviour: :eyes: :broken_heart:
File local-variables error: (wrong-type-argument stringp nil)
C-g
) when trying to get type at pointExpected behaviour: :heart: :smile:
A few days ago
intero
worked just fine, I'd really like it to go back to that state :)System Info :computer: