Project

General

Profile

Anomalie #6003

erreur non explicite si un conteneur n'existe pas

Added by Emmanuel GARETTE over 6 years ago. Updated over 6 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
09/12/2013
Due date:
09/20/2013
% Done:

100%

Spent time:
Distribution:
EOLE 2.4

Description

reconfigure - Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/creole/reconfigure.py", line 375, in main
    packages()
  File "/usr/lib/python2.7/dist-packages/creole/reconfigure.py", line 238, in packages
    install_packages()
  File "/usr/lib/python2.7/dist-packages/creole/reconfigure.py", line 227, in install_packages
    for group_name in client.get_groups():
  File "/usr/lib/python2.7/dist-packages/creole/client.py", line 438, in get_groups
    containers = self.get_containers()
  File "/usr/lib/python2.7/dist-packages/creole/client.py", line 402, in get_containers
    raise NotFoundError(msg.format(name))
NameError: global name 'name' is not defined

la variable "name" n'existe pas.

History

#1 Updated by Emmanuel GARETTE over 6 years ago

  • Assigned To set to Daniel Dehennin

D'ailleurs le message n'est pas un template ... et dans la condition du dessus il n'y a pas de raise alors que visiblement, cela devrait aussi raiser.

#2 Updated by Daniel Dehennin over 6 years ago

  • Due date set to 09/20/2013
  • Status changed from Nouveau to Résolu
  • Assigned To changed from Daniel Dehennin to Joël Cuissinat
  • Target version set to Eole 2.4-alpha2
  • Start date set to 09/12/2013
  • % Done changed from 0 to 100

C’est Joël qui a corrigé jeudi dernier.

Appliqué par commit 3ba8d57f9f13a01ab6196414891cc83b2255beb4

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

  • Status changed from Résolu to Fermé

Avec tous les tests ajoutés en amont, je n'arrive même plus à reproduire cette situation :o

Also available in: Atom PDF