Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

Error downloading data-hashtables from github #185

Open
BrunoBonacci opened this issue Jan 16, 2021 · 4 comments
Open

Error downloading data-hashtables from github #185

BrunoBonacci opened this issue Jan 16, 2021 · 4 comments

Comments

@BrunoBonacci
Copy link

Paradox fails to download data/data-hashtables from github

[Paradox] Error downloading Github data
#[257 p\304\305!\210\306\307!r\211q\210\310\311\312\313\314�!\315"\316$\216\317\320!\210\3211U�\322�\323"\211\203.�\324\325\303�#\210\210r�q\210eb\210\326\327\320\330#\204D�\324\325\303\331#\210)\332�!\210\333�!\210eb\210\3300\202e�\301 \210\302?\205c�\334�@�A"\262�\205j�\300 *\262�\207 [(closure (t) nil (setq paradox--star-count (read (current-buffer))) (setq paradox--package-repo-list (read (current-buffer))) (setq paradox--download-count (read (current-buffer))) (setq paradox--wiki-packages (read (current-buffer))) (paradox--update-downloads-in-progress 'paradox--data)) (closure (t) nil (paradox--handle-failed-download)) nil https://raw.githubusercontent.com/Malabarba/paradox/data/data-hashtables require url-handlers generate-new-buffer  *temp* make-byte-code 0 \301\300!\205	�\302\300!\207 vconcat vector [buffer-name kill-buffer] 2 set-buffer-multibyte nil (error) plist-get :error error Error retrieving: %s %S search-forward-regexp ^
?

? t incomprehensible buffer url-insert kill-buffer signal] 9 

(fn STATUS)]: Error retrieving: https://raw.githubusercontent.com/Malabarba/paradox/data/data-hashtables (error connection-failed "connect" :host "raw.githubusercontent.com" :service 443)

Connection errors could be due to Github trottling. I would suggest to use: https://raw.githack.com/ (with CDN)

@genovese
Copy link

genovese commented Feb 8, 2021

I'm having the same problem since upgrading to Emacs 27 on Mac OS X 10.14.5. This failed data-hashtables connection happens regularly and leaves paradox in an unsettled state, and many of the other connections (e.g., to melpa) fail regularly but not always.

I've recompiled all the binaries for the package and restarted multiple times. I haven't had a chance yet to try it with -Q, but the only thing that has changed since it worked flawlessly was the upgrade to emacs 27.

@genovese
Copy link

genovese commented Feb 8, 2021

P.S. When I do

(url-retrieve-synchronously "https://raw.githubusercontent.com/Malabarba/paradox/data/data-hashtables")

the data is retrieved without problem. When I do that and leave the buffer in tact, starting paradox-list-packages works as it should. So the OP's original problem seems to be causing all my problems as well. I'm happy to provide more information; let me know what you'd like to see.

@sandinmyjoints
Copy link

Hitting this same problem.

@BrunoBonacci
Copy link
Author

Hi @Malabarba

any chance you can fix change the link
from:
https://raw.githubusercontent.com/Malabarba/paradox/data/data-hashtables
to:
https://raw.githack.com/Malabarba/paradox/data/data-hashtables

This uses a CDN and it avoids the error.

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

No branches or pull requests

3 participants