Page MenuHomePhabricator

No handlers could be found for logger "pywiki"
Closed, ResolvedPublic

Description

Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1633/
Reported by: Anonymous user
Created on: 2013-05-16 14:56:14
Subject: No handlers could be found for logger "pywiki"
Original description:
Some time ago, I started getting the warning:

No handlers could be found for logger "pywiki"

This is generated in small code fragments I create. I \(still\) haven't seen it in thte standard bot operations.
It's possible I must do something to avoid it but I would like to know what. I think it started happening about the time the log became a rotating file log.

Pywikipedia trunk/pywikipedia/ \(r11488, 2013/05/03, 08:14:51, OUTDATED\)
Python 2.7.2 \(default, Jun 12 2011, 14:24:46\) \[MSC v.1500 64 bit \(AMD64\)\]
config-settings:
use\_api = True
use\_api\_login = True
unicode test: ok


Version: compat-(1.0)
Severity: normal
See Also:
https://sourceforge.net/p/pywikipediabot/bugs/1633

Details

Reference
bz55139

Event Timeline

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

Try calling:

wikipedia.setLogfileStatus(True)

near the beginning of your code.

It existed but that part has been removed for a while