Fork me on GitHub
#cider
<
2020-04-16
>
finn.volkel09:04:18

What is the easiest way to turn off sending stuff to the clojurescript repl if I am in a cljc file?

mitchell_clojure13:04:58

does cider-repl-switch-to-other not work?

finn.volkel10:04:46

@ that only switches between repl buffers, I want to only send expressions to the clj repl when I am in a cljc file. I have always both repls open.

i09:04:59

in the cider-error buffer, is it possible to control whether to open a new buffer in the current or other window?

jrwdunham19:04:02

Anybody here know what this error is about?

ERROR: Unhandled REPL handler exception processing message {:ns user, :file *cider-repl workspace/vbit:localhost:8050(clj)*, :nrepl.middleware.print/quota 1048576, :nrepl.middleware.print/print cider.nrepl.pprint/pprint, :op eval, :column 7, :line 46, :id 9, :code (* 8 8 :content-type true, :nrepl.middleware.print/stream? 1, :nrepl.middleware.print/options {:right-margin 80}, :session 51b7d6f7-1e98-454a-b735-c681a118b613}
Syntax error macroexpanding at (track_state.clj:156:8).
...
Caused by: java.nio.file.NoSuchFileException: 
...
/root/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar
	at cider.nrepl.middleware.track_state$fn__5428.invokeStatic(track_state.clj:155)
	at cider.nrepl.middleware.track_state$fn__5428.invoke(track_state.clj:155)
Here are the relevant parts of my deps.edn:
{:deps
 {nrepl/nrepl {:mvn/version "0.6.0"}
  cider/cider-nrepl {:mvn/version "0.22.0"}
 :aliases
 {:repl
  {:main-opts
   ["-m" "nrepl.cmdline"
    "--middleware" "[cider.nrepl/cider-middleware]"
    "--port" "8050"
    "--bind" "0.0.0.0"]}}}}
I see this error when I attempt to evaluate an expression at the repl

jrwdunham19:04:31

Odd, seems adding javax.inject {:mvn/version "1"} to my deps.edn fixed this issue for me. Maybe this is related to the fact that I'm running clojure in a docker container using image FROM clojure:openjdk-14-tools-deps-1.10.1.502-alpine ...

pri22:04:47

Existing Cider user here. I'm reinstalling all packages on my emacs 26.1 on Ubuntu 18.04. I use cask as a dependency manager and ran cask install to encounter the following error:

Dependency cider failed to install: Package 'queue-0.2' is unavailable
I saw this post from six years ago and the fix suggested by author doesn't work. In particular, I can't find 'queue" in M-x package-list or the listing of MElpa packages. https://github.com/melpa/melpa/issues/2005 Anyone else facing cider installati_on_ issues with a fresh install of cider from melpa or melpa-stable?

dpsutton22:04:59

i'm guessing you can't install anything from melpa?

dpsutton22:04:15

this is possibly the old key. if you use 26.3 it will work

pri22:04:07

Ok, Thanks. Do you know the quickest way to upgrade from 26.1 to 26.3? The software update center on Ubuntu seems stuck at 26.1.

dpsutton22:04:33

no i don't i'm sorry. there is a way to patch the keys. i think someone made a helpful package to do so

pri00:04:02

I got this error when I try to install gnu-elpa-keyring update. gpg: Can't check signature: No public key

pri02:04:24

I managed to uninstall all versions of emacs on ubuntu, install 26.3 from snap, restored my emacs.d with Cask. and got the latest cider installed and working again.