New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError. need more than 1 value to unpack #164
Comments
Interesting. This is the first I've ever seen an error from the serializer - which is a trimmed down version of the serializer that ships with the newest version of ElementTree. I wonder if this is really a bug in the serializer, an edge case where we're building an invalid elementtree, or a case of garbage in - garbage out. Either way, we need to address this. We shouldn't be crashing regardless of the input provided. Thanks for the report. |
Did a little debugging on this. The attributes set on the h1 are the problem: >>> h1.items()
[(u'{:', u'{:'), (u'id', u'foo')] The colon is optional, so the first |
The new test passes with Python 2, but fails with Python 3:
|
Hi,
with the document below, I get the a "Need more than 1 value to unpack" ValueError:
Here is the traceback:
Thanks,
Alex
The text was updated successfully, but these errors were encountered: