The following is a plain list of all help pages. See HelpContents for a guided tour.
--> -->AttributeError
'module' object has no attribute 'xapian_version_string'
If you want to report a bug, please save this page and attach it to your bug report.
Traceback
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/usr/lib/python2.5/site-packages/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.FCGI.Request object at 0xed31a10>)
- 1155 self.page.send_page(msg=msg)
- 1156 else:
- 1157 handler(self.page.page_name, self)
- 1158
- 1159 # every action that didn't use to raise MoinMoinNoFooter must call this now:
- handler = <function do_show at 0xe5a5668>
- self = <MoinMoin.request.FCGI.Request object at 0xed31a10>
- self.page = <MoinMoin.Page.Page object at 0xed31b10>
- self.page.page_name = u'HelpIndex'
/usr/lib/python2.5/site-packages/MoinMoin/action/__init__.py in do_show (pagename=u'HelpIndex', request=<MoinMoin.request.FCGI.Request object at 0xed31a10>, content_only=0, count_hit=1, cacheable=1, print_mode=0)
- 235 count_hit=count_hit,
- 236 print_mode=print_mode,
- 237 content_only=content_only,
- 238 )
- 239
- content_only = 0
/usr/lib/python2.5/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object at 0xed31b90>, msg='', **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 0})
- 1133 format_args=pi['formatargs'],
- 1134 do_cache=do_cache,
- 1135 start_line=pi['lines'])
- 1136
- 1137 # check for pending footnotes
- start_line undefined
- pi = {'acl': <MoinMoin.security.AccessControlList instance at 0xef60b00>, 'format': u'wiki', 'formatargs': u'', 'language': u'en', 'lines': 7}
/usr/lib/python2.5/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page object at 0xed31b90>, request=<MoinMoin.request.FCGI.Request object at 0xed31a10>, body=u"The following is a plain list of all help pages....r a ''guided tour''.\n[[PageList(regex:^Help.*)]]\n", format=u'wiki', format_args=u'', do_cache=1, **kw={'start_line': 7})
- 1221 try:
- 1222 code = self.loadCache(request)
- 1223 self.execute(request, parser, code)
- 1224 except Exception, e:
- 1225 if not is_cache_exception(e):
- self = <MoinMoin.Page.Page object at 0xed31b90>
- self.execute = <bound method Page.execute of <MoinMoin.Page.Page object at 0xed31b90>>
- request = <MoinMoin.request.FCGI.Request object at 0xed31a10>
- parser = <MoinMoin.parser.text_moin_wiki.Parser instance at 0xef65f80>
- code = <code object <module> at 0xeb9b288, file "HelpIndex", line 2>
/usr/lib/python2.5/site-packages/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page object at 0xed31b90>, request=<MoinMoin.request.FCGI.Request object at 0xed31a10>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance at 0xef65f80>, code=<code object <module> at 0xeb9b288, file "HelpIndex", line 2>)
- 1253
- 1254 try:
- 1255 exec code
- 1256 except "CacheNeedsUpdate": # convert the exception
- 1257 raise Exception("CacheNeedsUpdate")
- code = <code object <module> at 0xeb9b288, file "HelpIndex", line 2>
/usr/share/moin/server/HelpIndex in
() /usr/lib/python2.5/site-packages/MoinMoin/formatter/__init__.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance at 0xef60b90>, macro_obj=<MoinMoin.macro.Macro instance at 0xef65368>, name=u'PageList', args=u'regex:^Help.*')
- 294 def macro(self, macro_obj, name, args):
- 295 # call the macro
- 296 return macro_obj.execute(name, args)
- 297
- 298 def _get_bang_args(self, line):
- macro_obj = <MoinMoin.macro.Macro instance at 0xef65368>
- macro_obj.execute = <bound method Macro.execute of <MoinMoin.macro.Macro instance at 0xef65368>>
- name = u'PageList'
- args = u'regex:^Help.*'
/usr/lib/python2.5/site-packages/MoinMoin/macro/__init__.py in execute (self=<MoinMoin.macro.Macro instance at 0xef65368>, macro_name=u'PageList', args=u'regex:^Help.*')
- 114 else:
- 115 raise ImportError("Cannot load macro %s" % macro_name)
- 116 return execute(self, args)
- 117
- 118 def _m_lang(self, text):
- execute = <unbound method Macro._macro_PageList>
- self = <MoinMoin.macro.Macro instance at 0xef65368>
- args = u'regex:^Help.*'
/usr/lib/python2.5/site-packages/MoinMoin/macro/__init__.py in _macro_PageList (self=<MoinMoin.macro.Macro instance at 0xef65368>, needle=u'regex:^Help.*')
- 273 # Return a title search for needle, sorted by name.
- 274 results = search.searchPages(self.request, needle,
- 275 titlesearch=1, case=case, sort='page_name')
- 276 return results.pageList(self.request, self.formatter, paging=False)
- 277
- titlesearch undefined
- case = 0
- sort undefined
/usr/lib/python2.5/site-packages/MoinMoin/search/__init__.py in searchPages (request=<MoinMoin.request.FCGI.Request object at 0xed31a10>, query=<MoinMoin.search.queryparser.TitleSearch instance at 0xef65830>, sort='page_name', mtime=None, historysearch=None, **kw={'case': 0, 'titlesearch': 1})
- 30 if isinstance(query, str) or isinstance(query, unicode):
- 31 query = QueryParser(**kw).parse_query(query)
- 32 return Search(request, query, sort, mtime=mtime,
- 33 historysearch=historysearch).run()
- 34
- historysearch = None
- ).run undefined
/usr/lib/python2.5/site-packages/MoinMoin/search/builtin.py in run (self=<MoinMoin.search.builtin.Search instance at 0xef65e18>)
- 451 start = time.time()
- 452 if self.request.cfg.xapian_search:
- 453 hits = self._xapianSearch()
- 454 else:
- 455 hits = self._moinSearch()
- hits undefined
- self = <MoinMoin.search.builtin.Search instance at 0xef65e18>
- self._xapianSearch = <bound method Search._xapianSearch of <MoinMoin.search.builtin.Search instance at 0xef65e18>>
/usr/lib/python2.5/site-packages/MoinMoin/search/builtin.py in _xapianSearch (self=<MoinMoin.search.builtin.Search instance at 0xef65e18>)
- 504 clock = self.request.clock
- 505 pages = None
- 506 index = self._xapianIndex(self.request)
- 507
- 508 if index and self.query.xapian_wanted():
- index undefined
- self = <MoinMoin.search.builtin.Search instance at 0xef65e18>
- self._xapianIndex = <function _xapianIndex at 0xe70ec80>
- self.request = <MoinMoin.request.FCGI.Request object at 0xed31a10>
/usr/lib/python2.5/site-packages/MoinMoin/search/builtin.py in _xapianIndex (request=<MoinMoin.request.FCGI.Request object at 0xed31a10>)
- 487 try:
- 488 from MoinMoin.search.Xapian import Index
- 489 index = Index(request)
- 490 except ImportError:
- 491 return None
- index undefined
- Index = <class MoinMoin.search.Xapian.Index at 0xe83e290>
- request = <MoinMoin.request.FCGI.Request object at 0xed31a10>
/usr/lib/python2.5/site-packages/MoinMoin/search/Xapian.py in __init__ (self=<MoinMoin.search.Xapian.Index instance at 0xef65b00>, request=<MoinMoin.request.FCGI.Request object at 0xed31a10>)
- 210
- 211 def __init__(self, request):
- 212 self._check_version()
- 213 BaseIndex.__init__(self, request)
- 214
- self = <MoinMoin.search.Xapian.Index instance at 0xef65b00>
- self._check_version = <bound method Index._check_version of <MoinMoin.search.Xapian.Index instance at 0xef65b00>>
/usr/lib/python2.5/site-packages/MoinMoin/search/Xapian.py in _check_version (self=<MoinMoin.search.Xapian.Index instance at 0xef65b00>)
- 221 # every version greater than or equal to 0.9.6 is allowed for now
- 222 # Note: fails if crossing the 10.x barrier
- 223 if xapian.xapian_version_string() >= '0.9.6':
- 224 return
- 225
- global xapian = <module 'xapian' from '/usr/lib/python2.5/site-packages/xapian/__init__.pyc'>
- xapian.xapian_version_string undefined
AttributeError
'module' object has no attribute 'xapian_version_string'
- args = ("'module' object has no attribute 'xapian_version_string'",)
- message = "'module' object has no attribute 'xapian_version_string'"
System Details
- Date: Thu, 17 May 2012 09:19:31 +0000
- Platform: Linux VO11864 2.6.18-194.32.1.el5xen #1 SMP Wed Jan 5 18:44:24 EST 2011 x86_64
- Python: Python 2.5.5 (/usr/bin/python2.5)
- MoinMoin: Release 1.6.0alpha (release)