Anomalie #204

NameError: name 'unicode' is not defined

Ajouté par Luc Saffre il y a 10 mois.

Statut:NouveauDébut:10/05/2018
Priorité:NormalEchéance:
Assigné à:-% réalisé:

0%

Catégorie:-
Version cible:-

Description

I am getting the following error:

Traceback (most recent call last):
File "/home/travis/virtualenv/python3.6.3/src/lino-xl/lino_xl/lib/appypod/appy_renderer.py", line 191, in html_func
return self.renderXhtml(html, **kw)
File "/home/travis/virtualenv/python3.6.3/src/appy/appy/pod/renderer.py", line 320, in renderXhtml
imagesMaxWidth, self, html).run()
File "/home/travis/virtualenv/python3.6.3/src/appy/appy/pod/xhtml2odt.py", line 1188, in init
self.xhtmlString = XhtmlPreprocessor.preprocess(s, html=html)
File "/home/travis/virtualenv/python3.6.3/src/appy/appy/pod/xhtml2odt.py", line 1169, in preprocess
if isinstance(s, unicode): s = s.encode('utf-8')
NameError: name 'unicode' is not defined

Formats disponibles : Atom PDF

Ajouter une image à partir du presse-papier (Taille maximale: 31,25 Mo)