Anomalie #204

NameError: name 'unicode' is not defined

Added by Luc Saffre over 1 year ago.

Status:NouveauStart date:05/10/2018
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

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

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 31.3 MB)