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

Orphan package problem? #23

Closed
capdevc opened this issue Oct 23, 2014 · 4 comments
Closed

Orphan package problem? #23

capdevc opened this issue Oct 23, 2014 · 4 comments
Labels

Comments

@capdevc
Copy link
Contributor

capdevc commented Oct 23, 2014

OSX, emacs 24.3... After a fresh install of spacemacs with no .spacemacs I get this in the spacemacs buffer:

Loading.........................................................OK!
Found 23 orphan package(s) to delete...
--> deleting async... [1/23]Ready!
[126 packages loaded in 3.255s]

and this in the Warnings buffer:

Warning (initialization): An error occurred while loading `/Users/cc/.emacs.d/init.el':

Wrong type argument: arrayp, ([cl-struct-package-desc async (20141001 151) Asynchronous processing in Emacs nil nil nil /Users/cc/.emacs.d/elpa/async-20141001.151 nil nil])

To ensure normal operation, you should investigate and remove the cause of the error in your initialization file.  Start Emacs with the `--debug-init' option to view a complete error backtrace.

and here's the stack trace, apologies for the truncation:

Debugger entered--Lisp error: (wrong-type-argument arrayp ([cl-struct-package-desc async (20141001 $
aref(([cl-struct-package-desc async (20141001 151) "Asynchronous processing in Emacs" nil nil nil$
(package-version-join (aref (cdr (assq package package-alist)) 0))
contribsys/get-package-version(async)
(package-delete (symbol-name orphan) (contribsys/get-package-version orphan))
(while --dolist-tail-- (setq orphan (car --dolist-tail--)) (setq deleted-count (1+ deleted-count)$
(let ((--dolist-tail-- orphans) orphan) (while --dolist-tail-- (setq orphan (car --dolist-tail--)$
(progn (spacemacs/append-to-buffer "OK!\n") (spacemacs/append-to-buffer (format "Found %s orphan $
 (if orphans (progn (spacemacs/append-to-buffer "OK!\n") (spacemacs/append-to-buffer (format"Foun$
(let* ((dependencies (contribsys/get-package-dependencies)) (implicit-packages (contribsys/get-im$
contribsys/delete-orphan-packages()
(if (not (spacemacs/emacs-version-ok)) nil (defconst user-home-directory (expand-file-name (conca$ 
eval-buffer(#<buffer  *load*> nil "/Users/cc/.emacs.d/init.el" nil t)  ; Reading at buffer positi$      
@syl20bnr
Copy link
Owner

I saw this issue but in the version 24.4 of Emacs. (mentioned in issue #21)

A temporary work around is to comment this line: https://github.com/syl20bnr/spacemacs/blob/master/init.el#L36

@syl20bnr
Copy link
Owner

@capdevc What's your build ? Homebrew, macports ?

@capdevc
Copy link
Contributor Author

capdevc commented Oct 23, 2014

@syl20bnr my mistake, I'm running 24.4.50.1, not 24.3. I forgot which machine I was on! This is the homebrew vanilla emacs recipe built from emacs HEAD a few weeks ago. I'll use the workaround for now

@capdevc capdevc closed this as completed Oct 23, 2014
@syl20bnr
Copy link
Owner

@capdevc I pushed a temporary fix which disables the feature on 24.4. Thank you for the report.

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

No branches or pull requests

2 participants