Bugs item #3548086, was opened at 2012-07-24 17:09
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3548086&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Documentation Error get in wikipedia.py
Initial Comment:
The documentation for wikipedia.py in the latest version that I checked out on July 24 2012
for method get
says @exception IsRedirectPage The page is a redirect. The argument of the
exception is the title of the page it
redirects to.
but in fact the argument of the exception is actually a Page object not a string of text
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3548086&group_…
Bugs item #3548034, was opened at 2012-07-24 14:52
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3548034&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: other
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Archivebot.py adds to archive first, checks then
Initial Comment:
Archivebot.py seems to add first to archive page, and only then does the size check. better way to work would be:
Check if the size of archive page is less than limit.
If No, increase counter and go to begin
If Yes, archive
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3548034&group_…
Bugs item #3547327, was opened at 2012-07-22 10:20
Message generated for change (Comment added) made by harriv
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3547327&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: cosmetic changes
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Harriv (harriv)
Assigned to: Nobody/Anonymous (nobody)
Summary: cosmetics_changes.py chokes on big article
Initial Comment:
I tried to create list of 55000+ page category with category.py and cosmetic_changes enabled. Script seems to hang for a very long time. If cosmetic changes are disable, this doesn't occur.
Here's stack trace when CTRL-C is pressed:
^CTraceback (most recent call last):
File "category.py", line 1005, in <module>
main()
File "category.py", line 998, in main
bot.run()
File "category.py", line 536, in run
self.list.put(listString, comment=self.editSummary)
File "/home/users/harriv/wikibot/tmp/pywikipedia/wikipedia.py", line 2005, in put
newtext = ccToolkit.change(newtext)
File "/home/users/harriv/wikibot/tmp/pywikipedia/cosmetic_changes.py", line 166, in change
text = self.cleanUpLinks(text)
File "/home/users/harriv/wikibot/tmp/pywikipedia/cosmetic_changes.py", line 517, in cleanUpLinks
'startspace'])
File "/home/users/harriv/wikibot/tmp/pywikipedia/pywikibot/textlib.py", line 135, in replaceExcept
excMatch = dontTouchR.search(text, index)
KeyboardInterrupt
Version info:
Pywikipedia [http] trunk/pywikipedia (r10461, 2012/07/22, 16:33:39)
Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48)
[GCC 4.4.5]
config-settings:
use_api = True
use_api_login = True
unicode test: triggers problem #3081100
----------------------------------------------------------------------
>Comment By: Harriv (harriv)
Date: 2012-07-24 00:00
Message:
Script doesn't stop if cosmetic changes are disabled.
My hosting provider is using Debian, and they have not yet updated Python..
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2012-07-23 21:39
Message:
Oh and btw you should update your python to release 2.7.2/3 when you are
working on several language sites due to unicode bug.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2012-07-23 21:36
Message:
Have you checked this issue with cosmetic changes disabled?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3547327&group_…
Bugs item #3547327, was opened at 2012-07-22 10:20
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3547327&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: cosmetic changes
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Harriv (harriv)
Assigned to: Nobody/Anonymous (nobody)
Summary: cosmetics_changes.py chokes on big article
Initial Comment:
I tried to create list of 55000+ page category with category.py and cosmetic_changes enabled. Script seems to hang for a very long time. If cosmetic changes are disable, this doesn't occur.
Here's stack trace when CTRL-C is pressed:
^CTraceback (most recent call last):
File "category.py", line 1005, in <module>
main()
File "category.py", line 998, in main
bot.run()
File "category.py", line 536, in run
self.list.put(listString, comment=self.editSummary)
File "/home/users/harriv/wikibot/tmp/pywikipedia/wikipedia.py", line 2005, in put
newtext = ccToolkit.change(newtext)
File "/home/users/harriv/wikibot/tmp/pywikipedia/cosmetic_changes.py", line 166, in change
text = self.cleanUpLinks(text)
File "/home/users/harriv/wikibot/tmp/pywikipedia/cosmetic_changes.py", line 517, in cleanUpLinks
'startspace'])
File "/home/users/harriv/wikibot/tmp/pywikipedia/pywikibot/textlib.py", line 135, in replaceExcept
excMatch = dontTouchR.search(text, index)
KeyboardInterrupt
Version info:
Pywikipedia [http] trunk/pywikipedia (r10461, 2012/07/22, 16:33:39)
Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48)
[GCC 4.4.5]
config-settings:
use_api = True
use_api_login = True
unicode test: triggers problem #3081100
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2012-07-23 21:39
Message:
Oh and btw you should update your python to release 2.7.2/3 when you are
working on several language sites due to unicode bug.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2012-07-23 21:36
Message:
Have you checked this issue with cosmetic changes disabled?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3547327&group_…