Issue writing with 3.4 at python 3.2 at windows

Oct. 3, 2014
1:44 p.m.
Hello Team, I try to use lxml to perform a c14n over a document c14ndoc = io.StringIO() tree.write_c14n(c14ndoc) I am having this issue: tree.write_c14n(c14ndoc) File "lxml.etree.pyx", line 2271, in lxml.etree._ElementTree.write_c14n (src\lxml\lxml.etree.c:60874) File "serializer.pxi", line 592, in lxml.etree._tofilelikeC14N (src\lxml\lxml.etree.c:124249) File "lxml.etree.pyx", line 316, in lxml.etree._ExceptionContext._raise_if_stored (src\lxml\lxml.etree.c:10291) File "serializer.pxi", line 407, in lxml.etree._FilelikeWriter.write (src\lxml\lxml.etree.c:121770) TypeError: string argument expected, got 'bytes' Do you have any idea ?
3796
Age (days ago)
3796
Last active (days ago)
1 comments
2 participants
participants (2)
-
Pegerto Fernández
-
Stefan Behnel