Manual talk:Pywikibot/wikitext

  Archives

Wikibooks
As this is becoming more and more textbook-like, I'd like to import it to Wikibooks, where it can be integrated and linked with other texts, such as Linux Guide, which will be very helpful to readers. &mdash; Mike.lifeguard &#124; @en.wb 15:09, 22 January 2010 (UTC)
 * It should go somewhere else, that's for sure. If not Wikibooks, maybe Wikiversity or MediaWiki.org. Meta-wiki needs to be depopulated of stuff that applies to MediaWiki installations in general (rather than just Wikimedia projects). Also, isn't the name "Pywikipediabot" kinda misleading, since it can be used on other wikis? Tisane 22:13, 8 April 2010 (UTC)
 * Yes, I'll be renaming it to "Pywikibot" &mdash; mikelifeguard@meta:&#126;$ 01:54, 22 May 2010 (UTC)

Login issues
When trying to login (login.py) I am asked for the password for the relevant user. I supply this. It then asks for the CAPTCHA solution. I enter this. It then tells me that Login failed. Obvious answer is I am entering one or the other incorrectly. However, I have tried many times. I have changed my password on the wiki and then retried. Same result. Am I coming up against a known issue? Apart from entering wrong answers, which I am sure I am not doing, is there another reason that I cannot log in?88.108.210.61 08:58, 5 May 2010 (UTC)


 * Have you tried updating the framework to the latest version? --Mercy 09:00, 5 May 2010 (UTC)
 * I have not...In fact mine is at least 18 months old....you think that might be the issue?88.108.210.61 10:04, 5 May 2010 (UTC)
 * I have new version now. However still issues. I get the following:

Traceback (most recent call last): File "C:\pywikipedia\login.py", line 436, in    main File "C:\pywikipedia\login.py", line 432, in main loginMan.login File "C:\pywikipedia\login.py", line 319, in login cookiedata = self.getCookie(api) File "C:\pywikipedia\login.py", line 181, in getCookie response, data = query.GetData(predata, self.site, sysop=self.sysop, back_re sponse = True) File "C:\pywikipedia\query.py", line 122, in GetData res, jsontext = site.postForm(path, params, sysop, site.cookies(sysop = syso p) ) File "C:\pywikipedia\wikipedia.py", line 4936, in postForm cookies=cookies) File "C:\pywikipedia\wikipedia.py", line 4990, in postData    raise PageNotFound(u'Page %s could not be retrieved. Check your family file ?' % url) pywikibot.exceptions.PageNotFound: Page http://fightingfantasy.wikia.com/w/api.p  hp could not be retrieved. Check your family file ?

When I check both the Index.php and the api.php files two things are apparent. First, they are at:

http://fightingfantasy.wikia.com/wiki/Index.php and http://fightingfantasy.wikia.com/wiki/Api.php

respectively (i.e. not w/index.php)

and second, neither of them have content. Whereas if you were to check http://starwars.wikia.com/wiki/Index.php it is the MainPage (and http://starwars.wikia.com/wiki/Api.php does nto exist).

Does anyone know what I need to do from here?88.108.210.61 11:38, 5 May 2010 (UTC)

Login problem
I have a problem with my bot, when I am asked for the password I put it correctly , it returns with wrong password CAPTCHA answer , I have downloaded up to date versions and the login.py , still getting Login failed. Wrong password or CAPTCHA answer. I would be very grateful for any help.--Ghaly 06:43, 5 June 2010 (UTC)