Project

General

Profile

Anomalie #722

plantage register.py en fin de reconfigure

Added by Olivier JANVOIS almost 11 years ago. Updated over 10 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
-
Category:
-
Start date:
06/25/2010
Due date:
% Done:

100%

Estimated time:
0.50 h
Spent time:
Distribution:

Description

Sur un scribe NG la reconfiguration plante à la fin :

−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
  • Activation de la mise à jour automatique ***
  • Une mise à jour s'effectuera tous les Dimanche à 03:49 ***
    Connexion au serveur matériel via le proxy 172.20.147.254:3128...
    -> Ping du serveur réussi
    Traceback (most recent call last):
    File "/root/eoleinstall-orl/instance.acad.2.2", line 155, in <module>
    fonctionseole.register_module(ask=False)
    File "/var/lib/python-support/python2.5/creole/fonctionseole.py", line 576, in register_module
    register.initialize()
    File "/usr/share/register/register.py", line 79, in initialize
    computer = inst_computer(tree)
    File "/usr/share/register/lshw_parser.py", line 109, in inst_computer
    vendor_cpt = str(get_text(node, 'vendor'))
    UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)
    2010-06-25 15:17:47.911743 :Erreur d'instanciation.
    −−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−

A priori cela est du au fait qu'il y a des caractères parasites dans le champ vendor ; voici le résultat de la commande lshw :

−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
  1. lshw
    PCI (sysfs)

sc360023
description: Desktop Computer
product: PROD00000000
vendor: ��
version: &
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−

Serait il possible de faire en sorte que cela ne fasse pas planter la reconfiguration du serveur ?

Merci d'avance

Associated revisions

Revision 2653b9bb (diff)
Added by Joël Cuissinat over 10 years ago

ajout de tests sur la détection des champs product et vendors (fixes #722)

History

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

  • Target version set to Mises à jour 2.2.2 - 04 RC
  • Estimated time set to 0.50 h

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

  • Project changed from Scribe to eole-register

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

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

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

  • Status changed from Résolu to Fermé

paquet candidat : eole-register (2.2-eole68~1.gbp711513)

Also available in: Atom PDF