Description
deleting an attachment with xapian enabled gives a Internal Server Error and a traceback.
Traceback (most recent call last): File "/home/user/workspace/moin-1.9/MoinMoin/wsgiapp.py", line 250, in __call__ response = run(context) File "/home/user/workspace/moin-1.9/MoinMoin/wsgiapp.py", line 70, in run response = dispatch(request, context, action_name) File "/home/user/workspace/moin-1.9/MoinMoin/wsgiapp.py", line 118, in dispatch response = handle_action(context, pagename, action_name) File "/home/user/workspace/moin-1.9/MoinMoin/wsgiapp.py", line 177, in handle_action handler(context.page.page_name, context) File "/home/user/workspace/moin-1.9/MoinMoin/action/AttachFile.py", line 506, in execute msg = handler(pagename, request) File "/home/user/workspace/moin-1.9/MoinMoin/action/AttachFile.py", line 692, in _do_del from MoinMoin.search.Xapian import Index ImportError: cannot import name Index 2009-08-30 08:31:39,859 INFO MoinMoin.web.serving:41 127.0.0.1 "GET /Example?action=AttachFile&do=del&target=example.svg HTTP/1.1" 500 - 2009-08-30 08:31:39,997 ERROR werkzeug:106 Error on request: Traceback (most recent call last): File "/home/user/workspace/moin-1.9/MoinMoin/support/werkzeug/serving.py", line 151, in run_wsgi execute(app) File "/home/user/workspace/moin-1.9/MoinMoin/support/werkzeug/serving.py", line 138, in execute application_iter = app(environ, start_response) File "/home/user/workspace/moin-1.9/MoinMoin/support/werkzeug/utils.py", line 248, in __call__ return self.app(environ, start_response) File "/home/user/workspace/moin-1.9/MoinMoin/wsgiapp.py", line 250, in __call__ response = run(context) File "/home/user/workspace/moin-1.9/MoinMoin/wsgiapp.py", line 70, in run response = dispatch(request, context, action_name) File "/home/user/workspace/moin-1.9/MoinMoin/wsgiapp.py", line 118, in dispatch response = handle_action(context, pagename, action_name) File "/home/user/workspace/moin-1.9/MoinMoin/wsgiapp.py", line 177, in handle_action handler(context.page.page_name, context) File "/home/user/workspace/moin-1.9/MoinMoin/action/AttachFile.py", line 506, in execute msg = handler(pagename, request) File "/home/user/workspace/moin-1.9/MoinMoin/action/AttachFile.py", line 692, in _do_del from MoinMoin.search.Xapian import Index ImportError: cannot import name Index
Component selection
- Attachfile (wrong import)
Details
MoinMoin Version |
1.9 5056:c0b78af148e7 |
OS and Version |
|
Python Version |
|
Server Setup |
|
Server Details |
|
Language you are using the wiki in (set in the browser/UserPreferences) |
|
Workaround
Discussion
Plan
- Priority:
- Assigned to:
Status: fixed by http://hg.moinmo.in/moin/1.9/rev/e30bd336a8f3