Bugs item #1757704, was opened at 2007-07-20 17:32
Message generated for change (Settings changed) made by sf-robot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=175770…
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: category
Group: None
Status: Closed
Resolution: Out of Date
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: category.py add/move (WARNING: No text area found)
Initial Comment:
Strange behavior with -category.py add- and -category.py move- on a non-mediawiki family.
Sequence of events is as follows:
1. command: $ python category.py move # or add
2. Changing page [[en:Ddx:Acquired Cardiac Valve Disease]]
3. "WARNING: No text area found on
en.wikidoc.org/index.php?title=MediaWiki:spamprotectiontitle&action=edit .
Maybe the server is down. Retrying in 1 minutes..." ... which results in an endless
loop of warning and waiting (see below) though the server is not down
4. I look at [[Ddx:Acquired Cardiac Valve Disease]] via firefox, the category links have
been moved/changed successfully (though not for other pages).
Questions: why is there a warning when the action is successful? Also, how to allow the
script to go on to the next page of the several?
See below for BASH output (wiki is
http://www.wikidoc.org, bot is running as Jackbot,
using CVS version of pywikipediabot updated 7.19.07, mediawiki version 1.9.3).
$ python category.py move
Checked for running processes. 1 processes currently running, including the current
process.
Reading dump from category.dump.bz2
Please enter the old name of the category: Ddx
Please enter the new name of the category: Signs and Symptoms
Getting [[Category:Ddx]]...
Getting 60 pages from wikidoc:en...
Sleeping for 5.7 seconds, 2007-07-20 13:02:42
Getting a page to check if we're logged in on wikidoc:en
Changing page [[en:Ddx:Acne]]
WARNING: No text area found on
en.wikidoc.org/index.php?title=MediaWiki:spamprotectiontitle&action=editedit.
Maybe the server is down. Retrying in 1 minutes...
Dumping to category.dump.bz2, please wait...
Traceback (most recent call last):
File "category.py", line 816, in <module>
bot.run()
File "category.py", line 352, in run
catlib.change_category(article, self.oldCat, newCat, inPlace=self.inPlace)
File "/home/jburos/pywikipediabot/pywikipedia/catlib.py", line 447, in
change_category
article.put(text, comment)
File "/home/jburos/pywikipediabot/pywikipedia/wikipedia.py", line 1095, in
put
return self.putPage(newtext, comment, watchArticle, minorEdit, newPage,
self.site().getToken(sysop = sysop), sysop = sysop)
File "/home/jburos/pywikipediabot/pywikipedia/wikipedia.py", line 1185, in
putPage
elif self.site().has_mediawiki_message("spamprotectiontitle")\
File "/home/jburos/pywikipediabot/pywikipedia/wikipedia.py", line 3439, in
has_mediawiki_message
v = self.mediawiki_message(key)
File "/home/jburos/pywikipediabot/pywikipedia/wikipedia.py", line 3407, in
mediawiki_message
time.sleep(retry_idle_time * 60)
KeyboardInterrupt
$ python category.py add
Checked for running processes. 1 processes currently running, including the current
process.
Reading dump from category.dump.bz2
Wiki page with list of pages to change: Testpages
==> 3 pages to process
Category to add (do not give namespace): Signs and Symptoms
[[Ddx:Acne]] [y/n/a(ll)]: n
[[Ddx:Acquired Cardiac Valve Disease]] [y/n/a(ll)]: y
Current categories:
* Category:Ddx
* Category:Cardiac Disease
Adding [[Category:Signs and Symptoms]]
Getting a page to check if we're logged in on wikidoc:en
Changing page [[en:Ddx:Acquired Cardiac Valve Disease]]
WARNING: No text area found on
en.wikidoc.org/index.php?title=MediaWiki:spamprotectiontitle&action=editedit.
Maybe the server is down. Retrying in 1 minutes...
WARNING: No text area found on
en.wikidoc.org/index.php?title=MediaWiki:spamprotectiontitle&action=editedit.
Maybe the server is down. Retrying in 2 minutes...
WARNING: No text area found on
en.wikidoc.org/index.php?title=MediaWiki:spamprotectiontitle&action=editedit.
Maybe the server is down. Retrying in 4 minutes...
Checked for running processes. 1 processes currently running, including the current
process.
WARNING: No text area found on
en.wikidoc.org/index.php?title=MediaWiki:spamprotectiontitle&action=editedit.
Maybe the server is down. Retrying in 8 minutes...
Dumping to category.dump.bz2, please wait...
Traceback (most recent call last):
File "category.py", line 804, in <module>
add_category(sort_by_last_name)
File "category.py", line 326, in add_category
page.put(text)
File "/home/jburos/pywikipediabot/pywikipedia/wikipedia.py", line 1095, in
put
return self.putPage(newtext, comment, watchArticle, minorEdit, newPage,
self.site().getToken(sysop = sysop), sysop = sysop)
File "/home/jburos/pywikipediabot/pywikipedia/wikipedia.py", line 1185, in
putPage
elif self.site().has_mediawiki_message("spamprotectiontitle")\
File "/home/jburos/pywikipediabot/pywikipedia/wikipedia.py", line 3439, in
has_mediawiki_message
v = self.mediawiki_message(key)
File "/home/jburos/pywikipediabot/pywikipedia/wikipedia.py", line 3407, in
mediawiki_message
time.sleep(retry_idle_time * 60)
KeyboardInterrupt
----------------------------------------------------------------------
Comment By: SourceForge Robot (sf-robot)
Date:
2009-11-01 02:21
Message:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-10-17 15:32
Message:
Tell us whether this bug is still valid. There where a lot of changes since
your request.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=175770…