Bugs item #1900272, was opened at 2008-02-23 13:34 Message generated for change (Comment added) made by cosoleto You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1900272...
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: Alex S.H. Lin (lin4h) Assigned to: Nobody/Anonymous (nobody) Summary: Login Captcha in FreeBSD (login.py)
Initial Comment: When I login cawiki's account in remote server (FreeBSD), it cannot return the captcha url and stop by these error:
Opening CAPTCHA in your web browser... Traceback (most recent call last): File "login.py", line 277, in ? main() File "login.py", line 273, in main loginMan.login() File "login.py", line 219, in login cookiedata = self.getCookie() File "login.py", line 163, in getCookie answer = wikipedia.ui.askForCaptcha(url) File "/usr/home/alexsh/mwbot/pywikipedia/userinterfaces/terminal_interface.py", line 292, in askForCaptcha except WindowsError: NameError: global name 'WindowsError' is not defined
----------------------------------------------------------------------
Comment By: Francesco Cosoleto (cosoleto)
Date: 2008-06-10 12:27
Message: Logged In: YES user_id=181280 Originator: NO
Fixed in r5548.
----------------------------------------------------------------------
Comment By: Rotem Liss (rotemliss) Date: 2008-02-23 16:06
Message: Logged In: YES user_id=1327030 Originator: NO
What happens if you comment out the two last lines:
except WindowsError: return wikipedia.input(u'What is the solution of the CAPTCHA at %s ?' % url)
in the file "userinterfaces/terminal_interface.py", and try again?
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1900272...