]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/Can__39__t_rebuild_wiki_pages_with_ikiwiki_2.49.mdwn
(no commit message)
[ikiwiki.git] / doc / bugs / Can__39__t_rebuild_wiki_pages_with_ikiwiki_2.49.mdwn
1 I've just upgraded ikiwiki from version 1.45 to 1.49, using my own Ubuntu Gutsy
2 backport. Now I can't rebuild all my wiki pages. Both methods of rebuilding pages fail:
3
4     $ sudo ikiwiki-mass-rebuild 
5     Processing /home/ptecza/path/to/ikiwiki.setup as user ptecza ...
6     failed to set egid 1000 4 20 24 25 29 30 44 46 104 109 110 119 1000 (got back 1000 1000 119 110 109 104 46 44 30 29 25 24 20 4) at /usr/sbin/ikiwiki-mass-rebuild line 38, <$list> line 13.
7     Processing /home/ptecza/path/to/ikiwiki.setup as user ptecza failed with code 65280
8
9     $ ikiwiki --setup ikiwiki.setup
10     pomyślnie utworzono /var/www/path/to/ikiwiki.cgi
11     pomyślnie utworzono /home/ptecza/path/to/hooks/post-commit.ikiwiki
12     terminate called after throwing an instance of 'Xapian::InvalidArgumentError'
13     Aborted
14
15 I've installed all needed packages for new search engine and added path
16 to `omega` binary in my `ikiwiki.setup` file.
17
18 Any ideas how to fix that problem? --[[Paweł|ptecza]]
19
20 > Well, it's two separate problems. Xapian is crashing in the C code when
21 > asked to create a stemmer for `pl`. This is a Xapain bug, but I've put 
22 > in a workaround.
23
24 > For the first problem, looks like I need a more robust grouplist comparor
25 > -- fixed in git.
26 >
27 > [[done]]
28 > --[[Joey]]
29
30 >> Thanks a lot for the rapid fix, Joey! Now my ikiwiki works good for me :)
31 >>
32 >> BTW, why have you replaced Hyper Estraier by Xapian? It seems that second
33 >> search engine is faster, but I'm not sure it has the same wide syntax.
34 >> Also I can't see how to change number of hits per page... --[[Paweł|ptecza]]
35
36 >>> Xapian indexes more quickly, and with the perl interface I was able to
37 >>> make updates for changes pages quite efficient. My experience with 
38 >>> Hyper Estraier has not been good, with its database often breaking, and
39 >>> it sometimes crashing. Xapian also does a ranked search, and supports
40 >>> searching for specific metadata like "title:foo". --[[Joey]]
41
42 >>>> Thank you very much for the reply! I have never had problems with
43 >>>> Hyper Estraier, but I'm not a long-time user of that searching engine.
44 >>>> It's good to know about Xapian pros and Hyper Estraier cons. --[[Paweł|ptecza]]