Last modified: 2014-07-24 18:21:49 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57139, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55139 - No handlers could be found for logger "pywiki"
No handlers could be found for logger "pywiki"
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
compat-(1.0)
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 04:30 UTC by Kunal Mehta (Legoktm)
Modified: 2014-07-24 18:21 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 04:30:57 UTC
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
Comment 1 Kunal Mehta (Legoktm) 2013-10-05 04:31:00 UTC
I've been getting this too.
Comment 2 Kunal Mehta (Legoktm) 2013-10-05 04:31:02 UTC
Try calling:

        wikipedia.setLogfileStatus(True)

near the beginning of your code.
Comment 3 Amir Ladsgroup 2014-07-24 09:10:23 UTC
It existed but that part has been removed for a while

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links