Task #3400

Update, remove unreachable update sites

Added by Matthieu Decorde 4 months ago. Updated 4 months ago.

Status:New Start date:06/02/2023
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Update Spent time: -
Target version:TXM 0.8.4

Description

During TXM Update command, if an updatesite is not reachable remove it and continue the Update command

Avoid this:

Looking for TXM updates...
Adding update site URL: https://gitlab.huma-num.fr/txm/txm-software/-/raw/master/dist//0.8.2/main/stable...
No stable level update available.
Stacktrace:
[1]  org.txm.rcp.p2.plugins.TXMUpdateHandler. addURL  TXMUpdateHandler.java, 495
[2] org.txm.rcp.p2.plugins.TXMUpdateHandler.addDefaultUpdateSites TXMUpdateHandler.java, 302
[3]  org.txm.rcp.p2.plugins.TXMUpdateHandler. execute  TXMUpdateHandler.java, 147
[4]                  org.txm.rcp.Application. start  Application.java, 260
Error while adding artifact repo: https://gitlab.huma-num.fr/txm/txm-software/-/raw/master/dist//0.8.2/main/stable
Stacktrace:
[1]  org.txm.rcp.p2.plugins.TXMUpdateHandler. addURL  TXMUpdateHandler.java, 500
[2] org.txm.rcp.p2.plugins.TXMUpdateHandler.addDefaultUpdateSites TXMUpdateHandler.java, 302
[3]  org.txm.rcp.p2.plugins.TXMUpdateHandler. execute  TXMUpdateHandler.java, 147
[4]                  org.txm.rcp.Application. start  Application.java, 260
org.eclipse.equinox.p2.core.ProvisionException: No repository found at https://gitlab.huma-num.fr/txm/txm-software/-/raw/master/dist//0.8.2/main/stable.
    at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.fail(AbstractRepositoryManager.java:398)
    at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:656)
    at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.loadRepository(ArtifactRepositoryManager.java:119) 

History

#1 Updated by Matthieu Decorde 4 months ago

  • Description updated (diff)

Also available in: Atom PDF