Fork me on GitHub
#cider
<
2018-08-09
>
Garrett Hopper03:08:19

@bozhidar Whenever I start my custom cljs REPL (using a custom clj script which uses figwheel-main), I get prompted for Stdin:. I did some git bisect work to figure out what caused it (it doesn't happen on v0.17.0), and it's showing this commit... https://github.com/clojure-emacs/cider/commit/dcba258ab 😕 I have no idea what's going on. Any ideas?

Garrett Hopper03:08:37

Maybe my methodology is wrong, but 0a652cc does indeed work while dcba258 doesn't. 😕 Is there some other package that's looking at cider-version or cider-codename?

Garrett Hopper03:08:16

I'm sure this is a red herring, but changing cider-version from 0.17.0 to 0.18.0-snapshot from 0a652cc does indeed turn the problem on and off. Changing the version from the lastest master doesn't fix it though.

Garrett Hopper03:08:28

sigh Upgrading figwheel-main from 0.1.4 to 0.1.6-SNAPSHOT fixed it. I'm bamboozled, but I'm done for the night. Thanks 🙂

bozhidar04:08:28

@bhauman There’s no cider.nrepl, it’s simple nrepl 😉 @ghopper Seems to me that likely the older version of figwheel-main had some hard dependency on tools.nrepl and that caused your problem.

bozhidar04:08:47

Virtually all people here report the same issues they have in their deps something outdated and that causes them pain. Anyways, at this pace we’ll sort that out in a week or two. 🙂

manuel05:08:35

@michal if it can be of any help, I recently wrote about moving to Figwheel Main, detailing my setup with CIDER: https://manuel-uberti.github.io/programming/2018/08/03/figwheel-main/

bozhidar06:08:24

@manuel You can also write a similar post about upgrading to CIDER 0.18. 🙂 I think it’s going to be a hit. 😉

👍 1
manuel06:08:01

True. But I track CIDER on MELPA, always the latest release. I didn't tinker too much with it. 😊

ackerleytng14:08:12

when i do C-x C-e in cider, i'm getting Namespace not found

ackerleytng14:08:26

but if i do C-c C-k, everything works fine

ackerleytng14:08:36

why might that be?

dpsutton14:08:09

did you recently create a new file and change the ns form?

dpsutton14:08:06

oddly specif questions but there is a bug in a namespace cache in an older version of clojure-mode that remembers the original namespace name if so. an easy way to fix it is to kill the buffer and revisit the file

ackerleytng14:08:13

oh that fixed it

ackerleytng14:08:16

thanks so much!

dpsutton14:08:36

i think there's a newer release of clojure-mode without this but i'm not positive

dpsutton14:08:44

and you're welcome!

bozhidar14:08:40

@dpsutton I changed this only on master. I’ll cut a new release.

bozhidar14:08:12

Wanted to actually fix the caching, but never had the time for this.

dpsutton14:08:34

you disabled the cache by default though right?

dpsutton14:08:57

seems like people aren't seeing the issue that much if you want to sit on it until there's time to properly fix it

bozhidar14:08:49

Yes, but it’s not disabled for people on the stable version.

lilactown15:08:53

I’m noticing, using the latest snapshot and shadow-cljs, that when I run cider-switch-to-repl-buffer, it has trouble finding the buffer sometimes

lilactown15:08:36

especially when I have two REPLs running (e.g. clojure-cli for my server + shadow-cljs for front-end)

bozhidar15:08:49

@lilactown Report this as a bug. Maybe some regression of the transition to sesman.

👍 1
alvina16:08:57

hello I am getting user=> (require (quote cider-nrepl.main)) nil user=> (cider-nrepl.main/init [ "refactor-nrepl.middleware/wrap-refactor" "cider.nrepl/cider-middleware"]) WARNING: boolean? already refers to: #'clojure.core/boolean? in namespace: cljs.util, being replaced by: #'cljs.util/boolean? [WARNING] No nREPL middleware descriptor in metadata of #'refactor-nrepl.middleware/wrap-refactor, see nrepl.middleware/set-descriptor! [WARNING] No nREPL middleware descriptor in metadata of #'cider.nrepl/wrap-apropos, see nrepl.middleware/set-descriptor! [WARNING] No nREPL middleware descriptor in metadata of #'cider.nrepl/wrap-classpath, see nrepl.middleware/set-descriptor! [WARNING] No nREPL middleware descriptor in metadata of #'cider.nrepl/wrap-complete, see nrepl.middleware/set-descriptor! [WARNING] No nREPL middleware descriptor in metadata of #'cider.nrepl/wrap-debug, see nrepl.middleware/set-descriptor! [WARNING] No nREPL middleware descriptor in metadata of #'cider.nrepl/wrap-enlighten, see nrepl.middleware/set-descriptor! [WARNING] No nREPL middleware descriptor in metadata of #'cider.nrepl/wrap-format, see nrepl.middleware/set-descriptor! [WARNING] No nREPL middleware descriptor in metadata of #'cider.nrepl/wrap-info, see nrepl.middleware/set-descriptor! [WARNING] No nREPL middleware descriptor in metadata of #'cider.nrepl/wrap-inspect, see nrepl.middleware/set-descriptor! [WARNING] No nREPL middleware descriptor in metadata of #'cider.nrepl/wrap-macroexpand, see nrepl.middleware/set-descriptor! [WARNING] No nREPL middleware descriptor in metadata of #'cider.nrepl/wrap-slurp, see nrepl.middleware/set-descriptor! [WARNING] No nREPL middleware descriptor in metadata of #'cider.nrepl/wrap-ns, see nrepl.middleware/set-descriptor! [WARNING] No nREPL middleware descriptor in metadata of #'cider.nrepl/wrap-out, see nrepl.middleware/set-descriptor! [WARNING] No nREPL middleware descriptor in metadata of #'cider.nrepl/wrap-content-type, see nrepl.middleware/set-descriptor! [WARNING] No nREPL middleware descriptor in metadata of #'cider.nrepl/wrap-slurp, see nrepl.middleware/set-descriptor! [WARNING] No nREPL middleware descriptor in metadata of #'cider.nrepl/wrap-pprint, see nrepl.middleware/set-descriptor! [WARNING] No nREPL middleware descriptor in metadata of #'cider.nrepl/wrap-pprint-fn, see nrepl.middleware/set-descriptor! [WARNING] No nREPL middleware descriptor in metadata of #'cider.nrepl/wrap-profile, see nrepl.middleware/set-descriptor! [WARNING] No nREPL middleware descriptor in metadata of #'cider.nrepl/wrap-refresh, see nrepl.middleware/set-descriptor! [WARNING] No nREPL middleware descriptor in metadata of #'cider.nrepl/wrap-resource, see nrepl.middleware/set-descriptor! [WARNING] No nREPL middleware descriptor in metadata of #'cider.nrepl/wrap-spec, see nrepl.middleware/set-descriptor! [WARNING] No nREPL middleware descriptor in metadata of #'cider.nrepl/wrap-stacktrace, see nrepl.middleware/set-descriptor! [WARNING] No nREPL middleware descriptor in metadata of #'cider.nrepl/wrap-test, see nrepl.middleware/set-descriptor! [WARNING] No nREPL middleware descriptor in metadata of #'cider.nrepl/wrap-trace, see nrepl.middleware/set-descriptor! [WARNING] No nREPL middleware descriptor in metadata of #'cider.nrepl/wrap-tracker, see nrepl.middleware/set-descriptor! [WARNING] No nREPL middleware descriptor in metadata of #'cider.nrepl/wrap-undef, see nrepl.middleware/set-descriptor! [WARNING] No nREPL middleware descriptor in metadata of #'cider.nrepl/wrap-version, see nrepl.middleware/set-descriptor! nREPL server started on port 36025 on host localhost - <nrepl://localhost:36025>

alvina16:08:48

previously it worked

alvina16:08:08

switched to leingen

bozhidar19:08:07

Looks like outdated deps to me.