From d442f1b2fc4389f1da49d3b632359a377a6e825e Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 20 Feb 2007 03:17:09 +0000 Subject: * Don't error out if estcmd fails, just print a warning message. estcmd is to fragile to let it kill ikiwiki. --- IkiWiki/Plugin/search.pm | 2 +- debian/changelog | 4 +++- doc/bugs/edits_not_showing_up_in_compiled_pages.mdwn | 3 +++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/IkiWiki/Plugin/search.pm b/IkiWiki/Plugin/search.pm index d35c33e76..70d05d5a0 100644 --- a/IkiWiki/Plugin/search.pm +++ b/IkiWiki/Plugin/search.pm @@ -135,7 +135,7 @@ sub estcmd ($;@) { #{{{ foreach (@_) { print CHILD "$_\n"; } - close(CHILD) || error("estcmd @params exited nonzero: $?"); + close(CHILD) || print STDERR "estcmd @params exited nonzero: $?\n"; } else { # child diff --git a/debian/changelog b/debian/changelog index 1088fbfda..a439ab32f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -18,8 +18,10 @@ ikiwiki (1.44) UNRELEASED; urgency=low * Support anchors in wikilinks. * Add a "more" plugin based on one contributed by Ben to allow implementing those dreaded "Read more" links in blogs. + * Don't error out if estcmd fails, just print a warning message. estcmd is + to fragile to let it kill ikiwiki. - -- Joey Hess Mon, 19 Feb 2007 20:56:25 -0500 + -- Joey Hess Mon, 19 Feb 2007 22:12:25 -0500 ikiwiki (1.43) unstable; urgency=low diff --git a/doc/bugs/edits_not_showing_up_in_compiled_pages.mdwn b/doc/bugs/edits_not_showing_up_in_compiled_pages.mdwn index ae5f995a5..b6090b4bd 100644 --- a/doc/bugs/edits_not_showing_up_in_compiled_pages.mdwn +++ b/doc/bugs/edits_not_showing_up_in_compiled_pages.mdwn @@ -15,3 +15,6 @@ exactly. --[[Joey]] >>> Yes, it seems to have happened again. Added debugging to track it >>> down next time it occurs. It seems to be happening when you add things >>> to patchqueue. --[[Joey]] + +>>> Got it, it seems that htperestradier was dying and this was killing +>>> ikiwiki before it could save state filed && [[bugs/done]], for real this time. --[[Joey]] -- cgit v1.2.3