Description

Every few seconds there are three lines written in our web error log:

Error in sys.excepthook:

Original exception was:
close failed in file object destructor:

The problem may be rather the Apache WSGI module MoinMoin is using (exclusively). The fact that Apache begins polluting the log just when started seems to support this hypothesis. Nevertheless, our Wiki configuration might interfere somewhere.

Steps to reproduce

  1. stop apache, make sure nothing is written to error_log from then on
  2. restart it
  3. and tail -f error_log => above error

Component selection

Details

MoinMoin Version

1.9.3

OS and Version

Ubuntu Linux 10.04.2

Python Version

2.6.5

Server Setup

standalone, 2 wikis with different configs

Server Details

Apache/2.2.17 (Unix), mod_wsgi 3.3

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

Workaround

Discussion

Sorry, but I can't reproduce the bug as described under "Steps to reproduce". I have tried on a Debian 6.0 System which also uses apache2 (2.2.16), mod_wsgi (3.3), Python (2.6.6). Need more information. Is there maybe something more in some other log file (depends on how you configured logging for moin) - like a traceback? -- ThomasWaldmann 2011-04-15 14:41:22

Do you use mod_python also?

Seems no I don't. Do you recommend me to load mod_python additionally? In the meantime I'll try to get more logging info -- fifteen 2011-04-28 08:41:00

No, don't use mod_python.

Plan


CategoryMoinMoinBug

MoinMoin: MoinMoinBugs/CloseFailedInFileObjectDestructor (last edited 2011-04-28 12:30:45 by s72-38-75-35)