Try calling:

    wikipedia.setLogfileStatus(True)

near the beginning of your code.


[bugs:#1633] No handlers could be found for logger "pywiki"

Status: open
Labels: General
Created: Thu May 16, 2013 02:56 PM UTC by Anonymous
Last Updated: Thu May 16, 2013 02:56 PM UTC
Owner: nobody

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


Sent from sourceforge.net because Pywikipedia-bugs@lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.