[Pywikipedia-bugs] [Maniphest] [Commented On] T113822: No handlers could be found for logger "pywiki"
Dalba added a comment. Is this still happening? I tried removing mylang = '' assignment from user-config.py and also made a deliberate syntax error, but could not reproduce the issue. Does it happen only for specific scripts?TASK DETAILhttps://phabricator.wikimedia.org/T113822EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Dalba, Xqt, StudiesWorld, Tgr, jayvdb, Aklapper, Wesalius, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, Masti, Alchimista, Rxy___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T113822: No handlers could be found for logger "pywiki"
Xqt added a comment. Is this a 2.0 branch issue?TASK DETAILhttps://phabricator.wikimedia.org/T113822EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: Dalba, Xqt, StudiesWorld, Tgr, jayvdb, Aklapper, Wesalius, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, Masti, Alchimista, Rxy___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T113822: No handlers could be found for logger "pywiki"
jayvdb added a subscriber: jayvdb. jayvdb added a comment. I believe this is caused by recent changes to the process of logging & initialisation. We still need to do a bit of related cleanup, including preventing this message from being displayed. Just checking: Your bot doesnt break as a consequence of this message? TASK DETAIL https://phabricator.wikimedia.org/T113822 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: jayvdb, Aklapper, Wesalius, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T113822: No handlers could be found for logger "pywiki"
Wesalius added a comment. No it doesnt break ;-) TASK DETAIL https://phabricator.wikimedia.org/T113822 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Wesalius Cc: jayvdb, Aklapper, Wesalius, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T113822: No handlers could be found for logger "pywiki"
Xqt added a comment. Either the user-config.py is missing or there is no mylang = '' assignment or the language code is invalid. TASK DETAIL https://phabricator.wikimedia.org/T113822 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, StudiesWorld, Tgr, jayvdb, Aklapper, Wesalius, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Commented On] T113822: No handlers could be found for logger "pywiki"
jayvdb added a comment. In https://phabricator.wikimedia.org/T113822#2100208, @Xqt wrote: > Either the user-config.py is missing or there is no mylang = '' assignment or the language code is invalid. There are some scenarios where that can be the cause, however this bug is about the problem explained by @Tgr above, and it is not easy to fix as it requires re-arranging the init process so the logger "pywiki" exists much earlier, or (more likely) adding a simple capturing logging handler on "pywiki" that can be played back when the real "pywiki" logger handler has been set up after the user config has been loaded. TASK DETAIL https://phabricator.wikimedia.org/T113822 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: Xqt, StudiesWorld, Tgr, jayvdb, Aklapper, Wesalius, pywikibot-bugs-list ___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs