GAE : logging.shutdown() causes ValueError

21 views
Skip to first unread message

Yuki Awano

unread,
Feb 23, 2012, 8:56:20 PM2/23/12
to mobw...@googlegroups.com
When I run mobwrite app engine on dev_appserver.py of Google App Engine SDK 1.6.2 for Python, it crushes with ValueError.

SDK_PATH/google/appengine/api/logservice/logservice.py", line 150, in _contents
    return self.stream().getvalue()
ValueError: I/O operation on closed file on

It seems that logging.shutdown() closes the stream before all logs are printed.
When I comment out the last line from mobwrite_appengine.py, it goes well.

# mobwrite_core.logging.shutdown()

I think the line should be removed.
If possible, I want to commit this change to the repository.

Regards.
Reply all
Reply to author
Forward
0 new messages