This repository has been archived by the owner. It is now read-only.

clojure-jack-in fails with Search failed: "(run-hooks 'slime-load-hook) ; on port" #87

Closed
locopati opened this Issue Dec 8, 2011 · 5 comments

Comments

Projects
None yet
5 participants
@locopati

locopati commented Dec 8, 2011

In Emacs, using M-x clojure-jack-in with swank-clojure 1.4.0-SNAPSHOT causes
error in process filter: Search failed: "(run-hooks 'slime-load-hook) ; on port"

It does work to run lein swank + M-x slime-connect

@ngrunwald

This comment has been minimized.

Show comment Hide comment
@ngrunwald

ngrunwald Dec 10, 2011

I have the same problem on emacs24 and 1.4.0-SNAPSHOT .
It works fine on last stable version.

I have the same problem on emacs24 and 1.4.0-SNAPSHOT .
It works fine on last stable version.

@gw666

This comment has been minimized.

Show comment Hide comment
@gw666

gw666 Dec 10, 2011

I, too, have the same problem with emacs24 and 1.4.0-SNAPSHOT. However, when I run lein swank, open my project's core.clj, and attempt M-x slime-connect, the minibuffer immediately responds with (no matches). Any ideas on what's missing in my emacs such that slime-connect doesn't exist?

gw666 commented Dec 10, 2011

I, too, have the same problem with emacs24 and 1.4.0-SNAPSHOT. However, when I run lein swank, open my project's core.clj, and attempt M-x slime-connect, the minibuffer immediately responds with (no matches). Any ideas on what's missing in my emacs such that slime-connect doesn't exist?

@ekoontz

This comment has been minimized.

Show comment Hide comment
@ekoontz

ekoontz Dec 15, 2011

I hit this problem as soon as, on a whim, I did "lein upgrade". This upgraded my lein from version 1.4.2 to 1.6.2. I worked around this problem by downgrading back to lein 1.4.2 as follows:

git clone https://github.com/technomancy/leiningen.git
cd leiningen
git checkout 1.4.2
mv ~/bin/lein /tmp
ln -s ~/leiningen/bin/lein ~/bin

Now lein version shows 1.4.2 and clojure-jack-in works again.

ekoontz commented Dec 15, 2011

I hit this problem as soon as, on a whim, I did "lein upgrade". This upgraded my lein from version 1.4.2 to 1.6.2. I worked around this problem by downgrading back to lein 1.4.2 as follows:

git clone https://github.com/technomancy/leiningen.git
cd leiningen
git checkout 1.4.2
mv ~/bin/lein /tmp
ln -s ~/leiningen/bin/lein ~/bin

Now lein version shows 1.4.2 and clojure-jack-in works again.

@technomancy

This comment has been minimized.

Show comment Hide comment
@technomancy

technomancy Dec 15, 2011

Owner

This was caused by having an old version of swank. I've fixed it so that in clojure-mode 1.11.5 it should be fine with older versions now.

Owner

technomancy commented Dec 15, 2011

This was caused by having an old version of swank. I've fixed it so that in clojure-mode 1.11.5 it should be fine with older versions now.

@ekoontz

This comment has been minimized.

Show comment Hide comment
@ekoontz

ekoontz Dec 15, 2011

Hi technomancy, upgraded my clojure-mode to 1.11.5 (downloaded it from http://marmalade-repo.org/packages/clojure-mode-1.11.5.el , opened in emacs, and then M-x package-install-from-buffer).

Thereafter, I was able to lein upgrade again to the latest, and voila M-x clojure-jack-in works! Thanks. Hope this helps the other people who encountered this.

ekoontz commented Dec 15, 2011

Hi technomancy, upgraded my clojure-mode to 1.11.5 (downloaded it from http://marmalade-repo.org/packages/clojure-mode-1.11.5.el , opened in emacs, and then M-x package-install-from-buffer).

Thereafter, I was able to lein upgrade again to the latest, and voila M-x clojure-jack-in works! Thanks. Hope this helps the other people who encountered this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.