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

"unknown response keys :state" in REPL #1050

Closed
martinraison opened this issue Sep 1, 2015 · 10 comments
Closed

"unknown response keys :state" in REPL #1050

martinraison opened this issue Sep 1, 2015 · 10 comments
Milestone

Comments

@martinraison
Copy link

I am getting lots of DEBUG messages in my Cursive remote REPLs:

DEBUG: unknown response keys :state

Any clue as to what could be causing this? I don't remember changing the remote REPL's leiningen or nrepl version recently. Tested with cursive v0.1.60, same issue. Also, as a workaround, is it possible to disable the DEBUG output?

@martinraison
Copy link
Author

Upgrading to leiningen 2.5.2 fixed the issue.

@cursive-ide
Copy link
Owner

Another user reported this the other day - it turned out to be something in his lein profiles left over from Cider. I'll check with the Cider guys if they're adding that key as part of their nREPL integration.

@romstad
Copy link

romstad commented Sep 8, 2015

Since this morning, I also have this problem, and upgrading leiningen to 2.5.2 does not help. The hypothesis that it has something to do with Cider is interesting, as I did briefly try out the most recent version of Cider last night. However, commenting out everything Cider related in my profiles.clj does not fix the issue. I even tried deleting profiles.clj altogether, but the message still appears.

Is it possible that Cider somehow messes with some relevant file other than ~/.lein/profiles.clj? If yes, which one could it be?

@cursive-ide
Copy link
Owner

One thing to note is that annoyingly, Leiningen memoizes the profile information internally so you have to restart IntelliJ after modifying ~/.lein/profiles.clj. Does that help? I'm working on a fix for that (among many other things) right now, actually.

@romstad
Copy link

romstad commented Sep 8, 2015

Thanks, restarting IntelliJ after changing my profiles.clj did the trick!

For the record, the plugin [cider/cider-nrepl "0.10.0-SNAPSHOT"] turned out to be the offending line.

@dpp
Copy link

dpp commented Sep 23, 2015

FWIW -- I'm running Cider and Cursive... sometimes Emacs is better for CLJ dev and sometimes Cursive is. It's be super excellent if the cider nrepl 0.10.0 could co-exist with Cursive.

@cursive-ide cursive-ide modified the milestones: 0.1.62, 0.1.63 Sep 23, 2015
@cursive-ide
Copy link
Owner

@dpp Fair enough, I'll just ignore that message in the next build.

@dpp
Copy link

dpp commented Sep 23, 2015

Tnx @cursiveclojure Also, I really want to give you money for Cursive. When will I be able to do that?

@cursive-ide
Copy link
Owner

@dpp Very soon! I was working on that when the JetBrains subscription kerfuffle put it on hold, and I got wrapped up in an enormous refactoring. I'll be writing a post soon with my planned licensing scheme, and I hope to have it on sale within a month or so.

@dpp
Copy link

dpp commented Sep 23, 2015

Yay!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants