Description
Trying to see revision history causes traceback in a fresh wiki instance.
Example
{{{Traceback (most recent call last):
File "../..\MoinMoin\request.py", line 391, in run
- wikiutil.getSysPage(self, config.page_front_page).page_name, self)
File "../..\MoinMoin\wikiaction.py", line 547, in do_info
- history(page, pagename, request)
File "../..\MoinMoin\wikiaction.py", line 404, in history
- log.to_end()
File "../..\MoinMoin\logfile\logfile.py", line 268, in to_end
- self._input.seek(0, 2) # to end of file
File "../..\MoinMoin\logfile\logfile.py", line 115, in getattr
raise StopIteration
Details
- 1.2.3 release
- 1.3 development
Discussion
The problem is caused by missing editlog file in a fresh instance. As soon as you edit some page an editlog file is created and the problem disappear.
An empty editlog should be created when the file is missing.
Plan
- Priority: Low - most users will never see this bug
- Assigned to:
- Status: hopefully fixed in moin--main--1.3--patch-96, please test!