Forum:Can't log Bot due to CAPTCHA

Until today, I've been able to use my bot quite happily on w:c:tardis without issue, despite the fact that it wasn't flagged. Today, however, when trying to log it on, I was challenged for a CAPTCHA. I entered the CAPTCHA, checked my spelling against the CAPTCHA, and hit "enter". Then I got the message, "Login failed. Wrong password or CAPTCHA answer." I thought, "Well, this sort of thing happens with CAPTCHAs, doesn't it?" and proceeded to try again. And again. And again. Now upwards of 10 tries later, I still can't login. I know I'm typing the captcha correctly. I went to my local admin to ask if he'd changed anything on the site. He hadn't. I tried some more times and still got the same failure. So now I'm here with you: why is the CAPTCHA requirement suddenly there, and why am I failing to pass it?  Czech Out  ☎ | ✍  18:32, April 19, 2010 (UTC)


 * MediaWiki was updated. You need to update pybot. 19:38, April 19, 2010 (UTC)
 * Okay, I just did an update according to these instructions. I did the SVN approach indicated, and it went through all these files and then returned "Checked out external at revision 231.  Checked out revision 8115."  I then tried to login again and got exactly the same stupid error.  What have I done wrong?  Czech Out   ☎ | ✍  21:34, April 19, 2010 (UTC)

I encounter this problem recently, and Wikia Staff told me that I needed to update my pywikipedia. So I update my pywikipedia for the latest version. However, I still can't log in, and cmd gives me the following info: Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp.

E:\Program Files\pywikipedia>login.py WARNING: Configuration variable 'sys' is defined but unknown. Misspelled? Password for user T-680 on transformers:en: Logging in to transformers:en as T-680 via API. Traceback (most recent call last): File "E:\Program Files\pywikipedia\login.py", line 436, in    main File "E:\Program Files\pywikipedia\login.py", line 432, in main loginMan.login File "E:\Program Files\pywikipedia\login.py", line 319, in login cookiedata = self.getCookie(api) File "E:\Program Files\pywikipedia\login.py", line 181, in getCookie response, data = query.GetData(predata, self.site, sysop=self.sysop, back_re sponse = True) File "E:\Program Files\pywikipedia\query.py", line 122, in GetData res, jsontext = site.postForm(path, params, sysop, site.cookies(sysop = syso p) ) File "E:\Program Files\pywikipedia\wikipedia.py", line 4886, in postForm cookies=cookies) File "E:\Program Files\pywikipedia\wikipedia.py", line 4940, in postData    raise PageNotFound(u'Page %s could not be retrieved. Check your family file ?' % url) pywikibot.exceptions.PageNotFound: Page http://transformers.wikia.com/w/api.php could not be retrieved. Check your family file ?

E:\Program Files\pywikipedia>

Frankly, I'm not so familiar with this. And I can't figure out where is the problem. I'd appreciate for any help. Thank you! -- TX55   TALK  16:34, April 25, 2010 (UTC)


 * Did you replace your whole pywikipedia folder? You need to keep your old family/user-config scripts. 16:45, April 25, 2010 (UTC)


 * Yes, I do keep the user-config.py and family scripts (under \families) in the first place before I encounter the problem. -- TX55   TALK  15:25, April 26, 2010 (UTC)


 * Looks like the wrong api url, it's not http://transformers.wikia.com/w/api.php but rather http://transformers.wikia.com/api.php make sure you specify the scriptpath rather than just the path. ~ NOTASTAFF Daniel Friesen (DanTMan, Nadir Seen Fire) (talk) (tricks) (current topic) Apr 26, 2010 @ 16:32 (UTC)


 * Thank you. But which file should be the url http://transformers.wikia.com/api.php in? -- TX55   TALK  02:04, April 27, 2010 (UTC)

In the family file, you should have a section that says something about "Script path". the entry should be blank for wikia wikis (at wikipedia, its "/w"). The full url is not actually anywhere combined, since different parts are needed by different things, but can easily be assembled when needed. If you are having trouble understanding, you can paste your family file at http://wikia.pastebin.com/ and put the link here, and I'm sure someone that is a regular user of that bot framework can fix it for you. --Uberfuzzy 22:35, May 5, 2010 (UTC)


 * So, for example, all I need to do is to post my contents form /families/transformers_family.py in the pastbin.com? -- TX55   TALK  00:15, May 6, 2010 (UTC)


 * Yes, then one of us Pybot users will come have a look at it and probably fix it for you. --Lcawte 16:33, May 6, 2010 (UTC)
 * Okey, so I looked at the pastebin, and assuming http://wikia.pastebin.com/J0TCCp15 was your file, I've added a new copy on top of it. That should work, once you copy the code back into your family file. --Lcawte 16:37, May 6, 2010 (UTC)


 * Yes, I successfully log in now. Thank you very much!! Appreciate. ;-D -- TX55   TALK  17:59, May 6, 2010 (UTC)