Fork me on GitHub
#cider
<
2015-11-28
>
jonas08:11:39

I know I’ve asked this before.. but it’s that time of year where I attempt a cider update simple_smile My first problem is that M-x package-refresh-content hangs with Contacting host: . Anyone know a solution to this?

jonas08:11:40

I don’t think the packages list has been successfully updated since M-x list-packages lists cider 0.8.2 as the latest version

bozhidar14:11:20

@jonas: I’ve decided not to publish cider to Marmalade

bozhidar14:11:00

Marmalade is in a pretty bad shape - a ton of outdated packages there

bozhidar14:11:24

with so few package maintainers actually publishing releases there

bozhidar14:11:36

I believe it’s in everyone’s best interest to avoid it

jonas14:11:45

Ok, so I should change to the correct hosts then. I currently have the following setup:

jonas14:11:16

is http://stable.melpa.org the only one I need?

bozhidar14:11:30

you always need “gnu” simple_smile

jonas14:11:44

but I can drop the other two?

bozhidar14:11:55

but yeah - if you’re interested only in “stable” releases you need only melpa stable

bozhidar14:11:10

as an adventurous person I use only melpa

jonas14:11:11

ok. Stable releases are good enough for me simple_smile

jonas14:11:14

but what I don’t understand is why my package list isn’t updated when I run M-x package-refresh-contents

jonas14:11:43

Or will it just take a really long time to run because I haven’t run it in a while?

jonas15:11:08

(setq url-http-attempt-keepalives nil) solved the issue for now. At least I can see cider 0.9.1 listed now simple_smile

jonas15:11:02

Ok, now when I run M-x package-install [RET] cider [RET] I get "package-compute-transaction: Package `highlight-0' is unavailable"

bozhidar16:11:55

this is definitely not related to cider at all

bozhidar16:11:15

package.el is not the most reliable package manager in the world

bozhidar16:11:25

the version in Emacs 25 will be better

bozhidar16:11:38

@malabarba invested a lot of time in improving it

jonas16:11:56

@bozhidar: I got it working in the end. For some reason it worked when I M-x list-packages and manually clicked the package

bozhidar16:11:14

@roberto thanks for your support (and the reminder) simple_smile

jonas16:11:18

@bozhidar: I added a small monthly backing as well. I’ve been a happy user forever simple_smile

bozhidar16:11:50

Much appreciated! simple_smile

jonas16:11:14

@bozhidar: yeah, I should probably update my emacs version as well

jonas17:11:59

I tested the debugger… nice! One problem I saw was the following NPE in a multithreaded contex: java.lang.NullPointerException at clojure.core$deref_future.invoke(core.clj:2186) at clojure.core$deref.invoke(core.clj:2207) at cider.nrepl.middleware.debug$skip_breaks_QMARK_.invoke(debug.clj:57)

malabarba17:11:23

@jonas is that on the stable or the snapshot

jonas18:11:21

@malabarba: stable

malabarba18:11:51

@jonas then it's very likely your issue was fixed in the snapshots

jonas18:11:51

@malabarba: Basically what I did was start a http server (jetty) and add a breakpoint on one of the functions that gets called when I visit an http endpoint. That’s when I saw the NPE

jonas18:11:12

@malabarba: nice!

malabarba18:11:51

Yeah. The debugger was deeply rewritten. It plays much nicer with pretty much everything. ☺️

twillis18:11:59

I ❤️ cider's debugger

jonas19:11:47

@malabarba: Any idea when the next stable release will be?

malabarba19:11:04

Probably this week.