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: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 #3547316, was opened at 2012-07-22 09:34
Message generated for change (Comment added) made by harriv
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3547316&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Harriv (harriv)
Assigned to: xqt (xqt)
Summary: category.py listify cannot create a new page
Initial Comment:
Error message:
Creating page [[Elavat henkilot]] via API
HTTPError: 500 Internal Server Error
WARNING: Could not open 'http://fi.wikipedia.org/w/api.php'.
Maybe the server is down. Retrying in 1 minutes...
This repats multiple times.
Version info:
Pywikipedia [http] trunk/pywikipedia (r10457, 2012/07/15, 08:27:45)
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-22 10:30
Message:
Problem is related with big page size. Page with 3 articles goes thru, but
page with 55000+ articles creates this error.
----------------------------------------------------------------------
Comment By: Harriv (harriv)
Date: 2012-07-22 09:48
Message:
I can open http://fi.wikipedia.org/w/api.php with my browser ok, so
Wikipedia server is working ok. Same bot also uses archivebot.py without
problems (editing and creating pages).
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2012-07-22 09:42
Message:
This is not a bug but the normal way handling server errors: increasing the
wait time and try again.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3547316&group_…
Bugs item #3547327, was opened at 2012-07-22 10:20
Message generated for change (Tracker Item Submitted) 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
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3547327&group_…
Bugs item #3547316, was opened at 2012-07-22 09:34
Message generated for change (Comment added) made by harriv
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3547316&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: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: Harriv (harriv)
Assigned to: xqt (xqt)
Summary: category.py listify cannot create a new page
Initial Comment:
Error message:
Creating page [[Elavat henkilot]] via API
HTTPError: 500 Internal Server Error
WARNING: Could not open 'http://fi.wikipedia.org/w/api.php'.
Maybe the server is down. Retrying in 1 minutes...
This repats multiple times.
Version info:
Pywikipedia [http] trunk/pywikipedia (r10457, 2012/07/15, 08:27:45)
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-22 09:48
Message:
I can open http://fi.wikipedia.org/w/api.php with my browser ok, so
Wikipedia server is working ok. Same bot also uses archivebot.py without
problems (editing and creating pages).
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2012-07-22 09:42
Message:
This is not a bug but the normal way handling server errors: increasing the
wait time and try again.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3547316&group_…
Bugs item #3547316, was opened at 2012-07-22 09:34
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3547316&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: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: Harriv (harriv)
>Assigned to: xqt (xqt)
Summary: category.py listify cannot create a new page
Initial Comment:
Error message:
Creating page [[Elavat henkilot]] via API
HTTPError: 500 Internal Server Error
WARNING: Could not open 'http://fi.wikipedia.org/w/api.php'.
Maybe the server is down. Retrying in 1 minutes...
This repats multiple times.
Version info:
Pywikipedia [http] trunk/pywikipedia (r10457, 2012/07/15, 08:27:45)
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-22 09:42
Message:
This is not a bug but the normal way handling server errors: increasing the
wait time and try again.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3547316&group_…
Bugs item #3547316, was opened at 2012-07-22 09:34
Message generated for change (Tracker Item Submitted) made by harriv
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3547316&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Harriv (harriv)
Assigned to: Nobody/Anonymous (nobody)
Summary: category.py listify cannot create a new page
Initial Comment:
Error message:
Creating page [[Elavat henkilot]] via API
HTTPError: 500 Internal Server Error
WARNING: Could not open 'http://fi.wikipedia.org/w/api.php'.
Maybe the server is down. Retrying in 1 minutes...
This repats multiple times.
Version info:
Pywikipedia [http] trunk/pywikipedia (r10457, 2012/07/15, 08:27:45)
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
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3547316&group_…
Feature Requests item #3537366, was opened at 2012-06-23 07:28
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3537366&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: 6
Private: No
Submitted By: YFdyh000 (yfdyh000)
Assigned to: Nobody/Anonymous (nobody)
Summary: Proposed add -skipconflictpage to interwiki.py
Initial Comment:
Features: If robot submit a page encountered an editing conflict, skip all the associated page.
This is because the other robots(in particular the global robots) may have been or are being done to the relevant page, next linked page is likely still encounter an editing conflict.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2012-07-22 08:49
Message:
Hf3M1V <a href="http://wtjijibbzgze.com/">wtjijibbzgze</a>,
[url=http://kquuasbjvqnd.com/]kquuasbjvqnd[/url],
[link=http://rwchbkqskews.com/]rwchbkqskews[/link],
http://eurkyisawuqz.com/
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2012-06-23 07:53
Message:
reopened and closed the other because the other tracker is opened anonymous
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2012-06-23 07:45
Message:
duplicate of #3094655
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3537366&group_…
Feature Requests item #3516383, was opened at 2012-04-10 03:26
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3516383&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: 4
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Support for transliteration in console output
Initial Comment:
Since some days/weeks ago, I can't get non-latin characters to be displayed in the Windows console. Usually, they would be transliterated and in yellow, but now I only see either question marks or blocks (if I use an Unicode font). There is an exception for Greek characters which are displayed correctly if I use an Unicode font. As of now, I can't confirm an interwiki link in Cyrilic simply because I can't see what text is in [[ru:????????]].
I use the cp850 encoding. Using cp65001 is not supported by Pywikipedia.
It would be great to get the transliteration feature back working. For instance, r9974 worked fine.
Comment on config.py:
############## USER INTERFACE SETTINGS ##############
# The encoding that's used in the user's console, i.e. how strings are encoded
# when they are read by raw_input(). On Windows systems' DOS box, this should
# be 'cp850' ('cp437' for older versions). Linux users might try 'iso-8859-1'
# or 'utf-8'.
# This default code should work fine, so you don't have to think about it.
# TODO: consider getting rid of this config variable.
Python 2.7.2 (default, Jun 12 2011, 14:24:46) [MSC v.1500 64 bit (AMD64)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2012-07-22 08:40
Message:
eXSPLr <a href="http://uigvtxamlwlm.com/">uigvtxamlwlm</a>,
[url=http://afcjwysggjjs.com/]afcjwysggjjs[/url],
[link=http://dwberwxqjxes.com/]dwberwxqjxes[/link],
http://pycsfhrypeca.com/
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw)
Date: 2012-05-05 12:24
Message:
Implemented in r10187. Please see
http://www.mediawiki.org/wiki/Manual:Pywikipediabot/Windows on how to set
user-config.py.
Please note that the blocks you see are correct -- you can copy them to the
browser and visit that page, which is impossible with transliterated
characters!
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw)
Date: 2012-04-16 03:41
Message:
I'm moving this to feature requests with a lower priority. In the current
setup, we output the correct characters, but your font is unable to
correctly render them. However, copying does work, and I think this is more
useful than transliterated characters.
Checking if an interwiki link is correct is not possible using
transliterations, but is possible by copy-pasting the unicode characters.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2012-04-10 05:24
Message:
Try reverting r10048 of terminal_interface_base.py to the previous r10047.
I found it helps and gives the right transliterations. Could you verify?
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2012-04-10 04:30
Message:
Not really. Lucida Console doesn't show Cyrilic or Georgian or Arabic.
AFAICT, it only shows Latin and Greek.
It got better with DejaVu Sans Mono [check
http://stackoverflow.com/questions/878972/windows-cmd-encoding-change-cause…]
but I still see some unsupported characters showing up sometimes.
Is there a complete mono font out there (free)?
----------------------------------------------------------------------
Comment By: Bináris (binbot)
Date: 2012-04-10 03:31
Message:
Set your console character set to Consolas or Lucida instead of raster
fonts at the properties, and you will find it better than earlier. :-)
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2012-04-10 03:27
Message:
Sorry, that was me. I forgot to login.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3516383&group_…