Page MenuHomePhabricator

AttributeError: 'module' object has no attribute 'NullHandler'
Closed, ResolvedPublic

Description

Author: dr.trigon

Description:
According to [1] the 'NullHandler' was introduced in python 2.7 only - but in order to run the bot on the toolserver we need python 2.6 compatibility.

[1] http://docs.python.org/2/library/logging.handlers.html#nullhandler

In order to reproduce this error run, e.g.:

$ python pwb.py -subster_irc


Version: compat-(1.0)
Severity: major

Details

Reference
bz55663

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:30 AM
bzimport set Reference to bz55663.
bzimport added a subscriber: Unknown Object (????).

Change 89523 had a related patch set uploaded by Mpaa:
Bug 55663 - AttributeError: 'module' object has no attribute 'NullHandler'

https://gerrit.wikimedia.org/r/89523

Change 89523 merged by Xqt:
Bug 55663 - AttributeError: 'module' object has no attribute 'NullHandler'

https://gerrit.wikimedia.org/r/89523