]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/pagespec_error_on_refresh_but_not_rebuild.mdwn
(no commit message)
[ikiwiki.git] / doc / bugs / pagespec_error_on_refresh_but_not_rebuild.mdwn
1 I'm getting this error message when I refresh my wiki:
2
3     $ hg commit -u me -m "Minor corrections"
4     refreshing wiki..
5     scanning htmletc/moco-conf-rooms.mdwn
6     building htmletc/moco-conf-rooms.mdwn
7     Use of uninitialized value in concatenation (.) or string at /usr/local/lib/perl5/site_perl/5.8.9/Text/Typography.pm line 542.
8     building sidebar.mdwn, which depends on htmletc/moco-conf-rooms
9     building contact.mdwn, which depends on sidebar
10     building 500.mdwn, which depends on sidebar
11     Use of uninitialized value in concatenation (.) or string at /usr/local/lib/perl5/site_perl/5.8.9/Text/Typography.pm line 542.
12     building ceramics.mdwn, which depends on sidebar
13     building glossary.mdwn, which depends on sidebar
14     syntax error in pagespec "internal(glossary/comment_*)"
15     warning: post-commit hook exited with status 2
16
17 But there is no error if I use `ikiwiki --rebuild` to regenerate the whole thing.
18
19 > You neglect to say what version of ikiwiki this is,
20 > or give any information to reproduce the bug.
21
22 > My guess: A version older than 3.20100403, which  included
23 > 799b93d258bad917262ac160df74136f05d4a451,
24 > which could lead to incorrect "syntax error in pagespec"
25 > that only happened some of the time.
26
27 > (The Text::Typography warning seems probably unrelated.)
28 > --[[Joey]]
29
30 >> I'm sorry, I don't know what I was thinking there.  It's ikiwiki 3.20100212, and manually applying the patch you linked to made the bug go away.  (Upgrading ikiwiki is a pain on nearlyfreespeech, especially if you don't want to keep the build directory around -- please consider making ikiwiki runnable directly from a git clone.)
31
32 [[!meta link="done"]]