]> sipb.mit.edu Git - ikiwiki.git/commitdiff
pythonproxy utf8 trouble again
authorchrysn <chrysn@fsfe.org>
Wed, 12 Mar 2014 10:16:11 +0000 (11:16 +0100)
committerchrysn <chrysn@fsfe.org>
Wed, 12 Mar 2014 10:16:29 +0000 (11:16 +0100)
doc/bugs/pythonproxy-utf8_again.mdwn [new file with mode: 0644]
doc/users/chrysn/interests.mdwn

diff --git a/doc/bugs/pythonproxy-utf8_again.mdwn b/doc/bugs/pythonproxy-utf8_again.mdwn
new file mode 100644 (file)
index 0000000..96b0600
--- /dev/null
@@ -0,0 +1,16 @@
+[[!template  id=gitbranch branch=chrysn/more-proxy-utf8-fail author="[[chrysn]]"]]
+
+the recently introduced fixes for [[crashes in the python proxy even if disabled]]
+caused the typical python2 implicit conversion failures ("'ascii' codec
+can't...") on my debian sid system -- to fix it, i had to revert commit 154c4ea9e.
+
+i did not dig down all the way to the xml / xmlrpc modules, but my impression
+is that some module changed its behavior between stable and sid and now
+generates `unicode` strings instead of `str`.
+
+a [[patch]] to allow both versions by inspecting the types and en-/decoding on
+demand should work both for anarcat's and my case. i did not test the python3
+version, but i'm pretty sure it was already broken after the abovementioned
+patch.
+
+-- [[chrysn]]
index aafe7e4a2e5f2686e38f553da998492470cc79d6..cd7acf3d6c8c93e3fda32768aca58b5fb88939e5 100644 (file)
@@ -4,6 +4,7 @@ these are the topics [[chrysn]] is or was interested in inside ikiwiki:
 * [[bugs/methodResponse in add__95__plugins]]
 * [[bugs/preprocessing loop control too tight]]
 * [[bugs/proxy.py utf8 troubles]]
+* [[bugs/pythonproxy-utf8 again]]
 * [[bugs/Underscores in links don't appear]]
 * [[bugs/unicode encoded urls and recentchanges]]
 * [[bugs/wrong link in recentchanges when reverting an ikiwiki outside git root]]