Debugger Entered-lisp Error File-error Cannot Open Load File Package
Contents |
quick overview of the site Help Center Detailed answers to any questions you might have
Emacs Cannot Open Load File No Such File Or Directory
Meta Discuss the workings and policies of this site About Us package-initialize Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with
Update Emacs Mac
us Emacs Questions Tags Users Badges Unanswered Ask Question _ Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. Join emacs require package them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top “Cannot open load file”, “/Users/home/.emacs.d/elpa/archives/-pkg” emacs 22.1 up vote 1 down vote favorite emacs 22.1 elpa error When I installed emacs24.5 on osx homebrew install emacs it broke my .emacs.d/elpa directory. this is the error I get when emacs loads: "Cannot open load file", "/Users/xxxx/.emacs.d/elpa/archives/-pkg" here is my emacs version: GNU Emacs 22.1.1 Copyright (C) 2007 Free Software Foundation, Inc. GNU Emacs comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of Emacs under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. here is my emacs --debug-int output: Debugger entered--Lisp error: (file-error "Cannot open load file" "/Users/codymallery/.emacs.d/elpa/archives/-pkg") load("/Users/codymallery/.emacs.d/elpa/archives/-pkg" nil t) (if (file-directory-p pkg-dir) (load (concat pkg-dir ... "-pkg") nil t)) (let ((pkg-dir ...)) (if (file-directory-p pkg-dir) (load ... nil t))) package-load-descriptor("/Users/codymallery/.emacs.d/elpa/" "archives") (lambda (name) (package-load-descriptor dir name))("archives") mapc((lambda (name) (package-load-descriptor dir name)) ("archive-contents" "archive-contents~" "archives" "builtin-package$ (if (file-directory-p dir) (mapc (lambda ... ...) (directory-files dir nil "^[^.]"))) (lambda (dir) (if (file-directory-p dir) (mapc ... ...)))("/Users/codymallery/.emacs.d/elpa/") mapc((lambda (dir) (if (file-directory-p dir) (mapc ... ...))) ("/Users/codymallery/.emacs.d/elpa/" "/usr/share/emacs/site-$ package-load-all-descriptors() package-initialize() (progn (package-initialize)) (if (load (expand-file-name "~/.emacs.d/elpa/package.el")) (progn (package-initialize))) (when (loa
here for a
Emacs Load-path
quick overview of the site Help Center Detailed answers emacs package install to any questions you might have Meta Discuss the workings and policies
Emacs Use-package
of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads http://emacs.stackexchange.com/questions/13619/cannot-open-load-file-users-home-emacs-d-elpa-archives-pkg-emacs-22-1 with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: http://stackoverflow.com/questions/8161576/elpa-marmalade-reports-cannot-open-load-file-for-emacs-d-elpa-archives-pkg Sign up ELPA/Marmalade reports “cannot open load file” for ~/.emacs.d/elpa/archives/-pkg up vote 7 down vote favorite 2 I have installed Marmalade and downloaded some interesting packages. But now, when I start Emacs I get this error: Cannot open load file: c:/Documents and Settings/Carlos/Datos de programa/.emacs.d/elpa/archives/-pkg If I use --debug-init, I get: Debugger entered--Lisp error: (file-error "Cannot open load file" "c:/Documents and Settings/Carlos/Datos de programa/.emacs.d/elpa/archives/-pkg") load("c:/Documents and Settings/Carlos/Datos de programa/.emacs.d/elpa/archives/-pkg" nil t) (if (file-directory-p pkg-dir) (load (concat pkg-dir ... "-pkg") nil t)) (let ((pkg-dir ...)) (if (file-directory-p pkg-dir) (load ... nil t))) package-load-descriptor("c:/Documents and Settings/Carlos/Datos de programa/.emacs.d/elpa/" "archives") (lambda (name) (package-load-descriptor dir name))("archives") mapc((lambda (name) (package-load-descriptor dir name)) ("anything-1.287" "anything- complete-1.86" "anything-config-0.4.1" "archive-contents" "archive-contents~" "archives" "auto-indent-mode-0.35" "builtin-packages" "builtin-packages~" "clojure-mode-1.7.1" "clojurescript-mode-0.5" "coffee-mode-0.3.0" "color-file-completion-1.0.1" "color-theme-6.6.1" "color-theme
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more http://stackoverflow.com/questions/21435861/file-error-cannot-open-load-file-error-message-in-emacs about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up (file-error “Cannot open load file” … error message in emacs up vote cannot open 2 down vote favorite Invoking emacs, I got these error message. Error: (file-error "Cannot open load file" "no such file or directory" "starter-kit-defuns") Error: (file-error "Cannot open load file" "no such file or directory" "tex-site") Looking into my .emacs.d directory, I see no "starter-kit-defuns" nor "tex-site" in it. I also don't remember explicitly install them. Why do I have these errors? How to remove/resolve them? This is the content cannot open load of my init.el file. -> https://gist.github.com/prosseek/ec47ea3569b6f02721cf emacs share|improve this question edited Jan 29 '14 at 20:16 asked Jan 29 '14 at 15:47 prosseek 42.2k105350625 Does that happens with "emacs -q"? If yes, what about "emacs -Q"? –juanleon Jan 29 '14 at 15:55 @juanleon: I see no messages with -q. –prosseek Jan 29 '14 at 15:58 Try starting emacs with --debug-init. That should give you a backtrace that might point to where this comes from. –legoscia Jan 29 '14 at 16:00 add a comment| 2 Answers 2 active oldest votes up vote 4 down vote accepted When installing emacs, I used brew install emacs --HEAD --use-git-head --cocoa --srgb command as is described in this site. However, it seems that there are some bugs with the newest version - https://lists.gnu.org/archive/html/bug-gnu-emacs/2013-09/msg00135.html. When I reinstalled emacs with brew install emacs --cocoa --srgb, the errors are gone. share|improve this answer edited Jan 29 '14 at 16:59 answered Jan 29 '14 at 16:14 prosseek 42.2k105350625 add a comment| up vote 0 down vote I had the same problem after updating emacs through MacPorts. The "tex-site" error can be resolved by removing and re-installing your auctex using M-x package-list-packages. share|improve this answer edited Nov 10 '