diff options
author | Louis <spalax@gresille.org> | 2015-06-30 20:28:15 +0200 |
---|---|---|
committer | Louis <spalax@gresille.org> | 2015-06-30 20:28:15 +0200 |
commit | 08de927e67da177656b711f9118d34789b424695 (patch) | |
tree | 8fabde23d35e44e5c10bf5f43c422f28154e40f3 /doc/bugs/Error_with_external_plugins.mdwn | |
parent | f64d8a4d05b7bb880ab17e08bd127e9dca9aea79 (diff) | |
download | ikiwiki-08de927e67da177656b711f9118d34789b424695.tar ikiwiki-08de927e67da177656b711f9118d34789b424695.tar.gz |
RPC bug: using built-in debug mode instead of my own debug functions
Second time in less than a week than I rewrite something that already
exists. I should sleep or think more...
Diffstat (limited to 'doc/bugs/Error_with_external_plugins.mdwn')
-rw-r--r-- | doc/bugs/Error_with_external_plugins.mdwn | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/bugs/Error_with_external_plugins.mdwn b/doc/bugs/Error_with_external_plugins.mdwn index 739af4048..ae7592df6 100644 --- a/doc/bugs/Error_with_external_plugins.mdwn +++ b/doc/bugs/Error_with_external_plugins.mdwn @@ -36,11 +36,11 @@ I hope someone will understand the problem better than I do, because I have no i Regards, -- [[Louis|spalax]] -> I wrote a plugin to monitor what is exchanged between the plugin and Ikiwiki. I ran this with [this version](https://github.com/paternal/ikiwiki-rpcbug/tree/b4ba34a8edd1b97989965af69eddac050bc0a8ba) of my minimal bug example. +> I used the debug feature provided with `proxy.py` and rebuilt the wiki. I ran this with [this version](https://github.com/paternal/ikiwiki-rpcbug/tree/b4ba34a8edd1b97989965af69eddac050bc0a8ba) of my minimal bug example. > > * The bug happens in function [preprocess](https://github.com/paternal/ikiwiki-rpcbug/blob/b4ba34a8edd1b97989965af69eddac050bc0a8ba/plugins/rpcbug#L12-17) (in call to [srcfile](https://github.com/paternal/ikiwiki-rpcbug/blob/b4ba34a8edd1b97989965af69eddac050bc0a8ba/plugins/rpcbug#L15), to be more precise). > * The directive causing the bug is called on page [foo](https://github.com/paternal/ikiwiki-rpcbug/blob/b4ba34a8edd1b97989965af69eddac050bc0a8ba/foo.mdwn). -> * Communication between Ikiwiki and the plugin is [[here|tee]]. +> * Communication between Ikiwiki and the plugin is [[here|debug]]. > * The resulting HTML (for page `foo`) looks like: > > > \[[!rpcbug Erreur: internal error: foo cannot be found in /home/louis/projets/ikiwiki/rpcbug or underlay]] |