Description

When I press <Ctrl-C> to close MoinMoin Desktop Edition, it generates a traceback, complaining of select.error: (4, 'Interrupted system call').

Steps to reproduce

  1. Start with a Mac running OS X 10.4.11.
  2. Install Python 2.6.1 from www.python.org.

  3. Install MoinMoin 1.8.2.

  4. Launch MoinMoin from Terminal.app command line

  5. Press <Ctrl-c> to close MoinMoin.

Example

Component selection

Details

MoinMoin Version

1.8.2

OS and Version

OS X 10.4.11 Intel

Python Version

2.6.1 from www.python.org

Server Setup

none

Server Details

none

Language you are using the wiki in (set in the browser/UserPreferences)

<Browser setting>. If it matters, I am using Safari 3.2.1, with Safari's default encoding set to Western (ISO Latin 1).

Transcripts from Terminal.app follow.

The first one shows the build of Python used.

The second one shows exactly what happens when launching MoinMoin from Terminal.app using the above-mentioned build of Python.

Workaround

Discussion

Python issue 7978 ("SocketServer doesn't handle syscall interruption") may be the cause of this. A thread on Python-dev discusses it.

From Python issue 7978:

def untilConcludes(f, *a, **kw):
    while True:
        try:
            return f(*a, **kw)
        except (IOError, OSError), e:
            if e.args[0] == errno.EINTR:
                continue
            raise

The bug may also happen in 1.8.7 I am not sure about this. But please for many reasons (SecurityFixes) please do this update to 1.8.7. ReimarBauer/Photo/img.png -- ReimarBauer 2010-04-08 20:02:15

Plan


CategoryMoinMoinBug

MoinMoin: MoinMoinBugs/1.8.2DesktopEditionUnderOSX10.4IssuesTracebackOnExit (last edited 2010-04-08 20:02:15 by ReimarBauer)