Fork me on GitHub
#cider
<
2016-05-11
>
arrdem07:05:17

Sorry about the ungodly hour, but if someone could merge this it'd be great. https://github.com/clojure-emacs/cider-nrepl/pull/356

wagjo08:05:24

latest commit broke the cider-nrepl, it throws with see-also.edn not found. probably a wrong path at https://github.com/clojure-emacs/cider-nrepl/commit/089fda4c141208d2a896136a4eb9370deffd40b1#diff-7e5759ae416dd076f6227ef23d80414dR143 (`see-also.edn` seems to be packeded so it's in the root class-path, not under resources)

wagjo08:05:59

Ah I'm late to the party

plexus08:05:22

if you want to get the workaround now you can do

plexus08:05:28

git clone -b see-also-fix 
cd cider-nrepl
lein install

wagjo08:05:29

thanks, for now I disabled cider-nrepl altogether simple_smile

plexus08:05:44

I guess that also works simple_smile

wagjo08:05:04

it would also be nice if the file itself was not in the root of the classpath

plexus08:05:17

I was really confused first because I was trying to use cider for org-babel so I was convinced it was something with my org-mode setup, then I tried it in another project and it also blew up simple_smile

plexus08:05:53

good point, I guess it might shadow or be shadowed by another file

plexus08:05:25

how would you do it? put it under resources/cider-nrepl/see-also.edn or something?

wagjo08:05:42

yeah, this or resources/cider/nrepl/see-also.edn

vschepik09:05:28

@plexus: Thanks for your workaround. I ran into the problem just now when doing a fresh install of cider on a new machine.

cskksc09:05:40

I apologise for this major fuck up. Don’t hate simple_smile

plexus09:05:58

hehe no worries simple_smile CIDER has been pretty stable lately and has seen a lot of new development, so that's great. People running from -SNAPSHOT should be prepared for some occasional breakage

jan.zy10:05:04

Hi, when I started CIDER today I saw the following error in Messages:

