Description

The first trial to create a xapian index gives in my wiki a traceback

Traceback (most recent call last):                                              
  File "/home/user/testwiki/MoinMoin/Page.py", line 1511, in parsePageLinks      
    page.send_page(content_only=1)                                              
  File "/home/user/testwiki/MoinMoin/Page.py", line 1197, in send_page           
    start_line=pi['lines'])                                                     
  File "/home/user/testwiki/MoinMoin/Page.py", line 1281, in send_page_content   
    self.format(parser)                                                         
  File "/home/user/testwiki/MoinMoin/Page.py", line 1302, in format              
    parser.format(self.formatter)                                               
  File "/home/user/testwiki/MoinMoin/parser/text_moin_wiki.py", line 1545, in format                                                                             
    formatted_line = self.scan(line, inhibit_p=inhibit_p)                       
  File "/home/user/testwiki/MoinMoin/parser/text_moin_wiki.py", line 1359, in scan
    result.append(self.replace(match, inhibit_p))
  File "/home/user/testwiki/MoinMoin/parser/text_moin_wiki.py", line 1403, in replace
    result.append(replace_func(hit, match.groupdict()))
  File "/home/user/testwiki/MoinMoin/parser/text_moin_wiki.py", line 1294, in _parser_end_repl
    result = self.formatter.parser(self.parser_name, self.parser_lines)
  File "/home/user/testwiki/MoinMoin/formatter/__init__.py", line 352, in parser
    p.format(self)
  File "/home/user/testwiki/MoinMoin/parser/text_moin_wiki.py", line 1545, in format
    formatted_line = self.scan(line, inhibit_p=inhibit_p)
  File "/home/user/testwiki/MoinMoin/parser/text_moin_wiki.py", line 1359, in scan
    result.append(self.replace(match, inhibit_p))
  File "/home/user/testwiki/MoinMoin/parser/text_moin_wiki.py", line 1404, in replace
    return ''.join(result)
TypeError: sequence item 1: expected string, NoneType found

repeating the commad does not show up the traceback again

Component selection

Details

MoinMoin Version

1.8

OS and Version

Python Version

Server Setup

Server Details

Language you are using the wiki in (set in the browser/UserPreferences)

Workaround

Discussion

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/XapianBuildIndex (last edited 2009-10-05 16:51:24 by ReimarBauer)