Project

General

Profile

Anomalie #3152

[diag.py] [eclair] IndexError: list index out of range

Added by Daniel Dehennin over 7 years ago. Updated over 7 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
03/23/2012
Due date:
% Done:

100%

Estimated time:
0.50 h
Spent time:
Distribution:
EOLE 2.3

Description

Erreur à l’exécution du script /usr/share/creole/diag.py :

root@eclair:/usr/share/zephir/monitor# /usr/share/creole/diag.py
Traceback (most recent call last):
  File "/usr/share/creole/diag.py", line 46, in <module>
    id5 = get_md5()
  File "/usr/share/creole/diag.py", line 32, in get_md5
    return (fp.read().split()[0])
IndexError: list index out of range

Associated revisions

Revision 2f36f461 (diff)
Added by Joël Cuissinat over 7 years ago

  • data/diag.py : prise en compte du cas où le fichier de MD5 est vide
    Fixes #3152 @20m

History

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

  • Target version set to Mises à jour 2.3.5 RC
  • Estimated time set to 0.50 h

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

  • Status changed from Nouveau to Accepté
  • Assigned To set to Joël Cuissinat

Visiblement c'est quand le fichier /etc/eole/.server.MD5 est vide (erreur à la génération ou écrasement ?)

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

  • Status changed from Accepté to Résolu
  • % Done changed from 0 to 100

#4 Updated by Bruno Boiget over 7 years ago

  • Status changed from Résolu to Fermé

diag.py testé avec .server.MD5 vide (2.3.5 RC)

Also available in: Atom PDF