]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/bugs/po_plugin_config_crasher.mdwn
9669597ed60c44299fde70d9c3535a7de1d92029
[git.ikiwiki.info.git] / doc / bugs / po_plugin_config_crasher.mdwn
1 Saw a site using the po plugin crash with:
3         syntax error in pagespec "\"page(./tips/*)"
5 I suspect the relevant configuration is this:
7         po_translatable_pages: /index or /hugo or /hugo/keys or /about or /archive or /tips
8           or /talks or /imprint or /copyright or /blog or /posts  or /law or /quotes or /quotes/*
10 Config problems in ikiwiki.setup should really not cause the whole site
11 build to crash; this can make it hard to recover. --[[Joey]]
13 > Given who's reporting this, am I right in assuming that's with ikiwiki 3.20150614? --[[smcv]]
15 ---
17 I try to setup a small site with the auto-blog.setup and played a bit with it:
18 If I activate the po plugin and set po_translateable_pages to something meaningful (like the example: `* and !*/Discussion`),
19 then I'll get the same error
21     syntax error in pagespec "\"page(./posts/*)"
23 but only after a second run of the ikiwiki --setup site.setup
25 My try to get a clue: deleting any po and pot files and run the rebuild again - works fine  
26 run the rebuild a second time - error as above
28 tune any of the pagespec variables in the setup and at the inline directives of the blog or sidebar dosn't change anything
29 except leaving the po_translateable_pages empty, than the rebuild works and doesn't create any po files (as expected).
31 Is this helpful or have I done anything stupid ? -- Michael
33 > This would be helpful if I could reproduce the crash from your instructions, but I couldn't :-(
34 > Which version of ikiwiki is this?
35 > --[[smcv]]