From 430df83d095a81430c5bb5199b7c68eb8c42f0d3 Mon Sep 17 00:00:00 2001 From: "Mich_Hein@757185527c4a9401c60f158c059d40255dbeacee" Date: Fri, 15 Jan 2016 17:36:51 -0400 Subject: further invastigation on the rebuilding crash --- doc/bugs/po_plugin_config_crasher.mdwn | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'doc/bugs/po_plugin_config_crasher.mdwn') diff --git a/doc/bugs/po_plugin_config_crasher.mdwn b/doc/bugs/po_plugin_config_crasher.mdwn index a0014a347..22afa674d 100644 --- a/doc/bugs/po_plugin_config_crasher.mdwn +++ b/doc/bugs/po_plugin_config_crasher.mdwn @@ -9,3 +9,20 @@ I suspect the relevant configuration is this: Config problems in ikiwiki.setup should really not cause the whole site build to crash; this can make it hard to recover. --[[Joey]] + +--- +I try to setup a small site with the auto-blog.setup and played a bit with it: +If I activate the po plugin and set po_translateable_pages to something meaningful (like the example: '* and !*/Discussion'), +then I'll get the same error + + syntax error in pagespec "\"page(./posts/*)" + +but only after a second run of the ikiwiki --setup site.setup + +My try to get a clue: deleting any po and pot files and run the rebuild again - works fine +run the rebuild a second time - error as above + +tune any of the pagespec variables in the setup and at the inline directives of the blog or sidebar dosn't change anything +except leaving the po_translateable_pages empty, than the rebuild works and doesn't create any po files (as expected). + +Is this helpful or have I done anything stupid ? -- Michael -- cgit v1.2.3