Bugs item #3605891, was opened at 2013-02-24 22:35
Message generated for change (Comment added) made by legoktm
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3605891&group_id=93107

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: login
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Legoktm (legoktm)
Summary: Login-data raising EOFError

Initial Comment:
The script is being run from a cronjob with saved login data. When 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>
    main()
  File "globalfunc1.py", line 244, in main
    bot.run()
  File "globalfunc1.py", line 197, in run
    sandboxPage.put(translatedContent, translatedMsg)
  File "/home/riley/pywikipedia/wikipedia.py", line 1990, in put
    sysop=sysop)
  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
EOFError
Python people told me "your problem is in the pywikipedia code"

----------------------------------------------------------------------

>Comment By: Legoktm (legoktm)
Date: 2013-03-09 00:19

Message:
Riley set a password_file after discussing it on IRC.

----------------------------------------------------------------------

Comment By: Riley ()
Date: 2013-02-24 22:39

Message:
Another note; I am receiving this error as an email from cron.

----------------------------------------------------------------------

Comment By: Riley ()
Date: 2013-02-24 22:36

Message:
Forgot to login; I posted this.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3605891&group_id=93107

_______________________________________________
Pywikipedia-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-bugs

Reply via email to