You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a chapter using a special uid like that: chap = epub.EpubHtml(title=chap_title, file_name=(delete_spaces(chap_title) + '.xhtml'), lang='en', uid=_uid+i)
I get the following error:
File "src/lxml/etree.pyx", line 3153, in lxml.etree.SubElement
File "src/lxml/apihelpers.pxi", line 199, in lxml.etree._makeSubElement
File "src/lxml/apihelpers.pxi", line 194, in lxml.etree._makeSubElement
File "src/lxml/apihelpers.pxi", line 324, in lxml.etree._initNodeAttributes
File "src/lxml/apihelpers.pxi", line 335, in lxml.etree._addAttributeToNode
File "src/lxml/apihelpers.pxi", line 1539, in lxml.etree._utf8
TypeError: Argument must be bytes or unicode, got 'int'
Any idea why?
The text was updated successfully, but these errors were encountered:
Hi,
When creating a chapter using a special uid like that:
chap = epub.EpubHtml(title=chap_title, file_name=(delete_spaces(chap_title) + '.xhtml'), lang='en', uid=_uid+i)
I get the following error:
Any idea why?
The text was updated successfully, but these errors were encountered: