Skip to content

Comments

Improve how the Contributions Manager handles no internet connection (or an unreliable one)#2800

Merged
benfry merged 3 commits intoprocessing:masterfrom
joelmoniz:improveNoInternet
Aug 19, 2014
Merged

Improve how the Contributions Manager handles no internet connection (or an unreliable one)#2800
benfry merged 3 commits intoprocessing:masterfrom
joelmoniz:improveNoInternet

Conversation

@joelmoniz
Copy link
Member

This resolves #2426.

2 main types of errors have been identified:

  1. UnknownHostException, which happens when there is no internet connection
  2. SocketTimeoutException, which happens for an unreliable connection, or a connection which gets cut in between a download

The following error messages have been used for the contributions.txt:

  • SocketTimeout: Connection timed out while downloading the contribution list.
  • UnknownHost: Could not download the list of available contributions.

and for the contribution itself:

  • SocketTimeout: Connection timed out while downloading <contrib_name>.
  • UnknownHost: Error during download and install of <contrib_name>

In case the contributions.txt file doesn't download, a Retry button has been added, and all install and update buttons will be disabled.

benfry added a commit that referenced this pull request Aug 19, 2014
Improve how the Contributions Manager handles no internet connection (or an unreliable one)
@benfry benfry merged commit 81c6edf into processing:master Aug 19, 2014
@joelmoniz joelmoniz deleted the improveNoInternet branch December 14, 2014 14:02
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SocketException: Permission denied with "Add Library"

2 participants