Skip to content

Bad UX with "Connection closed" errors when downloading support files #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
pkgw opened this issue May 22, 2017 · 0 comments
Closed

Bad UX with "Connection closed" errors when downloading support files #25

pkgw opened this issue May 22, 2017 · 0 comments

Comments

@pkgw
Copy link
Collaborator

pkgw commented May 22, 2017

When a fresh Tectonic install is downloading support files, I find that often you end up with an error because one of the HTTP connections gets dropped:

note: downloading cmr8.tfm
note: downloading cmmi8.tfm
warning: open of input cmmi8 failed
caused by: Connection closed
caused by: Connection closed
error: something bad happened inside TeX; its output follows:

This is bad for two reasons. First, Tectonic then dumps the engine output and ends with an error message saying

error: halted on potentially-recoverable error as specified

This scrolls the real problem off of the screen and will confuse the user.

Second, this happens often enough that we should deal with it more gracefully. The obvious thing to do is just to retry downloads a few times if they error out.

@pkgw pkgw closed this as completed in c1fb84f May 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant