Anomalie #8107
Erreur home fstab
Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
Début:
30/04/2014
Echéance:
01/05/2014
% réalisé:
100%
Distribution:
EOLE 2.3
Description
Porter en 2.3 le correctif 2.4:
run-parts: executing /usr/share/eole/pretemplate/00-fichier instance Traceback (most recent call last): File "/usr/share/eole/pretemplate/00-fichier", line 90, in <module> if not add_fstab_options('/home', home_options): File "/usr/share/eole/pretemplate/00-fichier", line 51, in add_fstab_options mountpoint) UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 16: ordinal not in range(128) run-parts: /usr/share/eole/pretemplate/00-fichier exited with return code 1
Demandes liées
Révisions associées
encode en utf-8 le message d'ajout d'option fstab (fixes #8107)
Historique
#1 Mis à jour par Daniel Dehennin il y a presque 10 ans
- Version cible mis à Mises à jour 2.3.13
#2 Mis à jour par Thierry Bertrand il y a presque 10 ans
Le correctif proposé (http://dev-eole.ac-dijon.fr/projects/eole-fichier/repository/revisions/e4c159d856506a1fa28dbe37710aab1c7285604a) résoud bien le problème en 2.3.11
Merci
Cordialement
#3 Mis à jour par Emmanuel GARETTE il y a presque 10 ans
- Statut changé de Nouveau à Résolu
- % réalisé changé de 0 à 100
Appliqué par commit 0397ebcc0edd4bc52c84beb122ce76713db49194.
#4 Mis à jour par Emmanuel GARETTE il y a presque 10 ans
- Echéance mis à 01/05/2014
Avant :
# sed -i 's/acl,//g' /etc/fstab # LC_ALL=C instance /etc/eole/config.eol [..] run-parts: executing /usr/share/eole/pretemplate/00-fichier instance Traceback (most recent call last): File "/usr/share/eole/pretemplate/00-fichier", line 90, in <module> if not add_fstab_options('/home', home_options): File "/usr/share/eole/pretemplate/00-fichier", line 51, in add_fstab_options mountpoint) UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 16: ordinal not in range(128) run-parts: /usr/share/eole/pretemplate/00-fichier exited with return code 1 INSTANCE : Erreur => Erreur pretemplate
Après mise à jour :
# LC_ALL=C instance /etc/eole/config.eol [..] run-parts: executing /usr/share/eole/pretemplate/00-fichier instance run-parts: executing /usr/share/eole/pretemplate/00-timezone instance [..]
#5 Mis à jour par Laurent Flori il y a presque 10 ans
- Statut changé de Résolu à Fermé
- Assigné à mis à Emmanuel GARETTE