Description

Under Windows with MoinMoin v1.3.5. The standalone server will not start. Fails with error {{{File "C:\Moin\Lib\site-packages\MoinMoin\server\standalone.py", line 485, in run

AttributeError: 'module' object has no attribute 'getuid' }}}

This also happened in V1.3.4, if I remember correctly, but I forgot to file a bug.

Details

MoinMoin Version

1.3.5

OS and Version

Win XP

Python Version

V2.3.2

Server Setup

Standalone

Server Details

Workaround

Replace:

    if os.getuid() == 0 and os.name == 'posix':

With:

    if os.name == 'posix' and os.getuid() == 0:

Discussion

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/GetuidErrorOnStartup (last edited 2007-10-29 19:07:10 by localhost)