Bugs item #3541362, was opened at 2012-07-08 05:29 Message generated for change (Comment added) made by reza1615 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3541362...
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: None Priority: 5 Private: No Submitted By: reza (reza1615) Assigned to: xqt (xqt) Summary: interwiki and login errors on en.wiki
Initial Comment: 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!
----------------------------------------------------------------------
Comment By: reza (reza1615)
Date: 2012-07-09 06:42
Message: 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!
----------------------------------------------------------------------
Comment By: xqt (xqt) Date: 2012-07-09 01:22
Message: fix for NOTE: message done in r10446/r10447
----------------------------------------------------------------------
Comment By: xqt (xqt) Date: 2012-07-09 01:12
Message: 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#Setting_block_options
----------------------------------------------------------------------
Comment By: reza (reza1615) Date: 2012-07-08 14:05
Message: 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!
----------------------------------------------------------------------
Comment By: betacommand (betacommand) Date: 2012-07-08 07:48
Message: Also check to make sure you are still logged in. (try running login.py and see if that fixes it.)
----------------------------------------------------------------------
Comment By: xqt (xqt) Date: 2012-07-08 05:37
Message: could you try another edit with -v option to get mor output
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3541362...