Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Failed to intercept after restarting REPL #21

Closed
aburd opened this issue Jan 21, 2025 · 4 comments
Closed

[BUG] Failed to intercept after restarting REPL #21

aburd opened this issue Jan 21, 2025 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@aburd
Copy link

aburd commented Jan 21, 2025

Describe the bug
While connected to Elin and after restarting my REPL, I receive this error when trying to run a test (ElinTestUnderCursor).

Failed to intercept for :elin.constant.interceptor/handler: null

Running ElinReloadAll fixes the issue

To Reproduce
Steps to reproduce the behavior:

  1. Connect to elin
  2. Restart repl while connected to elin
  3. Reconnect to elin from editor
  4. Run ElinTestUnderCursor

Expected behavior
A clear and concise description of what you expected to happen.

There are no errors

Environemnt (please complete the following information):

  • Editor: neovim
  • Editor version: NVIM v0.11.0-dev-36+gb7782daac
  • Babashka version: babashka v1.12.196

Configuration file (if you have):
User configuration ($XDG_CONFIG_HOME/elin/config.edn or$HOME/.config/elin/config.edn)

{:interceptor {:uses [elin-format.core/format-current-form-interceptor {:command ["cljstyle" "pipe"]}]}}

Project local configuration (YOUR_PROJECT/.elin/config.edn)
none

Additional context
Add any other context about the problem here.

@aburd aburd changed the title [BUG] [BUG] Failed to intercept after restarting REPL Jan 21, 2025
@liquidz
Copy link
Owner

liquidz commented Jan 21, 2025

@aburd Thanks! I could reproduce the problem.

@liquidz liquidz added the bug Something isn't working label Jan 21, 2025
@liquidz liquidz self-assigned this Jan 21, 2025
@liquidz
Copy link
Owner

liquidz commented Jan 24, 2025

@aburd I've released 2025.1.3-alpha.
Could you try the latest version? :)

@aburd
Copy link
Author

aburd commented Jan 26, 2025

I will give it a shot on Monday. Thank you very much!

@aburd
Copy link
Author

aburd commented Jan 27, 2025

Works perfectly! Thank you very much. I will close this issue 👍

@aburd aburd closed this as completed Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants