[Pywikipedia-l] [ pywikipediabot-Bugs-1842287 ] Captcha doesn't work

SourceForge.net noreply at sourceforge.net
Tue Dec 4 16:04:01 UTC 2007


Bugs item #1842287, was opened at 2007-12-01 08:03
Message generated for change (Settings changed) made by leogregianin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1842287&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: None
Group: None
>Status: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: Leonardo Gregianin (leogregianin)
Assigned to: Nobody/Anonymous (nobody)
Summary: Captcha doesn't work

Initial Comment:
Traceback below:

>>> Huong dao <<<
Corresponding page is Escotismo
Password for user LeonardoG on wikipedia:pt:
Logging in to wikipedia:pt as LeonardoG
Opening CAPTCHA in your web browser...
Traceback (most recent call last):
  File "C:\pywikipediabot\trunk\pywikipedia\featured.py", line 339, in <module>
    featuredWithInterwiki(fromsite, wikipedia.getSite(), template_on_top)
  File "C:\pywikipediabot\trunk\pywikipedia\featured.py", line 297, in featuredWithInterwiki
    atrans.put(text, comment)
  File "C:\pywikipediabot\trunk\pywikipedia\wikipedia.py", line 1134, in put
    if not self.botMayEdit():
  File "C:\pywikipediabot\trunk\pywikipedia\wikipedia.py", line 882, in botMayEdit
    self.site().forceLogin(sysop=True)
  File "C:\pywikipediabot\trunk\pywikipedia\wikipedia.py", line 3640, in forceLogin
    if loginMan.login(retry = True):
  File "C:\pywikipediabot\trunk\pywikipedia\login.py", line 222, in login
    cookiedata = self.getCookie()
  File "C:\pywikipediabot\trunk\pywikipedia\login.py", line 163, in getCookie
    answer = wikipedia.ui.askForCaptcha(url)
  File "C:\pywikipediabot\trunk\pywikipedia\userinterfaces\terminal_interface.py", line 281, in askForCaptcha
    webbrowser.open(url)
  File "C:\Python25\lib\webbrowser.py", line 55, in open
    if browser.open(url, new, autoraise):
  File "C:\Python25\lib\webbrowser.py", line 505, in open
    os.startfile(url)
WindowsError: [Error 22] Aplicativo nÒo encontrado: u'http://pt.wikipedia.org/w/
index.php?title=Especial:Captcha/image&wpCaptchaId=1093122940'


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

Comment By: Rotem Liss (rotemliss)
Date: 2007-12-01 09:27

Message:
Logged In: YES 
user_id=1327030
Originator: NO

This doesn't seem to be related to this bug.

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

Comment By: Leonardo Gregianin (leogregianin)
Date: 2007-12-01 09:20

Message:
Logged In: YES 
user_id=1136737
Originator: YES

but this url
http://pt.wikipedia.org/w/index.php?title=Especial:Captcha/image&wpCaptchaId=1093122940
doesn't exist, browser say: "Internal Error: Requested bogus captcha image"

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

Comment By: Rotem Liss (rotemliss)
Date: 2007-12-01 08:11

Message:
Logged In: YES 
user_id=1327030
Originator: NO

I guess the error is "Application not found". It seems to be an error in
python or its configuration in your computer. Anyway, now in r4624 the
exception (WindowsError) is caught and a fallback question is shown.

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

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



More information about the Pywikipedia-l mailing list