Created
December 19, 2012 14:20
-
-
Save sunu/4336978 to your computer and use it in GitHub Desktop.
MoinMoin: mm crashes on GAE due to introduction of tempfiles in writing.py in whoosh https://bitbucket.org/mchaput/whoosh/commits/c9d30b92bd49843778b1c50cb91b2f912359e31c#chg-src/whoosh/writing.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "/home/sunu/moin/support/flask/app.py", line 1687, in wsgi_app | |
response = self.full_dispatch_request() | |
File "/home/sunu/moin/support/flask/app.py", line 1360, in full_dispatch_request | |
rv = self.handle_user_exception(e) | |
File "/home/sunu/moin/support/flask/app.py", line 1358, in full_dispatch_request | |
rv = self.dispatch_request() | |
File "/home/sunu/moin/support/flask/app.py", line 1344, in dispatch_request | |
return self.view_functions[rule.endpoint](**req.view_args) | |
File "/home/sunu/moin/MoinMoin/apps/frontend/views.py", line 463, in modify_item | |
return item.do_modify() | |
File "/home/sunu/moin/MoinMoin/items/__init__.py", line 659, in do_modify | |
self.modify(meta, data, comment, contenttype_guessed, contenttype_qs) | |
File "/home/sunu/moin/MoinMoin/items/__init__.py", line 356, in modify | |
return self._save(meta, data, contenttype_guessed=contenttype_guessed, comment=comment) | |
File "/home/sunu/moin/MoinMoin/items/__init__.py", line 439, in _save | |
contenttype_guessed=contenttype_guessed, | |
File "/home/sunu/moin/MoinMoin/storage/middleware/protecting.py", line 242, in store_revision | |
rev = self.item.store_revision(meta, data, overwrite=overwrite, **kw) | |
File "/home/sunu/moin/MoinMoin/storage/middleware/indexing.py", line 941, in store_revision | |
self.indexer.index_revision(meta, content) | |
File "/home/sunu/moin/MoinMoin/storage/middleware/indexing.py", line 418, in index_revision | |
writer = AsyncWriter(self.ix[ALL_REVS]) | |
File "/home/sunu/moin/support/whoosh/writing.py", line 963, in __init__ | |
self.writer = self.index.writer(**self.writerargs) | |
File "/home/sunu/moin/support/whoosh/index.py", line 466, in writer | |
return SegmentWriter(self, **kwargs) | |
File "/home/sunu/moin/support/whoosh/writing.py", line 511, in __init__ | |
self._tempstorage = self.storage.temp_storage("%s.tmp" % self.indexname) | |
File "/home/sunu/moin/support/whoosh/filedb/filestore.py", line 306, in temp_storage | |
raise NotImplementedError | |
NotImplementedError |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment