aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/pythonproxy-utf8_again.mdwn
diff options
context:
space:
mode:
authorchrysn <chrysn@fsfe.org>2014-06-29 20:06:26 +0200
committerchrysn <chrysn@fsfe.org>2014-06-29 20:06:26 +0200
commiteff5f02e24ae055a208a279efb81aee4a66abcd0 (patch)
tree4b637844779b644d3718b3ec35671b9e6d6bd376 /doc/bugs/pythonproxy-utf8_again.mdwn
parentccc58d9773edf4323bf6acb95425851b55687e45 (diff)
downloadikiwiki-eff5f02e24ae055a208a279efb81aee4a66abcd0.tar
ikiwiki-eff5f02e24ae055a208a279efb81aee4a66abcd0.tar.gz
refreshing three pending patches
Diffstat (limited to 'doc/bugs/pythonproxy-utf8_again.mdwn')
-rw-r--r--doc/bugs/pythonproxy-utf8_again.mdwn20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/bugs/pythonproxy-utf8_again.mdwn b/doc/bugs/pythonproxy-utf8_again.mdwn
index 96b060003..14d5cb98e 100644
--- a/doc/bugs/pythonproxy-utf8_again.mdwn
+++ b/doc/bugs/pythonproxy-utf8_again.mdwn
@@ -14,3 +14,23 @@ version, but i'm pretty sure it was already broken after the abovementioned
patch.
-- [[chrysn]]
+
+> update 2014-06-29: the problem persists, but i found it is not trivial to
+> reproduce. to demonstrate, use this test plugin:
+>
+> #!/usr/bin/env python
+> # -*- coding: utf-8 -*-
+>
+> from proxy import IkiWikiProcedureProxy
+>
+> def preprocess(self, proxy, *args):
+> return repr(self.rpc('pagetype', 'schön'))
+>
+> proxy = IkiWikiProcedureProxy(__name__)
+> proxy.hook('preprocess', preprocess, id='testdirective')
+> proxy.run()
+>
+> note that when the 'schön' is stored in a variable, the exception changes --
+> it seems to me that the issue is related to the way exceptions are encoded.
+>
+> the suggested patch still applies and solves the issue. --[[chrysn]]