Anomalie #204

NameError: name 'unicode' is not defined

Added by Luc Saffre about 3 years ago. Updated 2 months ago.

Status:FerméStart date:05/10/2018
Priority:NormalDue date:
Assignee:-% Done:


Target version:-


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/", line 191, in html_func
return self.renderXhtml(html, **kw)
File "/home/travis/virtualenv/python3.6.3/src/appy/appy/pod/", line 320, in renderXhtml
imagesMaxWidth, self, html).run()
File "/home/travis/virtualenv/python3.6.3/src/appy/appy/pod/", line 1188, in init
self.xhtmlString = XhtmlPreprocessor.preprocess(s, html=html)
File "/home/travis/virtualenv/python3.6.3/src/appy/appy/pod/", line 1169, in preprocess
if isinstance(s, unicode): s = s.encode('utf-8')
NameError: name 'unicode' is not defined


#1 Updated by Gaëtan Delannay over 1 year ago

  • Status changed from Nouveau to Résolu

#2 Updated by Gaëtan Delannay 2 months ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 31.3 MB)