Project

General

Profile

Anomalie #6294

Message d'erreur non explicite au reconfigure

Added by Emmanuel GARETTE almost 9 years ago. Updated almost 9 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
11/11/2013
Due date:
11/15/2013
% Done:

100%

Spent time:
Distribution:
EOLE 2.4

Description

Génération des fichiers de configuration
reconfigure - 
#

Message en mode débug :

Instanciation du fichier '/etc/dansguardian/dansguardian1/dansguardian.conf' depuis '/var/lib/creole/dansguardian-filter2.conf'
Copy template: '/usr/share/eole/creole/distrib/dansguardian-filter2.conf' -> '/var/lib/creole'
reconfigure - Erreur lors de l'instanciation des templates : 
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/creole/reconfigure.py", line 277, in templates
    tmpl.instance_files(container=options.container)
  File "/usr/lib/python2.7/dist-packages/creole/template.py", line 517, in instance_files
    self._instance_file(f, container=ctx)
  File "/usr/lib/python2.7/dist-packages/creole/template.py", line 471, in _instance_file
    self.prepare_template(filevar)
  File "/usr/lib/python2.7/dist-packages/creole/template.py", line 337, in prepare_template
    self._copy_to_template_dir(filevar)
  File "/usr/lib/python2.7/dist-packages/creole/template.py", line 332, in _copy_to_template_dir
    shutil.copy(tmpl_source_file, cfg.templatedir)
  File "/usr/lib/python2.7/shutil.py", line 117, in copy
    copyfile(src, dst)
  File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
    with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: u'/usr/share/eole/creole/distrib/dansguardian-filter2.conf'
reconfigure - 
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/creole/reconfigure.py", line 434, in main
    templates()
  File "/usr/lib/python2.7/dist-packages/creole/reconfigure.py", line 282, in templates
    raise err
IOError: [Errno 2] No such file or directory: u'/usr/share/eole/creole/distrib/dansguardian-filter2.conf'

Associated revisions

Revision 13db3e2f (diff)
Added by Emmanuel GARETTE almost 9 years ago

test la présence de template avant la copie (fixes #6294)

History

#1 Updated by Joël Cuissinat almost 9 years ago

  • Target version changed from Eole 2.4-beta1 to Eole 2.4-beta2

#2 Updated by Emmanuel GARETTE almost 9 years ago

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

#3 Updated by Emmanuel GARETTE almost 9 years ago

  • Due date set to 11/15/2013
  • Start date set to 11/11/2013

#4 Updated by Emmanuel GARETTE almost 9 years ago

  • Assigned To set to Emmanuel GARETTE

#5 Updated by Joël Cuissinat almost 9 years ago

  • Status changed from Résolu to Fermé
    <file name='/etc/mymissingtemplate'/>

Génération des fichiers de configuration
Template /usr/share/eole/creole/distrib/mymissingtemplate inexistant

Also available in: Atom PDF