Closed bacteriostat closed 2 years ago
Does this happen every time you run this command? It seems like the tldr pages archive is corrupt somehow.
When you download https://tldr.sh/assets/tldr.zip directly, can you open it with a ZIP tool?
(Note to self: Improve error message, do not panic)
Okay thanks for the URL, it made it clear why it did not work. My ISP is for some weird reason blocking https://tldr.sh
. I switched my network and the cache update worked.
I think you should run some check on the archive that gets downloaded. The file that got downloaded must be my ISPs html page.
I assumed so 🙂 Anyways, I'll reopen the issue, since this should not cause a panic.
Should be a lot easier to include this information after anyhow PR is merged :)
Should be a lot easier to include this information after anyhow PR is merged :)
Yes, definitely, thanks to .context(...)
.
When I run
RUST_BACKTRACE=full tldr --update
, this is the error I get:About my system: OS: Arch Linux tealdeer version: 1.5.0