[moin-user] FeatureUnavailableError: Flint backend no longer supported

Bill Trost trost at cloud.rain.com
Wed Oct 12 13:40:27 EDT 2016


On 10/09/2016 08:36 PM, Thomas Waldmann wrote:
> On 10/09/2016 09:39 PM, Bill Trost wrote:
>> I am running 814e2e2fc11f and now am constantly getting an internal
>> error updating pages. The output gives me a stack trace ending with the
>> message, "FeatureUnavailableError: Flint backend no longer supported".
>> Can I change backends, or is something more fundamentally wrong here
>> that I need to address?
> This does not sound like an error message from moin.
>
> Which moin is that? 1.9 or 2.0 repo?
>
> Sounds a bit like from some search lib, xapian (moin 1.9) or whoosh
> (moin 2.0).

Well, that was a pretty weak problem report, wasn't it?

It's moin-1.9 running on top of aptosid (aka Debian unstable), and I'm 
pretty sure I saw a xapian update go by recently. It sounds to me like 
xapian stopped supporting a file format recently, which is triggering 
the error.

It seems like a simple solution might be to get rid of the search 
database and regenerate it; hopefully, xapian will choose a file format 
it actually supports. Is there a way to do that?

> If that does not solve it, we need the full traceback.

See below.

Bill


2016-10-09 23:24:59,443 ERROR MoinMoin.wsgiapp:281 An exception has 
occurred [http://elided:8080/BillTrost/Links].
Traceback (most recent call last):
   File "/home/trost/moin/MoinMoin/wsgiapp.py", line 264, in __call__
     response = run(context)
   File "/home/trost/moin/MoinMoin/wsgiapp.py", line 89, in run
     response = dispatch(request, context, action_name)
   File "/home/trost/moin/MoinMoin/wsgiapp.py", line 137, in dispatch
     response = handle_action(context, pagename, action_name)
   File "/home/trost/moin/MoinMoin/wsgiapp.py", line 203, in handle_action
     handler(context.page.page_name, context)
   File "/home/trost/moin/MoinMoin/action/edit.py", line 168, in execute
     savemsg = pg.saveText(savetext, rev, trivial=trivial, comment=comment)
   File "/home/trost/moin/MoinMoin/PageEditor.py", line 1166, in saveText
     results = events.send_event(e)
   File "/home/trost/moin/MoinMoin/events/__init__.py", line 259, in 
send_event
     retval = handle(event)
   File "/home/trost/moin/MoinMoin/events/xapian_index.py", line 77, in 
handle
     handle_changed(event)
   File "/home/trost/moin/MoinMoin/events/xapian_index.py", line 51, in 
handle_changed
     index.update_item(event.page.page_name)
   File "/home/trost/moin/MoinMoin/search/builtin.py", line 180, in 
update_item
     self.do_queued_updates()
   File "/home/trost/moin/MoinMoin/search/Xapian/indexing.py", line 196, 
in do_queued_updates
     connection = self.get_indexer_connection()
   File "/home/trost/moin/MoinMoin/search/Xapian/indexing.py", line 150, 
in get_indexer_connection
     return MoinIndexerConnection(self.db)
   File "/home/trost/moin/MoinMoin/search/Xapian/indexing.py", line 75, 
in __init__
     super(MoinIndexerConnection, self).__init__(*args, **kwargs)
   File "/home/trost/moin/MoinMoin/support/xappy/indexerconnection.py", 
line 49, in __init__
     self._index = log(xapian.WritableDatabase, indexpath, 
xapian.DB_CREATE_OR_OPEN)
   File "/home/trost/moin/MoinMoin/support/xappy/replaylog.py", line 
413, in log
     return call(*args)
   File "/usr/lib/python2.7/dist-packages/xapian/__init__.py", line 
8619, in __init__
     _xapian.WritableDatabase_swiginit(self, 
_xapian.new_WritableDatabase(*args))
FeatureUnavailableError: Flint backend no longer supported

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/moin-user/attachments/20161012/c4d6172a/attachment.html>


More information about the moin-user mailing list