Bugs item #3611511, was opened at 2013-04-21 13:44
Message generated for change (Tracker Item Submitted) made by masti01
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=361151…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: masti (masti01)
Assigned to: Nobody/Anonymous (nobody)
Summary: API logger error
Initial Comment:
the following error appears for vaious scripts
python replace.py "Trevill"
"Trévill" "Tremouill" "Trémouill" -links:"Indeks:Trzej
muszkieterowie"
Traceback (most recent call last):
File "/usr/home/masti/pw/pysource/pagegenerators.py", line 1228, in __iter__
for loaded_page in self.preload(somePages):
File "/usr/home/masti/pw/pysource/pagegenerators.py", line 1253, in preload
pywikibot.getall(site, pagesThisSite)
File "/usr/home/masti/pw/pysource/wikipedia.py", line 5445, in getall
(u'', u'via API ')[site.has_api() and logger.isEnabledFor(DEBUG)],
AttributeError: 'NoneType' object has no attribute 'isEnabledFor'
No handlers could be found for logger "pywiki"
'NoneType' object has no attribute 'isEnabledFor'
0 pages were changed.
Pywikipedia (r11427 (wikipedia.py), 2013/04/21,
20:16:57, ok)
Python 2.7.3 (default, Sep 17 2012, 21:25:11)
[GCC 4.3.4]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=361151…