Last modified: 2014-07-24 09:43:44 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57183, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55183 - interwiki and login errors on en.wiki
interwiki and login errors on en.wiki
Status: RESOLVED INVALID
Product: Pywikibot
Classification: Unclassified
login.py (Other open bugs)
compat-(1.0)
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 04:38 UTC by Kunal Mehta (Legoktm)
Modified: 2014-07-24 09:43 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 04:38:50 UTC
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\!
Comment 1 Kunal Mehta (Legoktm) 2013-10-05 04:38:52 UTC
- **summary**: error on en.wiki --> interwiki and login errors on en.wiki
Comment 2 Kunal Mehta (Legoktm) 2013-10-05 04:38:54 UTC
could you try another edit with -v option to get mor output
Comment 3 Kunal Mehta (Legoktm) 2013-10-05 04:38:56 UTC
Also check to make sure you are still logged in. \(try running login.py and see if that fixes it.\)
Comment 4 Kunal Mehta (Legoktm) 2013-10-05 04:38:58 UTC
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 5 Kunal Mehta (Legoktm) 2013-10-05 04:38:59 UTC
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 6 Kunal Mehta (Legoktm) 2013-10-05 04:39:01 UTC
fix for NOTE: message done in r10446/r10447
Comment 7 Kunal Mehta (Legoktm) 2013-10-05 04:39:03 UTC
- **labels**: 745455 --> login
- **assigned_to**: nobody --> xqt
Comment 8 Kunal Mehta (Legoktm) 2013-10-05 04:39:05 UTC
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=Special%3AContributions&contribs=user&target=rezabot&namespace=&tagfilter=&year=&month=-1

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 9 Amir Ladsgroup 2014-07-24 09:43:44 UTC
Trying to run interwiki.py while not logged in returns this error that is completely valid

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links