Note that there are some explanatory texts on larger screens.

plurals
  1. POProblems getting Emacs 24 to run SLIME and Clojure Debug Toolkit (CDT)
    primarykey
    data
    text
    <p>I'm trying to get Slime working with CDT and emacs 24, to no avail, and would appreciate suggestions.</p> <p>1) I did get clojure-jack-in to run, but only when I loaded swank-clojure 1.3.3 as a lein plugin, as described in the github swank-clojure page, <a href="https://github.com/technomancy/swank-clojure" rel="nofollow">https://github.com/technomancy/swank-clojure</a>.</p> <p>2) I tried to get swank-clojure 1.4.0-SNAPSHOT loaded as described by George Jahad in <a href="http://georgejahad.com/clojure/swank-cdt.html" rel="nofollow">http://georgejahad.com/clojure/swank-cdt.html</a> (using Clojure 1.2.1), but I couldn't clojure-jack-in to run. I got the same error as described in 3), below.</p> <p>3) Most recently, I tried duplicating the results of the short proof-of-concept video on the technomancy.us site, on the "in which radical simplification ensues," <a href="http://technomancy.us/149" rel="nofollow">http://technomancy.us/149</a>. In this method, I loaded swank-clojure 1.4.0-SNAPSHOT as a lein plugin and confirmed it was loaded to <code>~/.lein/plugins/swank-clojure-1.4.0-SNAPSHOT.jar</code>. When I created a new lein project, did <code>lein deps</code> on it, opened the project's core.clj file in emacs, and then executed <code>M-x clojure-jack-in</code>, instead of getting a REPL, I got the following error in the emacs minibuffer:</p> <pre><code>error in process filter: Search failed: "(run-hooks 'slime-load-hook) ; on port" </code></pre> <p>Note that the end of the error string does <em>not</em> include a port number. Unless that's an arbitrary truncation of a longer error string, the lack of a port number makes me uneasy.</p> <p>The <code>*swank*</code> buffer is long, beginning with:</p> <pre><code>;;; Bootstrapping bundled version of SLIME; please wait... </code></pre> <p>and ending with:</p> <pre><code>(provide 'slime-repl) ;;; slime-repl.el ends here (run-hooks 'slime-load-hook) ;;; proceed to jack in </code></pre> <p>which is consistent with the error message.</p> <p>I've spent about six hours on this, including a <em>lot</em> of web searches, and no luck. Thanks for any help you can provide.</p> <hr> <p>ADDENDUM: I've continued experimenting, and now the <code>*swank*</code> buffer ends like before (dying at the same place), but with additional lines at the end. FYI, here it is:</p> <pre><code>(provide 'slime-repl) ;;; slime-repl.el ends here (run-hooks 'slime-load-hook) [WARNING] Overriding profile: 'null' (source: pom) with new instance from source: pom [WARNING] Overriding profile: 'null' (source: pom) with new instance from source: pom [WARNING] Overriding profile: 'null' (source: pom) with new instance from source: pom Downloading: org/clojure/clojure/1.+/clojure-1.+.pom from repository clojars at http://clojars.org/repo/ Unable to locate resource in repository [INFO] Unable to find resource 'org.clojure:clojure:pom:1.+' in repository clojars (http://clojars.org/repo/) Downloading: org/clojure/clojure/1.+/clojure-1.+.pom from repository stuartsierra-releases at http://stuartsierra.com/maven2 Unable to locate resource in repository [INFO] Unable to find resource 'org.clojure:clojure:pom:1.+' in repository stuartsierra-releases (http://stuartsierra.com/maven2) Downloading: org/clojure/clojure/1.+/clojure-1.+.pom from repository clojure at http://build.clojure.org/releases Unable to locate resource in repository [INFO] Unable to find resource 'org.clojure:clojure:pom:1.+' in repository clojure (http://build.clojure.org/releases) Downloading: org/clojure/clojure/1.+/clojure-1.+.pom from repository clojure-snapshots at http://build.clojure.org/snapshots Unable to locate resource in repository [INFO] Unable to find resource 'org.clojure:clojure:pom:1.+' in repository clojure-snapshots (http://build.clojure.org/snapshots) Downloading: org/clojure/clojure/1.+/clojure-1.+.pom from repository central at http://repo1.maven.org/maven2 Unable to locate resource in repository [INFO] Unable to find resource 'org.clojure:clojure:pom:1.+' in repository central (http://repo1.maven.org/maven2) Copying 9 files to /Users/gw/tech/clojurestuff/cljprojects/infwb/lib Copying 1 file to /Users/gw/tech/clojurestuff/cljprojects/infwb/lib/dev Listening for transport dt_socket at address: 61012 ;;; proceed to jack in </code></pre> <p>(end of addendum)</p> <hr> <p>ADDENDUM 2 (Dec. 12, 2011) Thanks to all who offered help, especially @ivant, to whom I'm awarding the "check mark." I'm going to consider this situation closed because I've given up trying to fix it. It was complicated by my use of a prepackaged initialization package that I'm sure is quite nice, but I couldn't understand what it was doing, nor whether it was contributing to the problem.</p> <p>I restarted with a "clean" Emacs 24 and reverted to swank-clojure 1.3.3, and <code>clojure-jack-in</code> works just fine now. I'll try CDT later, once the bug logged to swank-clojure 1.4.0-SNAPSHOT is resolved.</p> <p>I learned a few things from people's comments--thanks again.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload