Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

slime installing error on windows #205

Closed
Eugene-Ye opened this issue Nov 20, 2014 · 5 comments
Closed

slime installing error on windows #205

Eugene-Ye opened this issue Nov 20, 2014 · 5 comments

Comments

@Eugene-Ye
Copy link

I install slime for my emacs on windows,after I type M x : slime,error happened.Here is the error:

Debugger entered: (("Error in timer" slime-attempt-connection (# nil 25) (file-error "make client process failed" "too many open files" :name "SLIME Lisp" :buffer nil :host "127.0.0.1" :service 16182 :nowait nil)))
(condition-case data (apply fun args) ((debug error) (debug nil (list "Error in timer" fun args data))))
slime-timer-call(slime-attempt-connection # nil 25)
apply(slime-timer-call (slime-attempt-connection # nil 25))
byte-code("r\301�\302H�\303H"\210)\301\207" [timer apply 5 6] 4)
timer-event-handler([t 21613 35445 297000 nil slime-timer-call (slime-attempt-connection # nil 25) nil 0])

Below is my .emacs file:
(add-to-list 'load-path "C:/Users/Administrator/Desktop/slime-master/") ;your SLIME directory
(setq inferior-lisp-program "D:/eugene_software/sbcl64/sbcl.exe");your Lisp system
(require 'slime-autoloads)
(slime-setup '(slime-fancy))

@luismbo
Copy link
Member

luismbo commented Nov 20, 2014

SLIME, Emacs and SBCL versions might be relevant. What versions do you have?

What happens if you start sbcl from the command line on your SLIME folder and evaluate

(load "swank-loader.lisp")
(swank-loader:init)
(swank:create-server)

then connect to that from Emacs using M-x slime-connect?

@Eugene-Ye
Copy link
Author

Well,emacs 24.3,the last version of slime from github,sbcl1.1.4.0(I used 1.2.1 first,also failed).
After starting swank from command line, I connect to it from Emacs using M-x slime-connect.It shows the error:

Connecting to Swank on port 4005..
open-network-stream: make client process failed: too many open files, :name, SLIME Lisp, :buffer, nil, :host, 127.0.0.1, :service, 4005, :nowait, nil

By the way,I download lispbox( http://common-lisp.net/project/lispbox/ ),lispstick( http://www.iqool.de/lispstick.html ).When i run them on my windows 7-64,they all shows the same error.

@luismbo
Copy link
Member

luismbo commented Nov 22, 2014

Can you eval something like (url-retrieve "http://google.com" 'print) in Emacs? Does that fail too?

@Eugene-Ye
Copy link
Author

It shows this error:
Warning (initialization): An error occurred while loading `f:/lisp/.emacs':

File error: make client process failed, too many open files, :name, google.com, :buffer, #, :host, google.com, :service, 80, :nowait, nil

@luismbo
Copy link
Member

luismbo commented Nov 24, 2014

You have some issue there with Emacs and/or Windows. Maybe something related to User Account Control (UAC) settings. Perhaps you can get help from an expert on a site like superuser com? Good luck. (Closing since it's not a SLIME bug.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants