Conversation
Notices
-
@samatjain Hm, the backup tool is failing with a unicode error, but not the same as the one in the README. "'ascii' cod…
-
Thanks for the report—could you pastebin the error and command line you used?
-
http://paste.debian.net/156342/ has both. This is on a Debian sid system.
-
Decode early, encode late!
-
@cwebber hmm, so does that more or less mean, "Implement codecs at the border."?
-
Yes! And don't tolerate encoded/serialized values in the interior--only the canonical type. Also applies to other types than unicode.
-
I'm using from __future__ import unicode_literals; that should eliminate most decode early/encode late issues, no? !Python
-
Not really. Just effects the decode of *literals*. Basically it just changes which string literals you have to prefix with u or b.
-
Blah! The line causing the problem was a fix for Unicode issues on Debian testing… I think there was a bug in lxml/requests somewhere
-
Pushed a hack till I've time to diagnose further. Now works w/ your stream. git pull and try it? http://identi.ca/url/66658387
-