https://bugzilla.wikimedia.org/show_bug.cgi?id=55183
Web browser: --- Bug ID: 55183 Summary: interwiki and login errors on en.wiki Product: Pywikibot Version: unspecified Hardware: All OS: All Status: ASSIGNED Severity: normal Priority: Unprioritized Component: login.py Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1488/ Reported by: reza1615 Created on: 2012-07-08 12:29:13 Subject: interwiki and login errors on en.wiki Assigned to: xqt Original description: my bot (Rezabot) has a flag on en.wiki and it is not blocked there but it couldn't edit on there
File "interwiki.py", line 2296, in run self.queryStep() File "interwiki.py", line 2274, in queryStep subj.finish(self) File "interwiki.py", line 1723, in finish if self.replaceLinks(page, new, bot): File "interwiki.py", line 1961, in replaceLinks status, reason, data = page.put(newtext, comment=mcomment) File "/home/reza/pywikipedia/wikipedia.py", line 2024, in put newPage, self.site().getToken(sysop = sysop), sysop = sysop, botflag=botflag, maxTries=maxTries) File "/home/reza/pywikipedia/wikipedia.py", line 2143, in _putPage self.site().checkBlocks(sysop = sysop) File "/home/reza/pywikipedia/wikipedia.py", line 5461, in checkBlocks raise UserBlocked('User is blocked in site %s' % self) pywikibot.exceptions.UserBlocked: User is blocked in site wikipedia:en
also my bots name is listed on [[Wikipedia:Bots/Status]] bot iterwiki code says it's name is not in the list!
https://bugzilla.wikimedia.org/show_bug.cgi?id=55183
--- Comment #1 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- - **summary**: error on en.wiki --> interwiki and login errors on en.wiki
https://bugzilla.wikimedia.org/show_bug.cgi?id=55183
--- Comment #2 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- could you try another edit with -v option to get mor output
https://bugzilla.wikimedia.org/show_bug.cgi?id=55183
--- Comment #3 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- Also check to make sure you are still logged in. (try running login.py and see if that fixes it.)
https://bugzilla.wikimedia.org/show_bug.cgi?id=55183
--- Comment #4 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- thank you for your answer after new update the bot blocking error is solved.:) but still now it shows this massage. it should not show this because my bot is registered and flag in en.wiki
the massage
WARNING: Your account on wikipedia:en is blocked by Anomie. Reason: Softblock: Toolserver bots should not be editing logged out. Consult [[WT:BOTPOL]] for consensus discussion. Editing using this account will stop the run.
NOTE: You have new messages on wikipedia:en Logging in to wikipedia:en as rezabot via API. Should be logged in now *** Your username is not listed on [[[u'Wikipedia:Bots/Status', 'BotS']]]. *** Please make sure you are allowed to use the robot before actually using it!
https://bugzilla.wikimedia.org/show_bug.cgi?id=55183
--- Comment #5 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- It looks like the bot's IP was blocked [1] and it seems the bot was editing as anonymous account. On the other hand I don't know why/how that (bot working as IP) happens. Could you check your bot's IP edits?
The second message is due to the Botstatus templates has been moved into a subfolder. Will be fixed soon.
[1]: http://en.wikipedia.org/wiki/Wikipedia:SOFTBLOCK%5C#Setting%5C_block%5C_opti...
https://bugzilla.wikimedia.org/show_bug.cgi?id=55183
--- Comment #6 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- fix for NOTE: message done in r10446/r10447
https://bugzilla.wikimedia.org/show_bug.cgi?id=55183
--- Comment #7 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- - **labels**: 745455 --> login - **assigned_to**: nobody --> xqt
https://bugzilla.wikimedia.org/show_bug.cgi?id=55183
--- Comment #8 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- my bot is edits on toolserver and toolserver ip is blocked and it edits by it's user name correctly https://en.wikipedia.org/w/index.php?limit=50&tagfilter=&title=Speci...
I checked new update but it has the same error message also my bot is listed on Wikipedia:Bots/Status/active bots
massage
pywikipedia$ python login.py -lang:en Logging in to wikipedia:en as rezabot via API. Should be logged in now *** Your username is not listed on [[[u'Wikipedia:Bots/Status/active bots', 'BotS']]]. *** Please make sure you are allowed to use the robot before actually using it!
https://bugzilla.wikimedia.org/show_bug.cgi?id=55183
Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceforge.net/p/p | |ywikipediabot/bugs/1488
https://bugzilla.wikimedia.org/show_bug.cgi?id=55183
xqt info@gno.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW CC| |info@gno.de Version|unspecified |compat (1.0)
https://bugzilla.wikimedia.org/show_bug.cgi?id=55183
Amir Ladsgroup ladsgroup@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |ladsgroup@gmail.com, | |reza.energy@gmail.com Resolution|--- |INVALID
--- Comment #9 from Amir Ladsgroup ladsgroup@gmail.com --- Trying to run interwiki.py while not logged in returns this error that is completely valid
pywikipedia-bugs@lists.wikimedia.org