[New-bugs-announce] [issue17291] Login-data raising EOFError

Riley report at bugs.python.org
Sun Feb 24 22:37:00 CET 2013

New submission from Riley:

When running Pywikipediabot and retrieving a password I get the following error:
Password for user RileyBot on wiktionary:en: 
/usr/lib/python2.7/getpass.py:83: GetPassWarning: Can not control echo on the terminal.
  passwd = fallback_getpass(prompt, stream)
Warning: Password input may be echoed.
Traceback (most recent call last):
  File "globalfunc1.py", line 250, in <module>
  File "globalfunc1.py", line 244, in main
  File "globalfunc1.py", line 197, in run
    sandboxPage.put(translatedContent, translatedMsg)
  File "/home/riley/pywikipedia/wikipedia.py", line 1990, in put
  File "/home/riley/pywikipedia/wikipedia.py", line 1863, in _getActionUser
    self.site().forceLogin(sysop = sysop)
  File "/home/riley/pywikipedia/wikipedia.py", line 5861, in forceLogin
    if loginMan.login(retry = True):
  File "/home/riley/pywikipedia/login.py", line 307, in login
    password = True)
  File "/home/riley/pywikipedia/wikipedia.py", line 8927, in input
    data = ui.input(question, password)
  File "/home/riley/pywikipedia/userinterfaces/terminal_interface_base.py", line 129, 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

While this may have something to do with Pywikipediabot, it all comes down to python. Help?

components: None
messages: 182896
nosy: Riley
priority: normal
severity: normal
status: open
title: Login-data raising EOFError
type: behavior
versions: Python 2.7

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list