Automatik created this task. Automatik added a subscriber: Automatik. Automatik added a project: pywikibot-core. Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION I often have scripts (launched with cron via tool labs) that ask me for password, whereas I've logged in my bot once and for all, normally. Often, the bot works whitout asking for any password, sometimes he asks one. How can the bot disconnect ? What I can do to avoid that?
Here an example of error log:
``` Password for user Botomatik on wiktionary:fr No characters will be shown: /usr/lib/python2.7/getpass.py:83: GetPassWarning: Can not control e cho on the terminal. passwd = fallback_getpass(prompt, stream) Warning: Password input may be echoed. Traceback (most recent call last): File "pywikibot/pywikibot-compat/langues-json.py", line 270, in <module> maj_liste() File "pywikibot/pywikibot-compat/langues-json.py", line 222, in maj_liste sauvegarde(Page_sortie, contenu, summary=u'Mise à jour automatique de la liste') File "pywikibot/pywikibot-compat/langues-json.py", line 246, in sauvegarde PageCourante.put(Contenu, summary, minorEdit=False) File "/data/project/botomatik/pywikibot/pywikibot-compat/wikipedia.py", line 2154, in put sysop=sysop) File "/data/project/botomatik/pywikibot/pywikibot-compat/wikipedia.py", line 2018, in _getActionUser self.site().forceLogin(sysop=sysop) File "/data/project/botomatik/pywikibot/pywikibot-compat/wikipedia.py", line 6722, in forceLogin if loginMan.login(retry=True): File "/data/project/botomatik/pywikibot/pywikibot-compat/login.py", line 337, in login password=True) File "/data/project/botomatik/pywikibot/pywikibot-compat/wikipedia.py", line 10307, in input data = ui.input(question, password) File "/data/project/botomatik/pywikibot/pywikibot-compat/userinterfaces/terminal_interface_base.py", line 140, in input text = getpass.getpass('') File "/usr/lib/python2.7/getpass.py", line 83, in unix_getpass passwd = fallback_getpass(prompt, stream) File "/usr/lib/python2.7/getpass.py", line 118, in fallback_getpass return _raw_input(prompt, stream) File "/usr/lib/python2.7/getpass.py", line 135, in _raw_input raise EOFError EOFError ``` Thank you by advance
TASK DETAIL https://phabricator.wikimedia.org/T100980
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Automatik Cc: pywikipedia-bugs, Aklapper, Automatik, jayvdb