Project

General

Profile

Anomalie #8107

Erreur home fstab

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

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
04/30/2014
Due date:
05/01/2014
% Done:

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

Related issues

Copied from eole-fichier - Anomalie #7995: Erreur home fstab pendant instance d'un Scribe Fermé 04/15/2014 04/18/2014

Associated revisions

Revision 0397ebcc (diff)
Added by Emmanuel GARETTE almost 7 years ago

encode en utf-8 le message d'ajout d'option fstab (fixes #8107)

History

#1 Updated by Daniel Dehennin almost 7 years ago

  • Target version set to Mises à jour 2.3.13

#2 Updated by Thierry Bertrand almost 7 years ago

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 Updated by Emmanuel GARETTE almost 7 years ago

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

#4 Updated by Emmanuel GARETTE almost 7 years ago

  • Due date set to 05/01/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 Updated by Laurent Flori almost 7 years ago

  • Status changed from Résolu to Fermé
  • Assigned To set to Emmanuel GARETTE

Also available in: Atom PDF