Description

The process of creating new index for a wiki dies.

Describe the bug...

Steps to reproduce

  1. MoinMoin 1.8 installed without Xapian activated

  2. MoinMoin 1.9 installed with fresh site-packages\moinmoin directory

  3. Activate Xapain in wikiconfig.py with apache shutdown
  4. Execute script moin.bat to create index: index build --mode=buildnewindex or --mode=add
  5. Error: Line 121 in SubProcess.py . Popen object doesn't have stdout_thread

Example

Component selection

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


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/SubProcessAttributeErrorOnWin32 (last edited 2010-01-08 17:29:51 by ThomasWaldmann)