Patches item #2985625, was opened at 2010-04-12 01:18
Message generated for change (Tracker Item Submitted) made by masti01
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2985625&group_…
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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: masti (masti01)
Assigned to: Nobody/Anonymous (nobody)
Summary: patch for #2985621
Initial Comment:
right parenthesis is allowed by mediawiki
attaching patch for textlib.py
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2985625&group_…
Bugs item #2985621, was opened at 2010-04-12 00:54
Message generated for change (Tracker Item Submitted) made by masti01
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2985621&group_…
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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: masti (masti01)
Assigned to: Nobody/Anonymous (nobody)
Summary: weblinkchecker.py - stripping ")"
Initial Comment:
weblinkchecker i stripping trailing ) in links creating false dead links
example: http://pl.wikipedia.org/w/index.php?title=Dyskusja%3AJean-Luc_Picard&action…
python version.py
Pywikipedia [http] trunk/pywikipedia (r8074, 2010/04/10, 23:12:44)
Python 2.6.2 (r262:71600, Jan 25 2010, 18:46:45)
[GCC 4.4.2 20091222 (Red Hat 4.4.2-20)]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2985621&group_…
Bugs item #2985609, was opened at 2010-04-11 22:10
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2985609&group_…
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: interwiki
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki -ignore misbehaviour
Initial Comment:
When working in -force mode, pages read from -ignorefile are not just ignored (as the option name suggests and it would be an expected behaviour) but are deleted from wherever they're found, so that the bot works the same way as in -neverlink for the given page titles. It would be more logical if the -ignore/-ignorefile option just ignored (skipped) these pages. We should have some other option for forced remove, something like -neverlink not only for a language, but also for lang:title combinations.
Pywikipedia [http] trunk/pywikipedia (r8074, 2010/04/10, 23:12:44)
Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2985609&group_…
Patches item #2985564, was opened at 2010-04-11 21:44
Message generated for change (Tracker Item Submitted) made by masti01
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2985564&group_…
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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: masti (masti01)
Assigned to: Nobody/Anonymous (nobody)
Summary: cosmetic_changes.py
Initial Comment:
if the link and description are the same except for capitalisation use link as link skipping description. Useful for cleaning up after capitalisation related redirects cleaning. Example: http://pl.wikipedia.org/w/index.php?diff=21129378&oldid=21129374&rcid=21691…
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2985564&group_…
Bugs item #2983182, was opened at 2010-04-07 14:11
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2983182&group_…
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: 9
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: xqt (xqt)
Summary: login.py
Initial Comment:
Since the change of the API (url) my bot (and some others, after discussion on IRC) can not connect and it's wrote on the consol the error message: "Login failed. Wrong password or CAPTCHA answer?" despite that the correct password is entered and that no captcha is answered on the browser!
----------------------------------------------------------------------
Comment By: Toto Azéro (toto-azero)
Date: 2010-04-09 18:58
Message:
OK thanks ! that work well in r8072 !
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-04-09 18:52
Message:
Q&D-Fix in 8071
and
use_api_login = True
per default in config.py
Sorry for this hack, but my time is over for now. Maybe a cleaner code is
coming soom (asap)
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-04-09 18:34
Message:
I have it!
Fix coming soon...
----------------------------------------------------------------------
Comment By: Toto Azéro (toto-azero)
Date: 2010-04-09 17:53
Message:
Yes, my user-config.py contains that line :
use_api_login = True
I've checked that there is no file type <family> - <lang> -
<user>-login.data in the "login-data" folder.
And there isn't any file called "fr-ZéroBot-central-login.data"
(<family>-<lang>-<user>-login.data).
I've use the -clean option and I've tried to log in again with the -v -v
and -force options. I can observe that (I've replaced bot's password by
***) :
Pywikipediabot [http] trunk/pywikipedia (r8069, 2010/04/09, 11:13:53)
Python 2.6.5 (r265:79359, Mar 24 2010, 01:32:55)
[GCC 4.0.1 (Apple Inc. build 5493)]
WARNING: Using -v -v on login.py might leak private data. When sharing,
please double check your password is not readable and log out your bots
session.
Password for user ZéroBot on wikipedia:fr:
Logging in to wikipedia:fr as ZéroBot via API.
==== API action:login ====
lgname: ZéroBot
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
==== API action:login ====
lgname: ZéroBot
lgtoken: 1cbee4b71ee3c03363e1d85b79dc5fba
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
==== API action:login ====
lgname: ZéroBot
lgtoken: be0f42b9b6778203a80ab0171d5cc346
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
==== API action:login ====
lgname: ZéroBot
lgtoken: f45811161005473d48511a18a5bebe7d
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
==== API action:login ====
lgname: ZéroBot
lgtoken: 409f6a00197bbeed539b33c23430f43f
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
==== API action:login ====
lgname: ZéroBot
lgtoken: b129317b65966dd3477020e6949b691f
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
==== API action:login ====
lgname: ZéroBot
lgtoken: 8d1d95b7b6f4f865829b3fd98bdfaf25
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
This suite keeps repeating but each time, the value of lgtoken is
different.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-04-09 17:03
Message:
Sorry, must be
use_api_login = True
I'll make it as default
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-04-09 16:46
Message:
Please confirm that your user-config.py contains the following line:
use_api_login = False
use double verbose option -v -v for the next tries and give us the
result.
First use -clean option to ensure you are logged out and the cookies are
deleted.
Verify that the file <family>-<lang>-<user>-login.data does not exist,
for example wikipedia-fr-ZéroBot-login.data
Verify there is no remaining <family>-<user>-central-login.data
Try again to login (with -force option):
login.py -force -v -v
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2010-04-09 14:49
Message:
Still doesn't work for my bot too. My bot doesn't want to connect any more
on wikipedia even after updating pywikipedia.
python login.py
Password for user ZéroBot on wikipedia:fr:
Logging in to wikipedia:fr as ZéroBot
Login failed. Wrong password or CAPTCHA answer?
Configuration : Mac OS X 10.6.3
python version.py
Pywikipedia [http] trunk/pywikipedia (r8069, 2010/04/09, 11:13:53)
Python 2.6.5 (r265:79359, Mar 24 2010, 01:32:55)
[GCC 4.0.1 (Apple Inc. build 5493)]
----------------------------------------------------------------------
Comment By: Linar Khalitov (rubin16)
Date: 2010-04-09 13:49
Message:
still doesn't work for my bot and some others in ru.wiki
C:\pt>python login.py
Password for user Rubinbot on wikipedia:ru:
Logging in to wikipedia:ru as Rubinbot
Login failed. Wrong password or CAPTCHA answer?
C:\pt>python version.py
Pywikipedia [http] trunk/pywikipedia (r8069, 2010/04/09, 11:13:53)
Python 2.6.3 (r263:75183, Oct 5 2009, 14:41:55) [MSC v.1500 32 bit
(Intel)]
I've checked - the password is correct, I've tryed to create new
user-config.py - it doesn't work. I think this bug shouldn't be marked as
fixed yet
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2010-04-07 22:05
Message:
Yes, it should be separate but only on my second comment I got sure of it
:)
anyway, I now get :
Should be logged in now
*** Your username is not listed on [[Wikipedia:Bots/Status]].
*** Please make sure you are allowed to use the robot before actually
using it!
But my bot is listed there. Maybe the physical text has changed...
Thanks
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date: 2010-04-07 21:56
Message:
That typo is really a separate bug, but it's fixed in r8062 [anyway, I
think your bot is logged in even though you got the error message]
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2010-04-07 21:47
Message:
It seems to be linked to xqt's changeset #8055 where the bot status page is
changed to Wikipedia:Bot/Status. In en.wikipedia, this is (still)
Wikipedia:Bots/Status (plural form).
What's the fix?
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2010-04-07 21:41
Message:
I was since I had problems with API login not working properly and
requiring the bot to re-login (unsuccessfully) on every edit.
I just retried API login but I get an exception while logging in to
en.wikipedia (only en.wikipedia and not anywhere else so far):
Logging in to wikipedia:en as MalafayaBot via API.
Should be logged in now
Traceback (most recent call last):
File "D:\Work\pywikipedia\login.py", line 413, in <module>
main()
File "D:\Work\pywikipedia\login.py", line 409, in main
loginMan.login()
File "D:\Work\pywikipedia\login.py", line 306, in login
if not self.botAllowed():
File "D:\Work\pywikipedia\login.py", line 119, in botAllowed
for linkedPage in botListPage.linkedPages():
File "D:\Work\pywikipedia\wikipedia.py", line 2194, in linkedPages
thistxt = removeLanguageLinks(self.get(get_redirect=True),
File "D:\Work\pywikipedia\wikipedia.py", line 618, in get
self._contents = self._getEditPage(get_redirect = get_redirect,
throttle = t
hrottle, sysop = sysop)
File "D:\Work\pywikipedia\wikipedia.py", line 688, in _getEditPage
raise NoPage(self.site(), self.aslink(forceInterwiki = True),"Page
does not
exist. In rare cases, if you are certain the page does exist, look into
overridi
ng family.RversionTab" )
pywikibot.exceptions.NoPage: (wikipedia:en,
u'[[en:Wikipedia:Bot/Status]]', 'Pag
e does not exist. In rare cases, if you are certain the page does exist,
look in
to overriding family.RversionTab')
Version info:
Pywikipedia [http] trunk/pywikipedia (r8061, 2010/04/07, 14:37:56)
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit
(Intel)]
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date: 2010-04-07 19:19
Message:
It should be fixed for everyone using API login (need the line
use_api_login = True in user-config.py). If there is anyone out there not
using API login, you need to change your user-config file.
----------------------------------------------------------------------
Comment By: Multichill (multichill)
Date: 2010-04-07 18:51
Message:
Looks like this was fixed in 8061 by russblau. I assigned the bug to him.
----------------------------------------------------------------------
Comment By: Micthev (micthev)
Date: 2010-04-07 15:45
Message:
bug reported on en.wikipedia :
http://en.wikipedia.org/wiki/Wikipedia:Bot_owners%27_noticeboard#Bots_and_L…
----------------------------------------------------------------------
Comment By: Harri Vartiainen (harriv)
Date: 2010-04-07 15:26
Message:
This should be high priority, since no pywikipedia bot can login Wikipedia
before this is resolved.
----------------------------------------------------------------------
Comment By: Micthev (micthev)
Date: 2010-04-07 14:19
Message:
For me too, the url of bugzilla is
https://bugzilla.wikimedia.org/show_bug.cgi?id=23076
and in fact on browser the captcha is not requested
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2983182&group_…
Bugs item #2983182, was opened at 2010-04-07 14:11
Message generated for change (Comment added) made by toto-azero
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2983182&group_…
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: Pending
Resolution: Fixed
Priority: 9
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: xqt (xqt)
Summary: login.py
Initial Comment:
Since the change of the API (url) my bot (and some others, after discussion on IRC) can not connect and it's wrote on the consol the error message: "Login failed. Wrong password or CAPTCHA answer?" despite that the correct password is entered and that no captcha is answered on the browser!
----------------------------------------------------------------------
Comment By: Toto Azéro (toto-azero)
Date: 2010-04-09 18:58
Message:
OK thanks ! that work well in r8072 !
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-04-09 18:52
Message:
Q&D-Fix in 8071
and
use_api_login = True
per default in config.py
Sorry for this hack, but my time is over for now. Maybe a cleaner code is
coming soom (asap)
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-04-09 18:34
Message:
I have it!
Fix coming soon...
----------------------------------------------------------------------
Comment By: Toto Azéro (toto-azero)
Date: 2010-04-09 17:53
Message:
Yes, my user-config.py contains that line :
use_api_login = True
I've checked that there is no file type <family> - <lang> -
<user>-login.data in the "login-data" folder.
And there isn't any file called "fr-ZéroBot-central-login.data"
(<family>-<lang>-<user>-login.data).
I've use the -clean option and I've tried to log in again with the -v -v
and -force options. I can observe that (I've replaced bot's password by
***) :
Pywikipediabot [http] trunk/pywikipedia (r8069, 2010/04/09, 11:13:53)
Python 2.6.5 (r265:79359, Mar 24 2010, 01:32:55)
[GCC 4.0.1 (Apple Inc. build 5493)]
WARNING: Using -v -v on login.py might leak private data. When sharing,
please double check your password is not readable and log out your bots
session.
Password for user ZéroBot on wikipedia:fr:
Logging in to wikipedia:fr as ZéroBot via API.
==== API action:login ====
lgname: ZéroBot
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
==== API action:login ====
lgname: ZéroBot
lgtoken: 1cbee4b71ee3c03363e1d85b79dc5fba
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
==== API action:login ====
lgname: ZéroBot
lgtoken: be0f42b9b6778203a80ab0171d5cc346
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
==== API action:login ====
lgname: ZéroBot
lgtoken: f45811161005473d48511a18a5bebe7d
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
==== API action:login ====
lgname: ZéroBot
lgtoken: 409f6a00197bbeed539b33c23430f43f
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
==== API action:login ====
lgname: ZéroBot
lgtoken: b129317b65966dd3477020e6949b691f
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
==== API action:login ====
lgname: ZéroBot
lgtoken: 8d1d95b7b6f4f865829b3fd98bdfaf25
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
This suite keeps repeating but each time, the value of lgtoken is
different.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-04-09 17:03
Message:
Sorry, must be
use_api_login = True
I'll make it as default
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-04-09 16:46
Message:
Please confirm that your user-config.py contains the following line:
use_api_login = False
use double verbose option -v -v for the next tries and give us the
result.
First use -clean option to ensure you are logged out and the cookies are
deleted.
Verify that the file <family>-<lang>-<user>-login.data does not exist,
for example wikipedia-fr-ZéroBot-login.data
Verify there is no remaining <family>-<user>-central-login.data
Try again to login (with -force option):
login.py -force -v -v
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2010-04-09 14:49
Message:
Still doesn't work for my bot too. My bot doesn't want to connect any more
on wikipedia even after updating pywikipedia.
python login.py
Password for user ZéroBot on wikipedia:fr:
Logging in to wikipedia:fr as ZéroBot
Login failed. Wrong password or CAPTCHA answer?
Configuration : Mac OS X 10.6.3
python version.py
Pywikipedia [http] trunk/pywikipedia (r8069, 2010/04/09, 11:13:53)
Python 2.6.5 (r265:79359, Mar 24 2010, 01:32:55)
[GCC 4.0.1 (Apple Inc. build 5493)]
----------------------------------------------------------------------
Comment By: Linar Khalitov (rubin16)
Date: 2010-04-09 13:49
Message:
still doesn't work for my bot and some others in ru.wiki
C:\pt>python login.py
Password for user Rubinbot on wikipedia:ru:
Logging in to wikipedia:ru as Rubinbot
Login failed. Wrong password or CAPTCHA answer?
C:\pt>python version.py
Pywikipedia [http] trunk/pywikipedia (r8069, 2010/04/09, 11:13:53)
Python 2.6.3 (r263:75183, Oct 5 2009, 14:41:55) [MSC v.1500 32 bit
(Intel)]
I've checked - the password is correct, I've tryed to create new
user-config.py - it doesn't work. I think this bug shouldn't be marked as
fixed yet
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2010-04-07 22:05
Message:
Yes, it should be separate but only on my second comment I got sure of it
:)
anyway, I now get :
Should be logged in now
*** Your username is not listed on [[Wikipedia:Bots/Status]].
*** Please make sure you are allowed to use the robot before actually
using it!
But my bot is listed there. Maybe the physical text has changed...
Thanks
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date: 2010-04-07 21:56
Message:
That typo is really a separate bug, but it's fixed in r8062 [anyway, I
think your bot is logged in even though you got the error message]
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2010-04-07 21:47
Message:
It seems to be linked to xqt's changeset #8055 where the bot status page is
changed to Wikipedia:Bot/Status. In en.wikipedia, this is (still)
Wikipedia:Bots/Status (plural form).
What's the fix?
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2010-04-07 21:41
Message:
I was since I had problems with API login not working properly and
requiring the bot to re-login (unsuccessfully) on every edit.
I just retried API login but I get an exception while logging in to
en.wikipedia (only en.wikipedia and not anywhere else so far):
Logging in to wikipedia:en as MalafayaBot via API.
Should be logged in now
Traceback (most recent call last):
File "D:\Work\pywikipedia\login.py", line 413, in <module>
main()
File "D:\Work\pywikipedia\login.py", line 409, in main
loginMan.login()
File "D:\Work\pywikipedia\login.py", line 306, in login
if not self.botAllowed():
File "D:\Work\pywikipedia\login.py", line 119, in botAllowed
for linkedPage in botListPage.linkedPages():
File "D:\Work\pywikipedia\wikipedia.py", line 2194, in linkedPages
thistxt = removeLanguageLinks(self.get(get_redirect=True),
File "D:\Work\pywikipedia\wikipedia.py", line 618, in get
self._contents = self._getEditPage(get_redirect = get_redirect,
throttle = t
hrottle, sysop = sysop)
File "D:\Work\pywikipedia\wikipedia.py", line 688, in _getEditPage
raise NoPage(self.site(), self.aslink(forceInterwiki = True),"Page
does not
exist. In rare cases, if you are certain the page does exist, look into
overridi
ng family.RversionTab" )
pywikibot.exceptions.NoPage: (wikipedia:en,
u'[[en:Wikipedia:Bot/Status]]', 'Pag
e does not exist. In rare cases, if you are certain the page does exist,
look in
to overriding family.RversionTab')
Version info:
Pywikipedia [http] trunk/pywikipedia (r8061, 2010/04/07, 14:37:56)
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit
(Intel)]
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date: 2010-04-07 19:19
Message:
It should be fixed for everyone using API login (need the line
use_api_login = True in user-config.py). If there is anyone out there not
using API login, you need to change your user-config file.
----------------------------------------------------------------------
Comment By: Multichill (multichill)
Date: 2010-04-07 18:51
Message:
Looks like this was fixed in 8061 by russblau. I assigned the bug to him.
----------------------------------------------------------------------
Comment By: Micthev (micthev)
Date: 2010-04-07 15:45
Message:
bug reported on en.wikipedia :
http://en.wikipedia.org/wiki/Wikipedia:Bot_owners%27_noticeboard#Bots_and_L…
----------------------------------------------------------------------
Comment By: Harri Vartiainen (harriv)
Date: 2010-04-07 15:26
Message:
This should be high priority, since no pywikipedia bot can login Wikipedia
before this is resolved.
----------------------------------------------------------------------
Comment By: Micthev (micthev)
Date: 2010-04-07 14:19
Message:
For me too, the url of bugzilla is
https://bugzilla.wikimedia.org/show_bug.cgi?id=23076
and in fact on browser the captcha is not requested
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2983182&group_…
Bugs item #2983182, was opened at 2010-04-07 14:11
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2983182&group_…
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: Pending
Resolution: Fixed
Priority: 9
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: xqt (xqt)
Summary: login.py
Initial Comment:
Since the change of the API (url) my bot (and some others, after discussion on IRC) can not connect and it's wrote on the consol the error message: "Login failed. Wrong password or CAPTCHA answer?" despite that the correct password is entered and that no captcha is answered on the browser!
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-04-09 18:52
Message:
Q&D-Fix in 8071
and
use_api_login = True
per default in config.py
Sorry for this hack, but my time is over for now. Maybe a cleaner code is
coming soom (asap)
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-04-09 18:34
Message:
I have it!
Fix coming soon...
----------------------------------------------------------------------
Comment By: Toto Azéro (toto-azero)
Date: 2010-04-09 17:53
Message:
Yes, my user-config.py contains that line :
use_api_login = True
I've checked that there is no file type <family> - <lang> -
<user>-login.data in the "login-data" folder.
And there isn't any file called "fr-ZéroBot-central-login.data"
(<family>-<lang>-<user>-login.data).
I've use the -clean option and I've tried to log in again with the -v -v
and -force options. I can observe that (I've replaced bot's password by
***) :
Pywikipediabot [http] trunk/pywikipedia (r8069, 2010/04/09, 11:13:53)
Python 2.6.5 (r265:79359, Mar 24 2010, 01:32:55)
[GCC 4.0.1 (Apple Inc. build 5493)]
WARNING: Using -v -v on login.py might leak private data. When sharing,
please double check your password is not readable and log out your bots
session.
Password for user ZéroBot on wikipedia:fr:
Logging in to wikipedia:fr as ZéroBot via API.
==== API action:login ====
lgname: ZéroBot
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
==== API action:login ====
lgname: ZéroBot
lgtoken: 1cbee4b71ee3c03363e1d85b79dc5fba
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
==== API action:login ====
lgname: ZéroBot
lgtoken: be0f42b9b6778203a80ab0171d5cc346
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
==== API action:login ====
lgname: ZéroBot
lgtoken: f45811161005473d48511a18a5bebe7d
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
==== API action:login ====
lgname: ZéroBot
lgtoken: 409f6a00197bbeed539b33c23430f43f
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
==== API action:login ====
lgname: ZéroBot
lgtoken: b129317b65966dd3477020e6949b691f
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
==== API action:login ====
lgname: ZéroBot
lgtoken: 8d1d95b7b6f4f865829b3fd98bdfaf25
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
This suite keeps repeating but each time, the value of lgtoken is
different.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-04-09 17:03
Message:
Sorry, must be
use_api_login = True
I'll make it as default
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-04-09 16:46
Message:
Please confirm that your user-config.py contains the following line:
use_api_login = False
use double verbose option -v -v for the next tries and give us the
result.
First use -clean option to ensure you are logged out and the cookies are
deleted.
Verify that the file <family>-<lang>-<user>-login.data does not exist,
for example wikipedia-fr-ZéroBot-login.data
Verify there is no remaining <family>-<user>-central-login.data
Try again to login (with -force option):
login.py -force -v -v
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2010-04-09 14:49
Message:
Still doesn't work for my bot too. My bot doesn't want to connect any more
on wikipedia even after updating pywikipedia.
python login.py
Password for user ZéroBot on wikipedia:fr:
Logging in to wikipedia:fr as ZéroBot
Login failed. Wrong password or CAPTCHA answer?
Configuration : Mac OS X 10.6.3
python version.py
Pywikipedia [http] trunk/pywikipedia (r8069, 2010/04/09, 11:13:53)
Python 2.6.5 (r265:79359, Mar 24 2010, 01:32:55)
[GCC 4.0.1 (Apple Inc. build 5493)]
----------------------------------------------------------------------
Comment By: Linar Khalitov (rubin16)
Date: 2010-04-09 13:49
Message:
still doesn't work for my bot and some others in ru.wiki
C:\pt>python login.py
Password for user Rubinbot on wikipedia:ru:
Logging in to wikipedia:ru as Rubinbot
Login failed. Wrong password or CAPTCHA answer?
C:\pt>python version.py
Pywikipedia [http] trunk/pywikipedia (r8069, 2010/04/09, 11:13:53)
Python 2.6.3 (r263:75183, Oct 5 2009, 14:41:55) [MSC v.1500 32 bit
(Intel)]
I've checked - the password is correct, I've tryed to create new
user-config.py - it doesn't work. I think this bug shouldn't be marked as
fixed yet
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2010-04-07 22:05
Message:
Yes, it should be separate but only on my second comment I got sure of it
:)
anyway, I now get :
Should be logged in now
*** Your username is not listed on [[Wikipedia:Bots/Status]].
*** Please make sure you are allowed to use the robot before actually
using it!
But my bot is listed there. Maybe the physical text has changed...
Thanks
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date: 2010-04-07 21:56
Message:
That typo is really a separate bug, but it's fixed in r8062 [anyway, I
think your bot is logged in even though you got the error message]
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2010-04-07 21:47
Message:
It seems to be linked to xqt's changeset #8055 where the bot status page is
changed to Wikipedia:Bot/Status. In en.wikipedia, this is (still)
Wikipedia:Bots/Status (plural form).
What's the fix?
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2010-04-07 21:41
Message:
I was since I had problems with API login not working properly and
requiring the bot to re-login (unsuccessfully) on every edit.
I just retried API login but I get an exception while logging in to
en.wikipedia (only en.wikipedia and not anywhere else so far):
Logging in to wikipedia:en as MalafayaBot via API.
Should be logged in now
Traceback (most recent call last):
File "D:\Work\pywikipedia\login.py", line 413, in <module>
main()
File "D:\Work\pywikipedia\login.py", line 409, in main
loginMan.login()
File "D:\Work\pywikipedia\login.py", line 306, in login
if not self.botAllowed():
File "D:\Work\pywikipedia\login.py", line 119, in botAllowed
for linkedPage in botListPage.linkedPages():
File "D:\Work\pywikipedia\wikipedia.py", line 2194, in linkedPages
thistxt = removeLanguageLinks(self.get(get_redirect=True),
File "D:\Work\pywikipedia\wikipedia.py", line 618, in get
self._contents = self._getEditPage(get_redirect = get_redirect,
throttle = t
hrottle, sysop = sysop)
File "D:\Work\pywikipedia\wikipedia.py", line 688, in _getEditPage
raise NoPage(self.site(), self.aslink(forceInterwiki = True),"Page
does not
exist. In rare cases, if you are certain the page does exist, look into
overridi
ng family.RversionTab" )
pywikibot.exceptions.NoPage: (wikipedia:en,
u'[[en:Wikipedia:Bot/Status]]', 'Pag
e does not exist. In rare cases, if you are certain the page does exist,
look in
to overriding family.RversionTab')
Version info:
Pywikipedia [http] trunk/pywikipedia (r8061, 2010/04/07, 14:37:56)
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit
(Intel)]
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date: 2010-04-07 19:19
Message:
It should be fixed for everyone using API login (need the line
use_api_login = True in user-config.py). If there is anyone out there not
using API login, you need to change your user-config file.
----------------------------------------------------------------------
Comment By: Multichill (multichill)
Date: 2010-04-07 18:51
Message:
Looks like this was fixed in 8061 by russblau. I assigned the bug to him.
----------------------------------------------------------------------
Comment By: Micthev (micthev)
Date: 2010-04-07 15:45
Message:
bug reported on en.wikipedia :
http://en.wikipedia.org/wiki/Wikipedia:Bot_owners%27_noticeboard#Bots_and_L…
----------------------------------------------------------------------
Comment By: Harri Vartiainen (harriv)
Date: 2010-04-07 15:26
Message:
This should be high priority, since no pywikipedia bot can login Wikipedia
before this is resolved.
----------------------------------------------------------------------
Comment By: Micthev (micthev)
Date: 2010-04-07 14:19
Message:
For me too, the url of bugzilla is
https://bugzilla.wikimedia.org/show_bug.cgi?id=23076
and in fact on browser the captcha is not requested
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2983182&group_…
Bugs item #2983182, was opened at 2010-04-07 14:11
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2983182&group_…
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: Open
Resolution: Fixed
Priority: 9
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: xqt (xqt)
Summary: login.py
Initial Comment:
Since the change of the API (url) my bot (and some others, after discussion on IRC) can not connect and it's wrote on the consol the error message: "Login failed. Wrong password or CAPTCHA answer?" despite that the correct password is entered and that no captcha is answered on the browser!
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-04-09 18:34
Message:
I have it!
Fix coming soon...
----------------------------------------------------------------------
Comment By: Toto Azéro (toto-azero)
Date: 2010-04-09 17:53
Message:
Yes, my user-config.py contains that line :
use_api_login = True
I've checked that there is no file type <family> - <lang> -
<user>-login.data in the "login-data" folder.
And there isn't any file called "fr-ZéroBot-central-login.data"
(<family>-<lang>-<user>-login.data).
I've use the -clean option and I've tried to log in again with the -v -v
and -force options. I can observe that (I've replaced bot's password by
***) :
Pywikipediabot [http] trunk/pywikipedia (r8069, 2010/04/09, 11:13:53)
Python 2.6.5 (r265:79359, Mar 24 2010, 01:32:55)
[GCC 4.0.1 (Apple Inc. build 5493)]
WARNING: Using -v -v on login.py might leak private data. When sharing,
please double check your password is not readable and log out your bots
session.
Password for user ZéroBot on wikipedia:fr:
Logging in to wikipedia:fr as ZéroBot via API.
==== API action:login ====
lgname: ZéroBot
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
==== API action:login ====
lgname: ZéroBot
lgtoken: 1cbee4b71ee3c03363e1d85b79dc5fba
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
==== API action:login ====
lgname: ZéroBot
lgtoken: be0f42b9b6778203a80ab0171d5cc346
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
==== API action:login ====
lgname: ZéroBot
lgtoken: f45811161005473d48511a18a5bebe7d
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
==== API action:login ====
lgname: ZéroBot
lgtoken: 409f6a00197bbeed539b33c23430f43f
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
==== API action:login ====
lgname: ZéroBot
lgtoken: b129317b65966dd3477020e6949b691f
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
==== API action:login ====
lgname: ZéroBot
lgtoken: 8d1d95b7b6f4f865829b3fd98bdfaf25
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
This suite keeps repeating but each time, the value of lgtoken is
different.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-04-09 17:03
Message:
Sorry, must be
use_api_login = True
I'll make it as default
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-04-09 16:46
Message:
Please confirm that your user-config.py contains the following line:
use_api_login = False
use double verbose option -v -v for the next tries and give us the
result.
First use -clean option to ensure you are logged out and the cookies are
deleted.
Verify that the file <family>-<lang>-<user>-login.data does not exist,
for example wikipedia-fr-ZéroBot-login.data
Verify there is no remaining <family>-<user>-central-login.data
Try again to login (with -force option):
login.py -force -v -v
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2010-04-09 14:49
Message:
Still doesn't work for my bot too. My bot doesn't want to connect any more
on wikipedia even after updating pywikipedia.
python login.py
Password for user ZéroBot on wikipedia:fr:
Logging in to wikipedia:fr as ZéroBot
Login failed. Wrong password or CAPTCHA answer?
Configuration : Mac OS X 10.6.3
python version.py
Pywikipedia [http] trunk/pywikipedia (r8069, 2010/04/09, 11:13:53)
Python 2.6.5 (r265:79359, Mar 24 2010, 01:32:55)
[GCC 4.0.1 (Apple Inc. build 5493)]
----------------------------------------------------------------------
Comment By: Linar Khalitov (rubin16)
Date: 2010-04-09 13:49
Message:
still doesn't work for my bot and some others in ru.wiki
C:\pt>python login.py
Password for user Rubinbot on wikipedia:ru:
Logging in to wikipedia:ru as Rubinbot
Login failed. Wrong password or CAPTCHA answer?
C:\pt>python version.py
Pywikipedia [http] trunk/pywikipedia (r8069, 2010/04/09, 11:13:53)
Python 2.6.3 (r263:75183, Oct 5 2009, 14:41:55) [MSC v.1500 32 bit
(Intel)]
I've checked - the password is correct, I've tryed to create new
user-config.py - it doesn't work. I think this bug shouldn't be marked as
fixed yet
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2010-04-07 22:05
Message:
Yes, it should be separate but only on my second comment I got sure of it
:)
anyway, I now get :
Should be logged in now
*** Your username is not listed on [[Wikipedia:Bots/Status]].
*** Please make sure you are allowed to use the robot before actually
using it!
But my bot is listed there. Maybe the physical text has changed...
Thanks
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date: 2010-04-07 21:56
Message:
That typo is really a separate bug, but it's fixed in r8062 [anyway, I
think your bot is logged in even though you got the error message]
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2010-04-07 21:47
Message:
It seems to be linked to xqt's changeset #8055 where the bot status page is
changed to Wikipedia:Bot/Status. In en.wikipedia, this is (still)
Wikipedia:Bots/Status (plural form).
What's the fix?
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2010-04-07 21:41
Message:
I was since I had problems with API login not working properly and
requiring the bot to re-login (unsuccessfully) on every edit.
I just retried API login but I get an exception while logging in to
en.wikipedia (only en.wikipedia and not anywhere else so far):
Logging in to wikipedia:en as MalafayaBot via API.
Should be logged in now
Traceback (most recent call last):
File "D:\Work\pywikipedia\login.py", line 413, in <module>
main()
File "D:\Work\pywikipedia\login.py", line 409, in main
loginMan.login()
File "D:\Work\pywikipedia\login.py", line 306, in login
if not self.botAllowed():
File "D:\Work\pywikipedia\login.py", line 119, in botAllowed
for linkedPage in botListPage.linkedPages():
File "D:\Work\pywikipedia\wikipedia.py", line 2194, in linkedPages
thistxt = removeLanguageLinks(self.get(get_redirect=True),
File "D:\Work\pywikipedia\wikipedia.py", line 618, in get
self._contents = self._getEditPage(get_redirect = get_redirect,
throttle = t
hrottle, sysop = sysop)
File "D:\Work\pywikipedia\wikipedia.py", line 688, in _getEditPage
raise NoPage(self.site(), self.aslink(forceInterwiki = True),"Page
does not
exist. In rare cases, if you are certain the page does exist, look into
overridi
ng family.RversionTab" )
pywikibot.exceptions.NoPage: (wikipedia:en,
u'[[en:Wikipedia:Bot/Status]]', 'Pag
e does not exist. In rare cases, if you are certain the page does exist,
look in
to overriding family.RversionTab')
Version info:
Pywikipedia [http] trunk/pywikipedia (r8061, 2010/04/07, 14:37:56)
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit
(Intel)]
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date: 2010-04-07 19:19
Message:
It should be fixed for everyone using API login (need the line
use_api_login = True in user-config.py). If there is anyone out there not
using API login, you need to change your user-config file.
----------------------------------------------------------------------
Comment By: Multichill (multichill)
Date: 2010-04-07 18:51
Message:
Looks like this was fixed in 8061 by russblau. I assigned the bug to him.
----------------------------------------------------------------------
Comment By: Micthev (micthev)
Date: 2010-04-07 15:45
Message:
bug reported on en.wikipedia :
http://en.wikipedia.org/wiki/Wikipedia:Bot_owners%27_noticeboard#Bots_and_L…
----------------------------------------------------------------------
Comment By: Harri Vartiainen (harriv)
Date: 2010-04-07 15:26
Message:
This should be high priority, since no pywikipedia bot can login Wikipedia
before this is resolved.
----------------------------------------------------------------------
Comment By: Micthev (micthev)
Date: 2010-04-07 14:19
Message:
For me too, the url of bugzilla is
https://bugzilla.wikimedia.org/show_bug.cgi?id=23076
and in fact on browser the captcha is not requested
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2983182&group_…
Bugs item #2983182, was opened at 2010-04-07 14:11
Message generated for change (Comment added) made by toto-azero
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2983182&group_…
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: Open
Resolution: Fixed
Priority: 9
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Russell Blau (russblau)
Summary: login.py
Initial Comment:
Since the change of the API (url) my bot (and some others, after discussion on IRC) can not connect and it's wrote on the consol the error message: "Login failed. Wrong password or CAPTCHA answer?" despite that the correct password is entered and that no captcha is answered on the browser!
----------------------------------------------------------------------
Comment By: Toto Azéro (toto-azero)
Date: 2010-04-09 17:53
Message:
Yes, my user-config.py contains that line :
use_api_login = True
I've checked that there is no file type <family> - <lang> -
<user>-login.data in the "login-data" folder.
And there isn't any file called "fr-ZéroBot-central-login.data"
(<family>-<lang>-<user>-login.data).
I've use the -clean option and I've tried to log in again with the -v -v
and -force options. I can observe that (I've replaced bot's password by
***) :
Pywikipediabot [http] trunk/pywikipedia (r8069, 2010/04/09, 11:13:53)
Python 2.6.5 (r265:79359, Mar 24 2010, 01:32:55)
[GCC 4.0.1 (Apple Inc. build 5493)]
WARNING: Using -v -v on login.py might leak private data. When sharing,
please double check your password is not readable and log out your bots
session.
Password for user ZéroBot on wikipedia:fr:
Logging in to wikipedia:fr as ZéroBot via API.
==== API action:login ====
lgname: ZéroBot
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
==== API action:login ====
lgname: ZéroBot
lgtoken: 1cbee4b71ee3c03363e1d85b79dc5fba
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
==== API action:login ====
lgname: ZéroBot
lgtoken: be0f42b9b6778203a80ab0171d5cc346
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
==== API action:login ====
lgname: ZéroBot
lgtoken: f45811161005473d48511a18a5bebe7d
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
==== API action:login ====
lgname: ZéroBot
lgtoken: 409f6a00197bbeed539b33c23430f43f
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
==== API action:login ====
lgname: ZéroBot
lgtoken: b129317b65966dd3477020e6949b691f
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
==== API action:login ====
lgname: ZéroBot
lgtoken: 8d1d95b7b6f4f865829b3fd98bdfaf25
lgpassword: ***
----------------
Requesting API query from wikipedia:fr
This suite keeps repeating but each time, the value of lgtoken is
different.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-04-09 17:03
Message:
Sorry, must be
use_api_login = True
I'll make it as default
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-04-09 16:46
Message:
Please confirm that your user-config.py contains the following line:
use_api_login = False
use double verbose option -v -v for the next tries and give us the
result.
First use -clean option to ensure you are logged out and the cookies are
deleted.
Verify that the file <family>-<lang>-<user>-login.data does not exist,
for example wikipedia-fr-ZéroBot-login.data
Verify there is no remaining <family>-<user>-central-login.data
Try again to login (with -force option):
login.py -force -v -v
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2010-04-09 14:49
Message:
Still doesn't work for my bot too. My bot doesn't want to connect any more
on wikipedia even after updating pywikipedia.
python login.py
Password for user ZéroBot on wikipedia:fr:
Logging in to wikipedia:fr as ZéroBot
Login failed. Wrong password or CAPTCHA answer?
Configuration : Mac OS X 10.6.3
python version.py
Pywikipedia [http] trunk/pywikipedia (r8069, 2010/04/09, 11:13:53)
Python 2.6.5 (r265:79359, Mar 24 2010, 01:32:55)
[GCC 4.0.1 (Apple Inc. build 5493)]
----------------------------------------------------------------------
Comment By: Linar Khalitov (rubin16)
Date: 2010-04-09 13:49
Message:
still doesn't work for my bot and some others in ru.wiki
C:\pt>python login.py
Password for user Rubinbot on wikipedia:ru:
Logging in to wikipedia:ru as Rubinbot
Login failed. Wrong password or CAPTCHA answer?
C:\pt>python version.py
Pywikipedia [http] trunk/pywikipedia (r8069, 2010/04/09, 11:13:53)
Python 2.6.3 (r263:75183, Oct 5 2009, 14:41:55) [MSC v.1500 32 bit
(Intel)]
I've checked - the password is correct, I've tryed to create new
user-config.py - it doesn't work. I think this bug shouldn't be marked as
fixed yet
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2010-04-07 22:05
Message:
Yes, it should be separate but only on my second comment I got sure of it
:)
anyway, I now get :
Should be logged in now
*** Your username is not listed on [[Wikipedia:Bots/Status]].
*** Please make sure you are allowed to use the robot before actually
using it!
But my bot is listed there. Maybe the physical text has changed...
Thanks
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date: 2010-04-07 21:56
Message:
That typo is really a separate bug, but it's fixed in r8062 [anyway, I
think your bot is logged in even though you got the error message]
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2010-04-07 21:47
Message:
It seems to be linked to xqt's changeset #8055 where the bot status page is
changed to Wikipedia:Bot/Status. In en.wikipedia, this is (still)
Wikipedia:Bots/Status (plural form).
What's the fix?
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2010-04-07 21:41
Message:
I was since I had problems with API login not working properly and
requiring the bot to re-login (unsuccessfully) on every edit.
I just retried API login but I get an exception while logging in to
en.wikipedia (only en.wikipedia and not anywhere else so far):
Logging in to wikipedia:en as MalafayaBot via API.
Should be logged in now
Traceback (most recent call last):
File "D:\Work\pywikipedia\login.py", line 413, in <module>
main()
File "D:\Work\pywikipedia\login.py", line 409, in main
loginMan.login()
File "D:\Work\pywikipedia\login.py", line 306, in login
if not self.botAllowed():
File "D:\Work\pywikipedia\login.py", line 119, in botAllowed
for linkedPage in botListPage.linkedPages():
File "D:\Work\pywikipedia\wikipedia.py", line 2194, in linkedPages
thistxt = removeLanguageLinks(self.get(get_redirect=True),
File "D:\Work\pywikipedia\wikipedia.py", line 618, in get
self._contents = self._getEditPage(get_redirect = get_redirect,
throttle = t
hrottle, sysop = sysop)
File "D:\Work\pywikipedia\wikipedia.py", line 688, in _getEditPage
raise NoPage(self.site(), self.aslink(forceInterwiki = True),"Page
does not
exist. In rare cases, if you are certain the page does exist, look into
overridi
ng family.RversionTab" )
pywikibot.exceptions.NoPage: (wikipedia:en,
u'[[en:Wikipedia:Bot/Status]]', 'Pag
e does not exist. In rare cases, if you are certain the page does exist,
look in
to overriding family.RversionTab')
Version info:
Pywikipedia [http] trunk/pywikipedia (r8061, 2010/04/07, 14:37:56)
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit
(Intel)]
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date: 2010-04-07 19:19
Message:
It should be fixed for everyone using API login (need the line
use_api_login = True in user-config.py). If there is anyone out there not
using API login, you need to change your user-config file.
----------------------------------------------------------------------
Comment By: Multichill (multichill)
Date: 2010-04-07 18:51
Message:
Looks like this was fixed in 8061 by russblau. I assigned the bug to him.
----------------------------------------------------------------------
Comment By: Micthev (micthev)
Date: 2010-04-07 15:45
Message:
bug reported on en.wikipedia :
http://en.wikipedia.org/wiki/Wikipedia:Bot_owners%27_noticeboard#Bots_and_L…
----------------------------------------------------------------------
Comment By: Harri Vartiainen (harriv)
Date: 2010-04-07 15:26
Message:
This should be high priority, since no pywikipedia bot can login Wikipedia
before this is resolved.
----------------------------------------------------------------------
Comment By: Micthev (micthev)
Date: 2010-04-07 14:19
Message:
For me too, the url of bugzilla is
https://bugzilla.wikimedia.org/show_bug.cgi?id=23076
and in fact on browser the captcha is not requested
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2983182&group_…
Bugs item #2983182, was opened at 2010-04-07 14:11
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2983182&group_…
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: Open
Resolution: Fixed
Priority: 9
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Russell Blau (russblau)
Summary: login.py
Initial Comment:
Since the change of the API (url) my bot (and some others, after discussion on IRC) can not connect and it's wrote on the consol the error message: "Login failed. Wrong password or CAPTCHA answer?" despite that the correct password is entered and that no captcha is answered on the browser!
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-04-09 17:03
Message:
Sorry, must be
use_api_login = True
I'll make it as default
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-04-09 16:46
Message:
Please confirm that your user-config.py contains the following line:
use_api_login = False
use double verbose option -v -v for the next tries and give us the
result.
First use -clean option to ensure you are logged out and the cookies are
deleted.
Verify that the file <family>-<lang>-<user>-login.data does not exist,
for example wikipedia-fr-ZéroBot-login.data
Verify there is no remaining <family>-<user>-central-login.data
Try again to login (with -force option):
login.py -force -v -v
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2010-04-09 14:49
Message:
Still doesn't work for my bot too. My bot doesn't want to connect any more
on wikipedia even after updating pywikipedia.
python login.py
Password for user ZéroBot on wikipedia:fr:
Logging in to wikipedia:fr as ZéroBot
Login failed. Wrong password or CAPTCHA answer?
Configuration : Mac OS X 10.6.3
python version.py
Pywikipedia [http] trunk/pywikipedia (r8069, 2010/04/09, 11:13:53)
Python 2.6.5 (r265:79359, Mar 24 2010, 01:32:55)
[GCC 4.0.1 (Apple Inc. build 5493)]
----------------------------------------------------------------------
Comment By: Linar Khalitov (rubin16)
Date: 2010-04-09 13:49
Message:
still doesn't work for my bot and some others in ru.wiki
C:\pt>python login.py
Password for user Rubinbot on wikipedia:ru:
Logging in to wikipedia:ru as Rubinbot
Login failed. Wrong password or CAPTCHA answer?
C:\pt>python version.py
Pywikipedia [http] trunk/pywikipedia (r8069, 2010/04/09, 11:13:53)
Python 2.6.3 (r263:75183, Oct 5 2009, 14:41:55) [MSC v.1500 32 bit
(Intel)]
I've checked - the password is correct, I've tryed to create new
user-config.py - it doesn't work. I think this bug shouldn't be marked as
fixed yet
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2010-04-07 22:05
Message:
Yes, it should be separate but only on my second comment I got sure of it
:)
anyway, I now get :
Should be logged in now
*** Your username is not listed on [[Wikipedia:Bots/Status]].
*** Please make sure you are allowed to use the robot before actually
using it!
But my bot is listed there. Maybe the physical text has changed...
Thanks
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date: 2010-04-07 21:56
Message:
That typo is really a separate bug, but it's fixed in r8062 [anyway, I
think your bot is logged in even though you got the error message]
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2010-04-07 21:47
Message:
It seems to be linked to xqt's changeset #8055 where the bot status page is
changed to Wikipedia:Bot/Status. In en.wikipedia, this is (still)
Wikipedia:Bots/Status (plural form).
What's the fix?
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2010-04-07 21:41
Message:
I was since I had problems with API login not working properly and
requiring the bot to re-login (unsuccessfully) on every edit.
I just retried API login but I get an exception while logging in to
en.wikipedia (only en.wikipedia and not anywhere else so far):
Logging in to wikipedia:en as MalafayaBot via API.
Should be logged in now
Traceback (most recent call last):
File "D:\Work\pywikipedia\login.py", line 413, in <module>
main()
File "D:\Work\pywikipedia\login.py", line 409, in main
loginMan.login()
File "D:\Work\pywikipedia\login.py", line 306, in login
if not self.botAllowed():
File "D:\Work\pywikipedia\login.py", line 119, in botAllowed
for linkedPage in botListPage.linkedPages():
File "D:\Work\pywikipedia\wikipedia.py", line 2194, in linkedPages
thistxt = removeLanguageLinks(self.get(get_redirect=True),
File "D:\Work\pywikipedia\wikipedia.py", line 618, in get
self._contents = self._getEditPage(get_redirect = get_redirect,
throttle = t
hrottle, sysop = sysop)
File "D:\Work\pywikipedia\wikipedia.py", line 688, in _getEditPage
raise NoPage(self.site(), self.aslink(forceInterwiki = True),"Page
does not
exist. In rare cases, if you are certain the page does exist, look into
overridi
ng family.RversionTab" )
pywikibot.exceptions.NoPage: (wikipedia:en,
u'[[en:Wikipedia:Bot/Status]]', 'Pag
e does not exist. In rare cases, if you are certain the page does exist,
look in
to overriding family.RversionTab')
Version info:
Pywikipedia [http] trunk/pywikipedia (r8061, 2010/04/07, 14:37:56)
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit
(Intel)]
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date: 2010-04-07 19:19
Message:
It should be fixed for everyone using API login (need the line
use_api_login = True in user-config.py). If there is anyone out there not
using API login, you need to change your user-config file.
----------------------------------------------------------------------
Comment By: Multichill (multichill)
Date: 2010-04-07 18:51
Message:
Looks like this was fixed in 8061 by russblau. I assigned the bug to him.
----------------------------------------------------------------------
Comment By: Micthev (micthev)
Date: 2010-04-07 15:45
Message:
bug reported on en.wikipedia :
http://en.wikipedia.org/wiki/Wikipedia:Bot_owners%27_noticeboard#Bots_and_L…
----------------------------------------------------------------------
Comment By: Harri Vartiainen (harriv)
Date: 2010-04-07 15:26
Message:
This should be high priority, since no pywikipedia bot can login Wikipedia
before this is resolved.
----------------------------------------------------------------------
Comment By: Micthev (micthev)
Date: 2010-04-07 14:19
Message:
For me too, the url of bugzilla is
https://bugzilla.wikimedia.org/show_bug.cgi?id=23076
and in fact on browser the captcha is not requested
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2983182&group_…