The revision being read has been discarded - you should call Xapian::Database::reopen() and retry the operation
If you want to report a bug, please save this page and attach it to your bug report.
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/home/lotek/lib/python2.5/site-packages/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_wsgi.Request object at 0xaecd5aac>)
1309 self.page.send_page()
1310 else:
1311 handler(self.page.page_name, self)
1312
1313 # every action that didn't use to raise MoinMoinFinish must call this now:
handler = <function execute at 0xaeda2fb4>
self = <MoinMoin.request.request_wsgi.Request object at 0xaecd5aac>
self.page = <MoinMoin.Page.Page object at 0xaed075ec>
self.page.page_name = u'CategoryBash'
/home/lotek/lib/python2.5/site-packages/MoinMoin/action/edit.py in execute (pagename=u'CategoryBash', request=<MoinMoin.request.request_wsgi.Request object at 0xaecd5aac>)
183
184 # sets revision number to default for further actions
185 request.rev = 0
186 request.theme.add_msg(savemsg, "info")
187 pg.send_page()
pg = <MoinMoin.Page.Page object at 0xaed12f2c>
pg.send_page = <bound method Page.send_page of <MoinMoin.Page.Page object at 0xaed12f2c>>
/home/lotek/lib/python2.5/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object at 0xaed12f2c>, **keywords={})
1196 format_args=pi['formatargs'],
1197 do_cache=do_cache,
1198 start_line=pi['lines'])
1199
1200 # check for pending footnotes
start_line undefined
pi = {'acl': <MoinMoin.security.AccessControlList instance at 0xaed12fcc>, 'format': 'wiki', 'formatargs': '', 'language': 'de', 'lines': 0}
/home/lotek/lib/python2.5/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page object at 0xaed12f2c>, request=<MoinMoin.request.request_wsgi.Request object at 0xaecd5aac>, body=u"= CategoryBash =\n\n'''List of pages in this categ...(category:CategoryBash)>>\n\n----\nCategoryCategory\n", format='wiki', format_args='', do_cache=1, **kw={'start_line': 0})
1280
1281 if not (do_cache and self.canUseCache(Parser)):
1282 self.format(parser)
1283 else:
1284 try:
self = <MoinMoin.Page.Page object at 0xaed12f2c>
self.format = <bound method Page.format of <MoinMoin.Page.Page object at 0xaed12f2c>>
parser = <MoinMoin.parser.text_moin_wiki.Parser instance at 0xaed076cc>
/home/lotek/lib/python2.5/site-packages/MoinMoin/Page.py in format (self=<MoinMoin.Page.Page object at 0xaed12f2c>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance at 0xaed076cc>)
1301 def format(self, parser):
1302 """ Format and write page content without caching """
1303 parser.format(self.formatter)
1304
1305 def execute(self, request, parser, code):
parser = <MoinMoin.parser.text_moin_wiki.Parser instance at 0xaed076cc>
parser.format = <bound method Parser.format of <MoinMoin.parser.text_moin_wiki.Parser instance at 0xaed076cc>>
self = <MoinMoin.Page.Page object at 0xaed12f2c>
self.formatter = <MoinMoin.formatter.text_html.Formatter instance at 0xaed03f4c>
/home/lotek/lib/python2.5/site-packages/MoinMoin/parser/text_moin_wiki.py in format (self=<MoinMoin.parser.text_moin_wiki.Parser instance at 0xaed076cc>, formatter=<MoinMoin.formatter.text_html.Formatter instance at 0xaed03f4c>, inhibit_p=False)
1544
1545 # Scan line, format and write
1546 formatted_line = self.scan(line, inhibit_p=inhibit_p)
1547 self.request.write(formatted_line)
1548
formatted_line = u'<p class="line867"><strong>List of pages in this category:</strong> '
self = <MoinMoin.parser.text_moin_wiki.Parser instance at 0xaed076cc>
self.scan = <bound method Parser.scan of <MoinMoin.parser.text_moin_wiki.Parser instance at 0xaed076cc>>
line = u'<<FullSearchCached(category:CategoryBash)>> '
inhibit_p = False
/home/lotek/lib/python2.5/site-packages/MoinMoin/parser/text_moin_wiki.py in scan (self=<MoinMoin.parser.text_moin_wiki.Parser instance at 0xaed076cc>, line=u'<<FullSearchCached(category:CategoryBash)>> ', inhibit_p=False)
1358 self.in_table or self.in_list):
1359 result.append(self.formatter.paragraph(1, css_class="line867"))
1360 result.append(self.replace(match, inhibit_p))
1361 end = match.end()
1362 lastpos = end
result = ['<p class="line867">']
result.append = <built-in method append of list object at 0xaed03e4c>
self = <MoinMoin.parser.text_moin_wiki.Parser instance at 0xaed076cc>
self.replace = <bound method Parser.replace of <MoinMoin.parser.text_moin_wiki.Parser instance at 0xaed076cc>>
match = <_sre.SRE_Match object at 0xadf024f8>
inhibit_p = False
/home/lotek/lib/python2.5/site-packages/MoinMoin/parser/text_moin_wiki.py in replace (self=<MoinMoin.parser.text_moin_wiki.Parser instance at 0xaed076cc>, match=<_sre.SRE_Match object at 0xadf024f8>, inhibit_p=False)
1402 # Get replace method and replace hit
1403 replace_func = getattr(self, '_%s_repl' % type)
1404 result.append(replace_func(hit, match.groupdict()))
1405 return ''.join(result)
1406 else:
result = []
result.append = <built-in method append of list object at 0xaed12d2c>
replace_func = <bound method Parser._macro_repl of <MoinMoin.parser.text_moin_wiki.Parser instance at 0xaed076cc>>
hit = u'category:CategoryBash'
match = <_sre.SRE_Match object at 0xadf024f8>
match.groupdict = <built-in method groupdict of _sre.SRE_Match object at 0xadf024f8>
/home/lotek/lib/python2.5/site-packages/MoinMoin/parser/text_moin_wiki.py in _macro_repl (self=<MoinMoin.parser.text_moin_wiki.Parser instance at 0xaed076cc>, word=u'category:CategoryBash', groups={u'big': None, u'big_off': None, u'big_on': None, u'comment': None, u'dl': None, u'email': None, u'emph': None, u'emph_ib_or_bi': None, u'emph_ibb': None, u'emph_ibi': None, ...})
1325 if self.macro is None:
1326 self.macro = macro.Macro(self)
1327 return self.formatter.macro(self.macro, macro_name, macro_args, markup=groups.get('macro'))
1328 _macro_name_repl = _macro_repl
1329 _macro_args_repl = _macro_repl
self = <MoinMoin.parser.text_moin_wiki.Parser instance at 0xaed076cc>
self.formatter = <MoinMoin.formatter.text_html.Formatter instance at 0xaed03f4c>
self.formatter.macro = <bound method Formatter.macro of <MoinMoin.formatter.text_html.Formatter instance at 0xaed03f4c>>
self.macro = <MoinMoin.macro.Macro instance at 0xaed0356c>
macro_name = u'FullSearchCached'
macro_args = u'category:CategoryBash'
markup undefined
groups = {u'big': None, u'big_off': None, u'big_on': None, u'comment': None, u'dl': None, u'email': None, u'emph': None, u'emph_ib_or_bi': None, u'emph_ibb': None, u'emph_ibi': None, ...}
groups.get = <built-in method get of dict object at 0xaed5f714>
/home/lotek/lib/python2.5/site-packages/MoinMoin/formatter/__init__.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance at 0xaed03f4c>, macro_obj=<MoinMoin.macro.Macro instance at 0xaed0356c>, name=u'FullSearchCached', args=u'category:CategoryBash', markup=u'<<FullSearchCached(category:CategoryBash)>>')
308 # call the macro
309 try:
310 return macro_obj.execute(name, args)
311 except ImportError, err:
312 errmsg = unicode(err)
macro_obj = <MoinMoin.macro.Macro instance at 0xaed0356c>
macro_obj.execute = <bound method Macro.execute of <MoinMoin.macro.Macro instance at 0xaed0356c>>
name = u'FullSearchCached'
args = u'category:CategoryBash'
/home/lotek/lib/python2.5/site-packages/MoinMoin/macro/__init__.py in execute (self=<MoinMoin.macro.Macro instance at 0xaed0356c>, macro_name=u'FullSearchCached', args=u'category:CategoryBash')
126 else:
127 raise ImportError("Cannot load macro %s" % macro_name)
128 return execute(self, args)
129
130 def _m_lang(self, text):
execute = <function execute at 0xaec396f4>
self = <MoinMoin.macro.Macro instance at 0xaed0356c>
args = u'category:CategoryBash'
/home/lotek/lib/python2.5/site-packages/MoinMoin/macro/FullSearch.py in execute (macro=<MoinMoin.macro.Macro instance at 0xaed0356c>, needle=u'category:CategoryBash')
104
105 # Search the pages and return the results
106 results = search.searchPages(request, needle, sort='page_name')
107
108 return results.pageList(request, macro.formatter, paging=False)
results undefined
global search = <module 'MoinMoin.search' from '/home/lotek/lib/...n2.5/site-packages/MoinMoin/search/__init__.pyc'>
search.searchPages = <function searchPages at 0xaecca844>
request = <MoinMoin.request.request_wsgi.Request object at 0xaecd5aac>
needle = u'category:CategoryBash'
sort undefined
/home/lotek/lib/python2.5/site-packages/MoinMoin/search/__init__.py in searchPages (request=<MoinMoin.request.request_wsgi.Request object at 0xaecd5aac>, query=<MoinMoin.search.queryparser.AndExpression instance at 0xaed03d0c>, sort='page_name', mtime=None, historysearch=None, **kw={})
33 if isinstance(query, str) or isinstance(query, unicode):
34 query = QueryParser(**kw).parse_query(query)
35 return Search(request, query, sort, mtime=mtime,
36 historysearch=historysearch).run()
37
historysearch = None
).run undefined
/home/lotek/lib/python2.5/site-packages/MoinMoin/search/builtin.py in run (self=<MoinMoin.search.builtin.Search instance at 0xaed039ac>)
458 start = time.time()
459 if self.request.cfg.xapian_search:
460 hits = self._xapianSearch()
461 logging.debug("_xapianSearch found %d hits" % len(hits))
462 else:
hits undefined
self = <MoinMoin.search.builtin.Search instance at 0xaed039ac>
self._xapianSearch = <bound method Search._xapianSearch of <MoinMoin.search.builtin.Search instance at 0xaed039ac>>
/home/lotek/lib/python2.5/site-packages/MoinMoin/search/builtin.py in _xapianSearch (self=<MoinMoin.search.builtin.Search instance at 0xaed039ac>)
525 query = xapwrap.index.QObjQuery(query)
526 enq, mset, hits = index.search(query, sort=self.sort,
527 historysearch=self.historysearch)
528 clock.stop('_xapianQuery')
529
historysearch undefined
self = <MoinMoin.search.builtin.Search instance at 0xaed039ac>
self.historysearch = None
/home/lotek/lib/python2.5/site-packages/MoinMoin/search/builtin.py in search (self=<MoinMoin.search.Xapian.Index instance at 0xaed035ec>, query=<MoinMoin.support.xapwrap.index.QObjQuery instance at 0xaed145cc>, **kw={'historysearch': None, 'sort': 'page_name'})
222 # raise self.LockedException
223 #try:
224 hits = self._search(query, **kw)
225 #finally:
226 # self.read_lock.release()
hits undefined
self = <MoinMoin.search.Xapian.Index instance at 0xaed035ec>
self._search = <bound method Index._search of <MoinMoin.search.Xapian.Index instance at 0xaed035ec>>
query = <MoinMoin.support.xapwrap.index.QObjQuery instance at 0xaed145cc>
kw = {'historysearch': None, 'sort': 'page_name'}
/home/lotek/lib/python2.5/site-packages/MoinMoin/search/Xapian.py in _search (self=<MoinMoin.search.Xapian.Index instance at 0xaed035ec>, query=<MoinMoin.support.xapwrap.index.QObjQuery instance at 0xaed145cc>, sort='page_name', historysearch=None)
270
271 hits = searcher.search(query, valuesWanted=['pagename',
272 'attachment', 'mtime', 'wikiname', 'revision'], **kw)
273 self.request.cfg.xapian_searchers.append((searcher, timestamp))
274 return hits
kw = {'sortKey': 'pagename'}
/home/lotek/lib/python2.5/site-packages/MoinMoin/support/xapwrap/index.py in protectedMethod (self=<MoinMoin.support.xapwrap.index.ReadOnlyIndex instance at 0xaecd596c>, *args=(<MoinMoin.support.xapwrap.index.QObjQuery instance at 0xaed145cc>,), **kwargs={'sortKey': 'pagename', 'valuesWanted': ['pagename', 'attachment', 'mtime', 'wikiname', 'revision']})
417 self.setupDB()
418 try:
419 return method(self, *args, **kwargs)
420 ## # test that this works and doesn't recurse infinitely
421 ## except DatabaseModifiedError:
method = <function search at 0xaec31994>
self = <MoinMoin.support.xapwrap.index.ReadOnlyIndex instance at 0xaecd596c>
args = (<MoinMoin.support.xapwrap.index.QObjQuery instance at 0xaed145cc>,)
kwargs = {'sortKey': 'pagename', 'valuesWanted': ['pagename', 'attachment', 'mtime', 'wikiname', 'revision']}
/home/lotek/lib/python2.5/site-packages/MoinMoin/support/xapwrap/index.py in search (self=<MoinMoin.support.xapwrap.index.ReadOnlyIndex instance at 0xaecd596c>, query=<MoinMoin.support.xapwrap.index.QObjQuery instance at 0xaed145cc>, sortKey='pagename', startingIndex=0, batchSize=1000000, sortIndex=2, sortAscending=True, sortByRelevence=False, valuesWanted=['pagename', 'attachment', 'mtime', 'wikiname', 'revision'], collapseKey=None)
668 self._searchSessions[qString] = (enq, sortIndex)
669
670 mset = enq.get_mset(startingIndex, batchSize)
671 results = []
672 for m in mset:
mset undefined
enq undefined
startingIndex = 0
batchSize = 1000000
The revision being read has been discarded - you should call Xapian::Database::reopen() and retry the operation
args = ()
get_context = <bound method DatabaseModifiedError.Error_get_co...Xapian::DatabaseModifiedError *' at 0x8cdc780> >>
get_errno = <bound method DatabaseModifiedError.Error_get_er...Xapian::DatabaseModifiedError *' at 0x8cdc780> >>
get_error_string = <bound method DatabaseModifiedError.Error_get_er...Xapian::DatabaseModifiedError *' at 0x8cdc780> >>
get_msg = <bound method DatabaseModifiedError.Error_get_ms...Xapian::DatabaseModifiedError *' at 0x8cdc780> >>
get_type = <bound method DatabaseModifiedError.Error_get_ty...Xapian::DatabaseModifiedError *' at 0x8cdc780> >>
message = ''
this = <Swig Object of type 'Xapian::DatabaseModifiedError *' at 0x8cdc780>
Date: Mon, 16 Feb 2009 21:45:23 +0000
Platform: Linux web11.webfaction.com 2.6.9-55.0.2.ELsmp #1 SMP Tue Jun 12 17:59:08 EDT 2007 i686
Python: Python 2.5 (/home/lotek/bin/python)
MoinMoin: Release 1.8.1 (release)