cpitclaudel / biblio.el

Browse and import bibliographic references from CrossRef, DBLP, HAL, arXiv, Dissemin, and doi.org from Emacs
GNU General Public License v3.0
185 stars 15 forks source link

(require 'org-ref) does not work because of biblio.el? #14

Closed johbra closed 7 years ago

johbra commented 7 years ago

Hi! (require 'org-ref) results in the error message:

Debugger entered--Lisp error: (error "Required feature ‘let-alist’ was not provided") require(let-alist) byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\210\300\307!\210\300\310!\210\300\311!\207" [require bibtex browse-url hl-line ido json url-queue dash let-alist seq] 2) require(biblio-core) byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\210\300\307!\210\300\310!\210\311\312!\207" [require biblio-core biblio-doi biblio-arxiv biblio-crossref biblio-dblp biblio-hal biblio-dissemin biblio-download provide biblio] 2) require(biblio) eval-buffer(#<buffer load-844603> nil "/Users/johannes/Library/Preferences/Aquamacs Emacs/Packages/elpa/helm-bibtex-20170321.1306/bibtex-completion.el" nil t) ; Reading at buffer position 1340 load-with-code-conversion("/Users/johannes/Library/Preferences/Aquamacs Emacs/Packages/elpa/helm-bibtex-20170321.1306/bibtex-completion.el" "/Users/johannes/Library/Preferences/Aquamacs Emacs/Packages/elpa/helm-bibtex-20170321.1306/bibtex-completion.el" nil t) require(bibtex-completion) byte-code("\306\307!\210\306\310!\210\306\311!\210\306\312!\210\313\314\211\314:\203f

I am using Aquamacs 3.3 GNU Emacs 25.1.1. I looked for let-plist using list-packages and found: let-alist 1.0.4 built-in

I first raised an issue at helm-bibtex, but it was commented by Titus van der Malsburg: As far as I can see, this error is triggered in biblio.el. Helm-bibtex doesn't use let-alist. Please open an issue at biblio.el.

Johannes

cpitclaudel commented 7 years ago

Hi,

This sounds like a problem with your Emacs package set up. Can you try M-: (require 'let-alist) RET?

johbra commented 7 years ago

M-: (require 'let-alist) RET:

Debugger entered--Lisp error: (error "Required feature ‘let-alist’ was not provided") require(let-alist) eval((require (quote let-alist)) nil) eval-expression((require (quote let-alist)) nil) funcall-interactively(eval-expression (require (quote let-alist)) nil) call-interactively(eval-expression nil nil) command-execute(eval-expression)

cpitclaudel commented 7 years ago

Right. I'll bet that if you look for let-alist.el in your elpa folder you'll find that it was corrupted while downloading it. I'd recommend reinstalling that package.

johbra commented 7 years ago

Indeed, after reinstalling let-alist all works fine. Thank you!

cpitclaudel commented 7 years ago

:)