Feature Requests item #1442725, was opened at 2006-03-03 21:06
Message generated for change (Settings changed) made by sf-robot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1442725&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: Interface Improvements
Group: None
>Status: Closed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: category.py for listdriven processing?
Initial Comment:
After understanding the basic documentation of
category.py I used it to move all articles of oldcategory
to a newcategory.
As I do such categorywork I review the articles in
oldcategory and come up with a csv-list prepared in EXCEL
with two columns ARTICLE and destination category.
Would it be possible to give category.py two parameters:
1. Sourcecategory to be removed
2. name of textfile that contains the 2 rows
category.py or categoryX.py should do then:
For alle articles in the textfile
remove the Sourcecategory
add the destination category as given in textfile
This would be a great help in category-work.
I don't know wether this is a new feature request or
should be possible with existing category.py, but I
mean documention does not stipulate that this is possible.
Kind regards
Ollio (de-wiki)
----------------------------------------------------------------------
>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 16:10
Message:
Please let us know if this feature request is still applicable to the
current code. If no response is given, the feature request will be denied
and the issue will be closed in two weeks from now. This message was added
in
an effort to reduce the number of open issues on this project.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1442725&group_…
Feature Requests item #1449313, was opened at 2006-03-14 02:12
Message generated for change (Comment added) made by sf-robot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1449313&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: Closed
Priority: 5
Private: No
Submitted By: Pedro Sanchez (drini)
Assigned to: Nobody/Anonymous (nobody)
Summary: -except for template.py
Initial Comment:
While I was substing some templates I've been requested
not to subst on certain pages, which makes things hard
as template.py doens't support -except like replace.py
does.
Would it be difficult to implement it?
----------------------------------------------------------------------
>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 16:13
Message:
Please let us know if this feature request is still applicable to the
current code. If no response is given, the feature request will be denied
and the issue will be closed in two weeks from now. This message was added
in an effort to reduce the number of open issues on this project.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1449313&group_…
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=1757704&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: 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=edit.
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=edit.
Maybe the server is down. Retrying in 1 minutes...
WARNING: No text area found on en.wikidoc.org/index.php?title=MediaWiki:spamprotectiontitle&action=edit.
Maybe the server is down. Retrying in 2 minutes...
WARNING: No text area found on en.wikidoc.org/index.php?title=MediaWiki:spamprotectiontitle&action=edit.
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=edit.
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=1757704&group_…
Bugs item #2013579, was opened at 2008-07-08 15:10
Message generated for change (Settings changed) made by sf-robot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2013579&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: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Nightshadow28 (nightshadow28)
Assigned to: Nobody/Anonymous (nobody)
Summary: blockedpageschecker often aborts with "API problem".
Initial Comment:
blockedpageschecker often aborts with "API problem" at unsettled article.
Japanese Wikipedia often has slowly response now, so the bot may fail not to be handling some exception.
-----
Loading [[B'z The Best "ULTRA Treasure"]]...
Traceback (most recent call last):
File "/home/John_Doe/pywikipedia-new/pagegenerators.py", line 763, in __iter__
yield loaded_page
GeneratorExit
Traceback (most recent call last):
File "blockpageschecker.py", line 400, in <module>
main()
File "blockpageschecker.py", line 257, in main
restrictions = page.getRestrictions()
File "/home/John_Doe/pywikipedia/wikipedia.py", line 1165, in getRestrictions
raise Error("BUG> API problem.")
wikipedia.Error: BUG> API problem.
John_Doe@hogehoge:~/pywikipedia$
oading [[]]...
Traceback (most recent call last):
File "/home/John_Doe/pywikipedia-new/pagegenerators.py", line 763, in __iter__
yield loaded_page
GeneratorExit
Traceback (most recent call last):
File "blockpageschecker.py", line 400, in <module>
main()
File "blockpageschecker.py", line 257, in main
restrictions = page.getRestrictions()
File "/home/John_Doe/pywikipedia/wikipedia.py", line 1165, in getRestrictions
raise Error("BUG> API problem.")
wikipedia.Error: BUG> API problem.
John_Doe@hogehoge:~/pywikipedia$
-----
Pywikipedia [http] trunk/pywikipedia (r5693, Jul 08 2008, 12:26:17)
Python 2.5.2 (r252:60911, Apr 21 2008, 11:12:42)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]
----------------------------------------------------------------------
>Comment By: SourceForge Robot (sf-robot)
Date: 2009-11-01 02:20
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:02
Message:
As actual release is r7489, is this bug is still valid?
----------------------------------------------------------------------
Comment By: Nightshadow28 (nightshadow28)
Date: 2008-07-08 15:13
Message:
Logged In: YES
user_id=1971526
Originator: YES
I attached traceback as text file on SF. Thanks.
File Added: blockepageschecker.txt
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2013579&group_…
Bugs item #2815359, was opened at 2009-07-01 18:49
Message generated for change (Settings changed) made by sf-robot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2815359&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: Closed
Resolution: Works For Me
Priority: 5
Private: No
Submitted By: Taxman (taxman457f)
Assigned to: xqt (xqt)
Summary: ValueError: on updating links
Initial Comment:
I was running pywikipedia -confirm manually on http://es.wikipedia.org/wiki/Tango. After resolving a number of conflicts it was finally ready to save but returned the following traceback:
What should be done? ([A]ccept, [r]eject, [g]ive up, accept a[l]l) a
Updating links on page [[es:Tango]].
Dump es (wikipedia) saved
Traceback (most recent call last):
File "interwiki.py", line 2156, in <module>
bot.run()
File "interwiki.py", line 1865, in run
self.queryStep()
File "interwiki.py", line 1843, in queryStep
subj.finish(self)
File "interwiki.py", line 1401, in finish
if self.replaceLinks(page, new, bot):
File "interwiki.py", line 1501, in replaceLinks
mods, mcomment, adding, removing, modifying = compareLanguages(old, new, insite = page.site())
File "interwiki.py", line 1893, in compareLanguages
head, add, rem, mod = wikipedia.translate(insite.lang, msg)
ValueError: need more than 3 values to unpack
I'm at pywikipedia revision 7010 running on Ubuntu 9.04
taxman@taxman-desktop:~/pyawb/pywikipedia$ python version.py
Pywikipedia [http] trunk/pywikipedia (r7009, Jul 01 2009, 15:15:50)
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3]
----------------------------------------------------------------------
>Comment By: SourceForge Robot (sf-robot)
Date: 2009-11-01 02:20
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 13:16
Message:
I couldn't retrace this bug.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2815359&group_…