From 490f4be7f004d67c6d60f2931220ecb9da0180f5 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 12 Mar 2008 21:44:27 -0400 Subject: web commit by XTaran: I'll check what exactly caused the breakage... --- ..._to_use_an_alternative_config_file_which_may_break_other_usages.mdwn | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/bugs') diff --git a/doc/bugs/htmltidy_has_no_possibilty_to_use_an_alternative_config_file_which_may_break_other_usages.mdwn b/doc/bugs/htmltidy_has_no_possibilty_to_use_an_alternative_config_file_which_may_break_other_usages.mdwn index 02caac4a3..b029830c6 100644 --- a/doc/bugs/htmltidy_has_no_possibilty_to_use_an_alternative_config_file_which_may_break_other_usages.mdwn +++ b/doc/bugs/htmltidy_has_no_possibilty_to_use_an_alternative_config_file_which_may_break_other_usages.mdwn @@ -13,3 +13,5 @@ I see two possibilities how to fix this: > I don't understand why you're talking about setting --write-back. The > htmltidy plugin communicates with tidy using stdio. No files are used, so > write-back settings should be irrelevant. --[[Joey]] + +>> Hmmm, ok. Well, it didn't work. Empty pages, Perl Warnings. I moved my $HOME/.tidyrc away and it worked again. Had a short look into it and the only obvious non-default setting I found was write-back. I'll check what exactly caused the breakage and let you know. --[[XTaran]] -- cgit v1.2.3 From 5a8719f4b090e90ba237233b2bbfce98781f8cfb Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 12 Mar 2008 22:06:55 -0400 Subject: web commit by XTaran: Correction: write-back -> markup --- ...use_an_alternative_config_file_which_may_break_other_usages.mdwn | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'doc/bugs') diff --git a/doc/bugs/htmltidy_has_no_possibilty_to_use_an_alternative_config_file_which_may_break_other_usages.mdwn b/doc/bugs/htmltidy_has_no_possibilty_to_use_an_alternative_config_file_which_may_break_other_usages.mdwn index b029830c6..d1eaffe55 100644 --- a/doc/bugs/htmltidy_has_no_possibilty_to_use_an_alternative_config_file_which_may_break_other_usages.mdwn +++ b/doc/bugs/htmltidy_has_no_possibilty_to_use_an_alternative_config_file_which_may_break_other_usages.mdwn @@ -1,12 +1,12 @@ The htmltidy plugin as in the Backports.org version 2.32.3~bpo40+1 of ikiwiki does not play well with other usages of HTML Tidy since it has no possibility to use an alternative config file. -E.g. since I usually use HTML Tidy manually only to check and not to fix HTML, I have "write-back: no" in my $HOME/.tidyrc which throws an awful lot of Perl warnings and renders all ikiwiki pages empty as soon as I enable htmltidy. +E.g. since I usually use HTML Tidy manually only to check and not to fix HTML, I have "markup: no" in my $HOME/.tidyrc which throws an awful lot of Perl warnings and renders all ikiwiki pages empty as soon as I enable htmltidy. I see two possibilities how to fix this: 1) Replace "$pid=open2(*IN, *OUT, 'tidy -quiet -asxhtml -utf8 --show-body-only yes - -show-warnings no --tidy-mark no');" by "$pid=open2(*IN, *OUT, 'tidy -quiet -asxhtml -utf8 --show-body-only yes - --show-warnings no --tidy-mark no --write-back yes');" -- This is the fastest fix, but not very elegant, since it doesn't solve the general problem. +-show-warnings no --tidy-mark no --markup yes');" -- This is the fastest fix, but not very elegant, since it doesn't solve the general problem. 2) Make it configurable via ikiwiki.setup as e.g.with the tags plugin. Haven't looked into this code yet. @@ -15,3 +15,5 @@ I see two possibilities how to fix this: > write-back settings should be irrelevant. --[[Joey]] >> Hmmm, ok. Well, it didn't work. Empty pages, Perl Warnings. I moved my $HOME/.tidyrc away and it worked again. Had a short look into it and the only obvious non-default setting I found was write-back. I'll check what exactly caused the breakage and let you know. --[[XTaran]] + +>>> Ok, found it. It indeed wasn't `write-back`, but `markup: no`. (I usually only want to see warnings and errors, not the fixed markup.) I now've corrected this in the bug report above. --[[XTaran]] -- cgit v1.2.3 From 7695a48fcd79e3a2cf2451efbab1eb2e4015482f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 14 Mar 2008 05:14:28 -0400 Subject: web commit by http://madduck.net/ --- doc/bugs/aggregate_plugin_should_honour_a_post__39__s_mctime.mdwn | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/bugs') diff --git a/doc/bugs/aggregate_plugin_should_honour_a_post__39__s_mctime.mdwn b/doc/bugs/aggregate_plugin_should_honour_a_post__39__s_mctime.mdwn index b9a661e35..a73b1a70c 100644 --- a/doc/bugs/aggregate_plugin_should_honour_a_post__39__s_mctime.mdwn +++ b/doc/bugs/aggregate_plugin_should_honour_a_post__39__s_mctime.mdwn @@ -6,3 +6,5 @@ It would be nice if the [[aggregate_plugin|plugin/aggregate]] would try to extra # time on record for the new page. utime $mtime, $mtime, pagefile($guid->{page}) if defined $mtime && $mtime <= time; + +>> I'll have to debug this, it's not working here... and this is an ikiwiki aggregator scraping another ikiwiki site. -- cgit v1.2.3 From 8e05c93b4c1e39026ecbd9671d9c6e21332663a7 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 14 Mar 2008 05:20:32 -0400 Subject: web commit by http://madduck.net/ --- ..._renders___39__28__39___if_external_plugins_return_nothing.mdwn | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 doc/bugs/ikiwiki_renders___39__28__39___if_external_plugins_return_nothing.mdwn (limited to 'doc/bugs') diff --git a/doc/bugs/ikiwiki_renders___39__28__39___if_external_plugins_return_nothing.mdwn b/doc/bugs/ikiwiki_renders___39__28__39___if_external_plugins_return_nothing.mdwn new file mode 100644 index 000000000..6b4587c55 --- /dev/null +++ b/doc/bugs/ikiwiki_renders___39__28__39___if_external_plugins_return_nothing.mdwn @@ -0,0 +1,7 @@ +If the rst2html procedure of the rst external plugin returns None (e.g. when it throws an exception), then ikiwiki will render + +
+ 2/8 +
+ +This seems like a bug in ikiwiki, which should probably output an informational message about the plugin returning an invalid value. -- cgit v1.2.3 From ddab0dbfcc7fb5570087dbb36dfe9f1a0c787a03 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 14 Mar 2008 05:33:48 -0400 Subject: web commit by http://madduck.net/ --- ...iki_renders___39__28__39___if_external_plugins_return_nothing.mdwn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc/bugs') diff --git a/doc/bugs/ikiwiki_renders___39__28__39___if_external_plugins_return_nothing.mdwn b/doc/bugs/ikiwiki_renders___39__28__39___if_external_plugins_return_nothing.mdwn index 6b4587c55..b22c44e16 100644 --- a/doc/bugs/ikiwiki_renders___39__28__39___if_external_plugins_return_nothing.mdwn +++ b/doc/bugs/ikiwiki_renders___39__28__39___if_external_plugins_return_nothing.mdwn @@ -4,4 +4,6 @@ If the rst2html procedure of the rst external plugin returns None (e.g. when it 2/8 -This seems like a bug in ikiwiki, which should probably output an informational message about the plugin returning an invalid value. +In addition to the broken plugin, this seems like a bug in ikiwiki, which should probably output an informational message about the plugin returning an invalid value. + +--[[madduck]] -- cgit v1.2.3