Starting nREPL server via /usr/local/bin/lein update-in :dependencies conj \[org.clojure/tools.nrepl\ \"0.2.12\"\] -- update-in :plugins conj \[refactor-nrepl\ \"2.3.0-SNAPSHOT\"\] -- update-in :plugins conj \[cider/cider-nrepl\ \"0.13.0-SNAPSHOT\"\] -- repl :headless...
error in process sentinel: nrepl-server-sentinel: Could not start nREPL server: Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0
clojure.lang.Compiler$CompilerException: java.io.FileNotFoundException: resources/see-also.edn (No such file or directory), compiling:(info.clj:143:38)
 at clojure.lang.Compiler$InvokeExpr.eval (Compiler.java:3657)
    clojure.lang.Compiler$NewExpr.eval (Compiler.java:2568)
    clojure.lang.Compiler$InvokeExpr.eval (Compiler.java:3651)
    clojure.lang.Compiler$DefExpr.eval (Compiler.java:451)
    clojure.lang.Compiler.eval (Compiler.java:6932)

jan.zy10:05:15

ahh, you already noticed that simple_smile

jonpither10:05:56

My emacs has starting occasionally crashing in windows when using CIDER. Anyone seen this? Not saying CIDER is responsible. Just did a packages upgrade, hoping someone else is seeing..

aspra10:05:52

Damn... at first I couldn’t pin-point what is going on simple_smile Oh well, snapshot version at our own risk

jan.zy10:05:56

coming back to see-also.edn problem I deleted broken jar from my .m2 folder :

/Users/jan/.m2/repository/cider/cider-nrepl/0.13.0-SNAPSHOT:
  total used in directory 3424 available 10493789
  drwxr-xr-x  26 jan  staff   884B May 11 12:22 .
  drwxr-xr-x  23 jan  staff   782B Apr 25 01:08 ..
  -rw-r--r--   1 jan  staff   209B May 11 12:22 _maven.repositories
  -rw-r--r--   1 jan  staff   322K Apr 25 01:08 cider-nrepl-0.13.0-20160424.042936-2.jar
  -rw-r--r--   1 jan  staff    40B Apr 25 01:08 cider-nrepl-0.13.0-20160424.042936-2.jar.sha1
  -rw-r--r--   1 jan  staff   3.2K Apr 25 01:08 cider-nrepl-0.13.0-20160424.042936-2.pom
  -rw-r--r--   1 jan  staff    40B Apr 25 01:08 cider-nrepl-0.13.0-20160424.042936-2.pom.sha1
  -rw-r--r--   1 jan  staff   323K May  4 11:50 cider-nrepl-0.13.0-20160504.055219-4.jar
  -rw-r--r--   1 jan  staff    40B May  4 11:50 cider-nrepl-0.13.0-20160504.055219-4.jar.sha1
  -rw-r--r--   1 jan  staff   3.2K May  4 11:50 cider-nrepl-0.13.0-20160504.055219-4.pom
  -rw-r--r--   1 jan  staff    40B May  4 11:50 cider-nrepl-0.13.0-20160504.055219-4.pom.sha1
  -rw-r--r--   1 jan  staff   323K May 10 09:57 cider-nrepl-0.13.0-20160508.163905-6.jar
  -rw-r--r--   1 jan  staff    40B May 10 09:57 cider-nrepl-0.13.0-20160508.163905-6.jar.sha1
  -rw-r--r--   1 jan  staff   3.2K May 10 09:57 cider-nrepl-0.13.0-20160508.163905-6.pom
  -rw-r--r--   1 jan  staff    40B May 10 09:57 cider-nrepl-0.13.0-20160508.163905-6.pom.sha1
  -rw-r--r--   1 jan  staff   769B May 11 11:35 maven-metadata-annadale.xml
  -rw-r--r--   1 jan  staff    41B May 11 11:35 maven-metadata-annadale.xml.sha1
  -rw-r--r--   1 jan  staff   769B May 11 11:35 maven-metadata-clojars.xml
  -rw-r--r--   1 jan  staff    40B May 11 11:35 maven-metadata-clojars.xml.sha1
  -rw-r--r--   1 jan  staff   234B May 11 11:35 resolver-status.properties

jan.zy10:05:23

now, how can I force CIDER to user 20160508 version and not to download today version once again?

jan.zy10:05:35

hmm, actually cloning and installing patched version from github was uber-fast

bozhidar14:05:30

sorry about this

bozhidar14:05:36

I’ve merged @arrdem’s fix

bozhidar14:05:53

I’ve been pretty busy lately and haven’t been reviewing PRs as carefully as I usually do

bozhidar14:05:25

anyways, when you see the new feature in action

bozhidar14:05:32

you’re probably going to forgive us the downtime

bozhidar14:05:36

it’s pretty cool simple_smile

arrdem14:05:36

@bozhidar: I could have merged that 8hrs earlier if I had merge access :P

arrdem14:05:47

Also good morning thanks for taking that

bozhidar14:05:08

you’re welcome

bozhidar14:05:30

do some more cider work and you’re bound to get merge access 😉

bozhidar14:05:44

(still people also need to be able to push to Clojars)

arrdem14:05:54

Now where have I heard that before...

arrdem14:05:12

Wait your ci doesn't deploy? Heathens.

arrdem14:05:34

It would be nice if the tests actually built and ran there jar so this doesn't happen again. I may take a swing at that later.

bozhidar14:05:58

I wouldn’t mind this

bozhidar14:05:20

getting travis involved in the deployment has been on my todo for a while

agile_geek16:05:30

circleci is nice too

bozhidar17:05:08

I just use travis by default, as a few years ago it was the only ci with the explicit goal of providing trivial github integration

malabarba18:05:22

We could set up an instance on AWS that builds and deploys the latest master. Travis already lets you ping a webhook when all builds pass, so they'd be trivial to integrate.

malabarba18:05:40

And AWS instances are pretty cheap AFAIK, so it wouldn't take a noticeable bite out of the donations.

dpsutton18:05:33

I'd be down with sponsoring a year of that

dpsutton18:05:49

if you can estimate the cost I can make a contribution of that amount