quicklisp / quicklisp-slime-helper

Helper library for easy Quicklisp SLIME setup
MIT License
74 stars 17 forks source link

Symbol's value as variable is void: package-updating #17

Open paradigmshift opened 10 years ago

paradigmshift commented 10 years ago

When running --debug-init I'm getting this input, i'm not sure if it's an inherent issue with slime or with quicklisp and slime.

Debugger entered--Lisp error: (void-variable package-updating)
  byte-code("\304\302  !\305\306r\307 q\210\310\311\312\313\n\"D\314 \"\315\316\n!\314 \n\232\"\210\315\317   !\320   \235\"*%\207" [package-updating nicknames package-name p def-slime-test "Test if slime-lisp-package is updated." (("COMMON-LISP" ("CL")) ("KEYWORD" ("" "KEYWORD" "||")) ("COMMON-LISP-USER" ("CL-USER"))) slime-output-buffer slime-eval swank:listener-eval format "(cl:setq cl:*print-case* :upcase)\n                   (cl:setq cl:*package* (cl:find-package %S))\n                   (cl:package-name cl:*package*)" slime-lisp-package slime-check "slime-lisp-package is %S." "slime-lisp-package-prompt-string is in %S." slime-lisp-package-prompt-string] 10)
  slime-repl-init()
  run-hooks(slime-load-hook)
  eval-buffer(#<buffer  *load*-610931> nil "/home/mo/quicklisp/dists/quicklisp/software/slime-2.4/slime.el" nil t)  ; Reading at buffer position 312578
  load-with-code-conversion("/home/mo/quicklisp/dists/quicklisp/software/slime-2.4/slime.el" "/home/mo/quicklisp/dists/quicklisp/software/slime-2.4/slime.el" nil t)
  (slime-setup (quote (slime-fancy)))
  (let* ((quicklisp-slime-directory (quicklisp-slime-helper-slime-directory))) (add-to-list (quote load-path) quicklisp-slime-directory) (require (quote slime-autoloads)) (setq slime-backend (expand-file-name "swank-loader.lisp" quicklisp-slime-directory)) (setq slime-path quicklisp-slime-directory) (slime-setup (quote (slime-fancy))))
  eval-buffer(#<buffer  *load*-936038> nil "/home/mo/quicklisp/slime-helper.el" nil t)  ; Reading at buffer position 1321
  load-with-code-conversion("/home/mo/quicklisp/slime-helper.el" "/home/mo/quicklisp/slime-helper.el" nil nil)
  load("/home/mo/quicklisp/slime-helper.el")
  eval-buffer(#<buffer  *load*> nil "/home/mo/.emacs" nil t)  ; Reading at buffer position 14799
  load-with-code-conversion("/home/mo/.emacs" "/home/mo/.emacs" t t)
  load("~/.emacs" t t)
  #[0 "\205\262
paradigmshift commented 10 years ago

I commented out the various lines of my .emacs file until I narrowed down the issue. It seems that there is some sort of issue between (package-initialize) and slime-helper.el. Loading slime-helper without package-initialize will give no errors, and vice versa.

I installed Quicklisp yesterday and Emacs24 from the Arch Repos (Emacs 24.3-6).

paradigmshift commented 10 years ago

Seems to have been caused by conflicting repos (Marmalade and Melpa). I can confirm everything works after having wiped my .emacs.d directory and installing only from Marmalade.