Hi, > (condition-case error (slime-net-read) (error (debug) (slime-net- > close process t) (error "net-read error: %S" error))) > slime-net-read-or-lose(#<process SLIME Lisp>)
Ah, I hit this same problem before. It's a problem with the charset encoding and I must've accidentally removed the fix when I was cleaning up bits of the code. I put the fix back into place and pushed it out. Thanks for bringing this up! Please let me know if that fixes it for you. - Jeff On Oct 2, 4:16 am, Hans Hübner <[EMAIL PROTECTED]> wrote: > Hi, > > I am using Clojure from SVN with Slime from CVS. Things work in > general, but Slime repeatably crashes when I try to display some data > that I have read using the XML parser: > > user=> (clojure.contrib.zip-filter.xml/xml-> (clojure.zip/xml-zip > (clojure.xml/parse "http://planet.lisp.org/rss20.xml"))) > > sends me to the Emacs debugger (see below). > > Am I alone with this problem? Does this work for other people who run > Slime+Clojure on Windows? > > Any help would be greatly appreciated! > > Thanks, > Hans > > Debugger entered: nil > (condition-case error (slime-net-read) (error (debug) (slime-net- > close process t) (error "net-read error: %S" error))) > slime-net-read-or-lose(#<process SLIME Lisp>) > slime-process-available-input(#<process SLIME Lisp>) > slime-net-filter(#<process SLIME Lisp> "central-registry* :test > #'equalp))))))\\\\n\\\\n(defun load* (system &key; verbose)\\\\n (oos > 'load-op system :verbose verbose)\\\\n t)\\\\n\\\\n(defun reload > (system)\\\\n (let ((name (coerce-name system)))\\\\n (remhash > name *defined-systems*)\\\\n (load* name)))\\\\n\\\\n(defun > register (form)\\\\n (pushnew form *central-registry* :test #'equalp)) > \\\\n\\\\n(defun register-permanently (form)\\\\n (register form)\\\ > \n (ensure-directories-exist *registry-file*)\\\\n (with-open-file > (stream *registry-file*\\\\n :direction :output\\\ > \n :if-exists :append\\\\n :if- > does-not-exist :create)\\\\n (prin1 form stream)\\\\n (terpri > stream)))\\\\n\\\\n;;; Automatically recompile stale FASLs\\\\n\\\ > \n(handler-bind ((style-warning #'muffle-warning))\\\\n (defmethod > perform :around ((o load-op) (c cl-source-file))\\\\n (handler-case > (call-next-method o c)\\\\n (#+sbcl sb-ext:invalid-fasl\\\ > \n #-sbcl error ()\\\\n (perform (make-instance 'compile- > op) c)\\\\n (call-next-method)))))\\\\n</pre>\\\\n\\\\n<p>Do you > have any ugly local hacks that you think aren't polished\\\\n enough > to share, but that make your life much easier? Share them\\\\n > anyway, and let's clean them up and use them and improve life\\\\n > everywhere.\\\"]} {:tag :pubDate, :attrs nil, :content [\\\"Mon, 29 > Sep 2008 16:05:51 GMT\\\"]}]} {:tag :item, :attrs nil, :content > [{:tag :title, :attrs nil, :content [\\\"Zach Beane: Filing off life's > little irritating corners\\\"]} {:tag :guid, :attrs {:isPermaLink \\ > \"true\\\"}, :content [\\\"http://xach.livejournal.com/190909.html\\ > \"]} {:tag :link, :attrs nil, :content [\\\"http:// > xach.livejournal.com/190909.html\\\"]} {:tag :description, :attrs > nil, :content [\\\"<p>Sometimes asdf-install drives me crazy. Here's > what I've been doing\\\\n in my ~/.sbclrc so it doesn't ask me where > I want to install all the time:\\\\n\\\\n<pre>\\\\n(require 'asdf)\\\ > \n(require 'asdf-install)\\\\n\\\\n(setf asdf-install::*locations*\\\ > \n (list (list \\\\\\\"~/asdf/source/\\\\\\\" \\\\\\\"~/asdf/ > systems/\\\\\\\" \\\\\\\"ASDF\\\\\\\")))\\\\n\\\\n(push #p\\\\\\\"~/ > asdf/systems/\\\\\\\" asdf:*central-registry*)\\\\n\\\\n(fmakunbound > 'asdf-install::where)\\\\n\\\\n(defun asdf-install::where ()\\\\n > (first asdf-install::*locations*))\\\\n</pre>\\\\n\\\\n<p>On a related > note, I can't live\\\\nwithout <a href=\\\\\\\"http://xach.com/lisp/ > tilde.lisp\\\\\\\">tilde expansion in\\\\nsbcl</a> any more.\\\"]} > {:tag :pubDate, :attrs nil, :content [\\\"Mon, 29 Sep 2008 15:20:10 GMT > \\\"]}]} {:tag :item, :attrs nil, :content [{:tag :title, :attrs > nil, :content [\\\"John Q. Splittist: Stackoverflow answer of the day\\ > \"]} {:tag :guid, :attrs {:isPermaLink \\\"true\\\"}, :content [\\ > \"http://blog.splittist.com/2008/09/29/stackoverflow-answer-of-the-day/ > \\\"]} {:tag :link, :attrs nil, :content [\\\"http:// > blog.splittist.com/2008/09/29/stackoverflow-answer-of-the-day/\\\"]} > {:tag :description, :attrs nil, :content [\\\"<p>A <a href=\\\\\\ > \"http://stackoverflow.com/\\\\\\\">stackoverflow</a> question > entitled “<a href=\\\\\\\"http://stackoverflow.com/questions/ > 144661/python-vs-ruby-for-metaprogramming\\\\\\\">Python Vs. Ruby for > Metaprogramming</a>” begins “I’m currently primarily > a D programmer and am looking to add another language to my toolbox, > preferably one that supports the metaprogramming hacks that just > can’t be done in a statically compiled language like D. > I’ve read up on Lisp a little and I would love to find a > language that allows some of the cool stuff that Lisp does, but > without the strange syntax, etc. of Lisp.” and goes on for > another 20 lines listing various desiderata.</p>\\\\n<p>The currently > <a href=\\\\\\\"http://stackoverflow.com/questions/144661/python-vs- > ruby-for-metaprogramming#144859\\\\\\\">top-ranked answer</a>, in its > entirety: “Grow some and learn Lisp.”</p>\\\"]} > {:tag :pubDate, :attrs nil, :content [\\\"Mon, 29 Sep 2008 15:19:25 GMT > \\\"]}]}]}]} nil])\\n\" :repl-result)000015(:return (:ok nil) 5)") --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---