Bonjour,
J'utilise Lazygal, un programme écrit en Python, pour générer des pages web avec mes photos. Jusqu'à présent, aucun problème mais depuis hier et pour une raison incompréhensible par moi, je n'obtiens plus que :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Traceback (most recent call last):
  File "/usr/bin/lazygal", line 210, in <module>
    options.check_all_dirs, options.clean_dest)
  File "/var/lib/python-support/python2.5/lazygal/generators.py", line 854, in generate
    destgal.make()
  File "/var/lib/python-support/python2.5/lazygal/generators.py", line 538, in make
    make.FileMakeObject.make(self, force)
  File "/var/lib/python-support/python2.5/lazygal/make.py", line 58, in make
    d.make() # dependency building is not forced, regardless of current
  File "/var/lib/python-support/python2.5/lazygal/make.py", line 58, in make
    d.make() # dependency building is not forced, regardless of current
  File "/var/lib/python-support/python2.5/lazygal/make.py", line 61, in make
    self.build()
  File "/var/lib/python-support/python2.5/lazygal/generators.py", line 283, in build
    self.page_template.dump(tpl_values, self.page_path)
  File "/var/lib/python-support/python2.5/lazygal/tpl.py", line 54, in dump
    out=page, encoding='utf-8')
  File "/var/lib/python-support/python2.5/genshi/core.py", line 179, in render
    return encode(generator, method=method, encoding=encoding, out=out)
  File "/var/lib/python-support/python2.5/genshi/output.py", line 61, in encode
    for chunk in iterator:
  File "/var/lib/python-support/python2.5/genshi/output.py", line 311, in __call__
    for kind, data, pos in stream:
  File "/var/lib/python-support/python2.5/genshi/output.py", line 592, in __call__
    for kind, data, pos in stream:
  File "/var/lib/python-support/python2.5/genshi/output.py", line 707, in __call__
    text = mjoin(textbuf, escape_quotes=False)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 9: ordinal not in range(128)
et ceci, quelques soient les données que je donne en entrée. Merci d'avance pour vos explications.

PS. j'utilise python 2.5.2 et lazygal 0.4 sous linux Debian.