Description
The process of creating new index for a wiki dies.
Describe the bug...
Steps to reproduce
MoinMoin 1.8 installed without Xapian activated
MoinMoin 1.9 installed with fresh site-packages\moinmoin directory
- Activate Xapain in wikiconfig.py with apache shutdown
- Execute script moin.bat to create index: index build --mode=buildnewindex or --mode=add
Error: Line 121 in SubProcess.py . Popen object doesn't have stdout_thread
Example
Component selection
- Source code problem. See above, please.
Details
MoinMoin Version |
1.8.6, 1.9.0 |
OS and Version |
Windows XP SP3 |
Python Version |
2.6.3 |
Server Setup |
Apache 2.2 |
Server Details |
Python with WSGI |
Language you are using the wiki in (set in the browser/UserPreferences) |
es |
Workaround
Lines 121 and 122 are:
timed_out = (self.stdout and self.stdout_thread.isAlive() or self.stderr and self.stderr_thread.isAlive())
But stdout_thread and stderr_thread are never assigned to "self", so, my solution was to change both lines to:
timed_out = (self.stdout and stdout_thread.isAlive() or self.stderr and stderr_thread.isAlive())
Discussion
Plan
- Priority:
- Assigned to:
- Status: fixed by: