Found the bug. From the documentation on __repr__
http://docs.python.org/2/reference/datamodel.html
"The return value must be a string object."
However suds.sax.text.Text returns unicode. Adding .__repr__() appears to fix
the problem. So replace
return ''.join(s)
with
return ''.join(s).__repr__()
and the problem goes away.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1100758
Title:
suds.sax.text.Text objects with unicode cannot be encoded when used in
lists
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/suds/+bug/1100758/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs