all-the-icons.el icon indicating copy to clipboard operation
all-the-icons.el copied to clipboard

emacs27 fails installing fonts (url-http-generic-filter failure)

Open gagbo opened this issue 5 years ago • 0 comments

Issue

all-the-icons-install-fonts fails with an error after downloading some of the fonts

Configuration

I'm on MacOS (Mojave) using d12frosted/emacs-plus on --HEAD (my version is reported to be 27.0.50 and the commit on which I tested is 7e70c78

I'll update the issue after rebuilding from 1ac0cfa264 and checking again. EDIT same error on this commit

Backtraces

There are only some fonts bugging (octicons and file-icons aren't working here at least ; whereas I didn't have issues with weather-icons)

Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p fb)
  url-https-proxy-after-change-function(1 2760 2759)
  url-http-generic-filter(#<process raw.githubusercontent.com> "4fb\15\n<!DOCTYPE html>\15\n<!--\15\n\15\nHello future GitHubb...")
  accept-process-output(#<process raw.githubusercontent.com> 1)
  url-retrieve-synchronously("https://raw.githubusercontent.com/domtronn/all-the...")
  url-copy-file("https://raw.githubusercontent.com/domtronn/all-the..." "/Users/gagbo/Library/Fonts/file-icons.ttf" t)
  #f(compiled-function (font) #<bytecode 0x1fe0af4d8d25>)("file-icons.ttf")
  mapc(#f(compiled-function (font) #<bytecode 0x1fe0af4d8d25>) ("material-design-icons.ttf" "weathericons.ttf" "octicons.ttf" "fontawesome.ttf" "file-icons.ttf" "all-the-icons.ttf"))
  all-the-icons-install-fonts(nil)
  funcall-interactively(all-the-icons-install-fonts nil)
  call-interactively(all-the-icons-install-fonts record nil)
  command-execute(all-the-icons-install-fonts record)
  #f(compiled-function (cmd) #<bytecode 0x1fe0af616181>)("all-the-icons-install-fonts")
  ivy-call()

And the (end of the) octicons backtrace :

Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p a)
  url-https-proxy-after-change-function(41311 42688 1377)
  url-http-generic-filter(#<process raw.githubusercontent.com<1>> "55a\15\nGXo3cOjR4GoK45y22g839zPzVMXvjAd3/96b8PRLboaxS...")
  accept-process-output(#<process raw.githubusercontent.com<1>> 1)
  url-retrieve-synchronously("https://raw.githubusercontent.com/domtronn/all-the...")
  url-copy-file("https://raw.githubusercontent.com/domtronn/all-the..." "/Users/gagbo/Library/Fonts/octicons.ttf" t)
  #f(compiled-function (font) #<bytecode 0x1fe0af4d8d25>)("octicons.ttf")

gagbo avatar Jul 31 '19 08:07 gagbo