2017-02-25 8 views
1

내가 25.1.1Aquamacs은 melpa 아카이브

내 ~/라이브러리 /../ Preferences.el 파일이 melpa에 대한 지침을 포함 이맥스 이맥스에 따라 Aquamacs 3.3을 사용하고 있습니다를 다운로드하지 못했습니다.

(require 'package) 
;; Marmalade 
;;(add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t) 
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) 

나는 전환 - 디버그 - 온 - 오류가 나는 이유를 다음과 같은 메시지가 얻을 수 있도록 :

Debugger entered--Lisp error: (error "Archive location https://stable.melpa.org/packages/ is not an absolute file name") 
signal(error ("Archive location https://stable.melpa.org/packages/ is not an absolute file name")) 
#[128 "\300\301\302\303\"C\"\207" [signal error apply format-message] 6 2502308]("Archive location %s is not an absolute file name" "https://stable.melpa.org/packages/") 
apply(#[128 "\300\301\302\303\"C\"\207" [signal error apply format-message] 6 2502308] ("Archive location %s is not an absolute file name" "https://stable.melpa.org/packages/")) 
(with-no-warnings (apply ad--addoit-function args)) 
(setq ad-return-value (with-no-warnings (apply ad--addoit-function args))) 
(if aquamacs-ring-bell-on-error-flag (progn (aquamacs-bell) (setq ad-return-value (with-no-warnings (apply ad--addoit-function args)))) (setq ad-return-value (with-no-warnings (apply ad--addoit-function args)))) 
(let (ad-return-value) (if aquamacs-ring-bell-on-error-flag (progn (aquamacs-bell) (setq ad-return-value (with-no-warnings (apply ad--addoit-function args)))) (setq ad-return-value (with-no-warnings (apply ad--addoit-function args)))) ad-return-value) 
ad-Advice-error(#[128 "\300\301\302\303\"C\"\207" [signal error apply format-message] 6 2502308] "Archive location %s is not an absolute file name" "https://stable.melpa.org/packages/") 
apply(ad-Advice-error #[128 "\300\301\302\303\"C\"\207" [signal error apply format-message] 6 2502308] ("Archive location %s is not an absolute file name" "https://stable.melpa.org/packages/")) 
error("Archive location %s is not an absolute file name" "https://stable.melpa.org/packages/") 
(if (file-name-absolute-p (cdr archive)) nil (error "Archive location %s is not an absolute file name" (cdr archive))) 
(if http (progn (package-handle-response) (re-search-forward "^$" nil (quote move)) (forward-char) (delete-region (point-min) (point))) (if (file-name-absolute-p (cdr archive)) nil (error "Archive location %s is not an absolute file name" (cdr archive))) (insert-file-contents (expand-file-name file (cdr archive)))) 
(save-current-buffer (set-buffer buffer) (if http (progn (package-handle-response) (re-search-forward "^$" nil (quote move)) (forward-char) (delete-region (point-min) (point))) (if (file-name-absolute-p (cdr archive)) nil (error "Archive location %s is not an absolute file name" (cdr archive))) (insert-file-contents (expand-file-name file (cdr archive)))) (if (listp (read buffer)) (progn (make-directory dir t) (setq buffer-file-name (expand-file-name file dir)) (let ((version-control (quote never))) (save-buffer))))) 
(prog1 (save-current-buffer (set-buffer buffer) (if http (progn (package-handle-response) (re-search-forward "^$" nil (quote move)) (forward-char) (delete-region (point-min) (point))) (if (file-name-absolute-p (cdr archive)) nil (error "Archive location %s is not an absolute file name" (cdr archive))) (insert-file-contents (expand-file-name file (cdr archive)))) (if (listp (read buffer)) (progn (make-directory dir t) (setq buffer-file-name (expand-file-name file dir)) (let ((version-control (quote never))) (save-buffer))))) (kill-buffer buffer)) 
(let* ((http (string-match "\\`http:" (cdr archive))) (buffer (if http (url-retrieve-synchronously (concat (cdr archive) file)) (generate-new-buffer "*package work buffer*")))) (prog1 (save-current-buffer (set-buffer buffer) (if http (progn (package-handle-response) (re-search-forward "^$" nil (quote move)) (forward-char) (delete-region (point-min) (point))) (if (file-name-absolute-p (cdr archive)) nil (error "Archive location %s is not an absolute file name" (cdr archive))) (insert-file-contents (expand-file-name file (cdr archive)))) (if (listp (read buffer)) (progn (make-directory dir t) (setq buffer-file-name (expand-file-name file dir)) (let ((version-control ...)) (save-buffer))))) (kill-buffer buffer))) 
(let* ((dir (expand-file-name "archives" package-user-dir)) (dir (expand-file-name (car archive) dir))) (let* ((http (string-match "\\`http:" (cdr archive))) (buffer (if http (url-retrieve-synchronously (concat (cdr archive) file)) (generate-new-buffer "*package work buffer*")))) (prog1 (save-current-buffer (set-buffer buffer) (if http (progn (package-handle-response) (re-search-forward "^$" nil (quote move)) (forward-char) (delete-region (point-min) (point))) (if (file-name-absolute-p (cdr archive)) nil (error "Archive location %s is not an absolute file name" (cdr archive))) (insert-file-contents (expand-file-name file (cdr archive)))) (if (listp (read buffer)) (progn (make-directory dir t) (setq buffer-file-name (expand-file-name file dir)) (let (...) (save-buffer))))) (kill-buffer buffer)))) 
package--download-one-archive(("melpa-stable" . "https://stable.melpa.org/packages/") "archive-contents") 
(condition-case nil (package--download-one-archive archive "archive-contents") ((debug error) (message "Failed to download `%s' archive." (car archive)))) 
(while --dolist-tail-- (setq archive (car --dolist-tail--)) (condition-case nil (package--download-one-archive archive "archive-contents") ((debug error) (message "Failed to download `%s' archive." (car archive)))) (setq --dolist-tail-- (cdr --dolist-tail--))) 
(let ((--dolist-tail-- package-archives) archive) (while --dolist-tail-- (setq archive (car --dolist-tail--)) (condition-case nil (package--download-one-archive archive "archive-contents") ((debug error) (message "Failed to download `%s' archive." (car archive)))) (setq --dolist-tail-- (cdr --dolist-tail--)))) 
package-refresh-contents() 
package-list-packages() 
funcall-interactively(package-list-packages) 
call-interactively(package-list-packages record nil) 
command-execute(package-list-packages record) 
execute-extended-command(nil "package-list-packages" "package-li") 
funcall-interactively(execute-extended-command nil "package-list-packages" "package-li") 
call-interactively(execute-extended-command nil nil) 
command-execute(execute-extended-command) 

내가 메시지의 위치 (SO 내가 여기를 입력하지 것이라고 생각을) 후행 슬래시와 함께 절대적으로 충분했다.

다른 유사한 사람들이있는 사람은 입니다. 1) 멜파 사이트가 다운되었거나 재건 중입니다. 내 텍스트 전용 버전의 이맥스는 멜 파를 잘 다운로드한다. 그것은 내게 보인다. 2) Emacs를 실행 중입니다. 24. 현재 25에 있습니다.

이 문제의 원인은 무엇입니까? 어떻게 해결할 수 있습니까?

답변

0

melpa-stable에 액세스하려고하고 있지만 init이 melpa에 연결하려고 시도하고있는 것으로 보입니다. 그 백 트레이스에는 컴파일 된 바이트 코드가 있습니다. init 파일의 바이트 코드 (컴파일 된) 버전을 사용하지 않아도됩니까?

Emacs가 gnuTLS 지원으로 구축되지 않아서 (따라서 https를 수행 할 수없는 경우) 이와는 별개의 오류 메시지를 보았습니다.

+0

Aquamacs는 이상한 동물입니다. 나는 주변을 둘러 볼 것이다. – user2309201

+0

.emacs.elc를 찾지 못했습니다. 모든 .elc 파일은 분명히 패키지의 일부분 인 것처럼 보입니다. – user2309201

+0

패키지 아카이브에서 C-h v를 수행하고 포함 된 내용을 확인하십시오. 그것은 여전히 ​​멜파 - 안정에 접근하려고 시도하는 것처럼 보이지만 그 라인은 밖으로 나가므로 어떤 것이 옳지 않습니다. .emacs.d/elpa를 삭제하고 다시 시작해야 할 수도 있습니다. –