Project

General

Profile

Tâche #15602

Scénario #15417: Implémenter Upgrade-Auto 2.4.2 => 2.5.2

Gérer proprement le cas où l'ISO n'est pas trouvée

Added by Joël Cuissinat over 5 years ago. Updated over 5 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
03/24/2016
Due date:
% Done:

100%

Estimated time:
1.50 h
Spent time:
Remaining (hours):
0.0

Description

Ce serait mieux si il n'y avait pas de traceback quand l'ISO n'est pas trouvée :

Traceback (most recent call last):
  File "/usr/share/eole/upgrade/Upgrade-Auto", line 582, in <module>
    main()
  File "/usr/share/eole/upgrade/Upgrade-Auto", line 519, in main
    download_iso(args)
  File "/usr/share/eole/upgrade/Upgrade-Auto", line 369, in download_iso
    release_url = build_release_url(args.release, proxy)
  File "/usr/share/eole/upgrade/Upgrade-Auto", line 211, in build_release_url
    latest_version = get_most_recent_version(version, version_url, proxy)
  File "/usr/share/eole/upgrade/Upgrade-Auto", line 193, in get_most_recent_version
    return html_parser.versions[-1]
IndexError: list index out of range

Associated revisions

Revision e8e08853 (diff)
Added by Joël Cuissinat over 5 years ago

Upgrade-Auto : gestion du cas où l'ISO cible n'est pas trouvée

Ref: #15602 @1h

Revision 60200bb1 (diff)
Added by Joël Cuissinat over 5 years ago

Upgrade-Auto : gestion du cas où l'ISO cible n'est pas trouvée (suite)

Ref: #15602

Revision e35fcc44 (diff)
Added by Joël Cuissinat over 5 years ago

Mise à jour des fichiers de traduction...

Ref: #15602 @10m

Revision 70efd64b (diff)
Added by Joël Cuissinat over 5 years ago

Correction de l'appel à la traduction

Ref: #15602 @10m

History

#1 Updated by Joël Cuissinat over 5 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Joël Cuissinat over 5 years ago

  • Assigned To set to Joël Cuissinat

#3 Updated by Joël Cuissinat over 5 years ago

  • % Done changed from 0 to 100
  • Remaining (hours) changed from 1.5 to 0.25

#4 Updated by Joël Cuissinat over 5 years ago

  • Status changed from En cours to Résolu

#5 Updated by Joël Cuissinat over 5 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.25 to 0.0

Also available in: Atom PDF