Bugs item #3428346, was opened at 2011-10-25 19:58
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3428346&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: xqt (xqt)
Summary: utf8 error in category.py move
Initial Comment:
System Environment: Windows 7 Home Basic X64
Action: category.py move
Exact command from attached commands.log:
2011-10-25 19:36:06 r9648 Python 2.7.2 category.py "-ns:0" "summary:fix_category" "move"
Old Category name: कैलण्डर
Old category name input in cmd as: %E0%A4%95%E0%A5%88%E0%A4%B2%E0%A4%A3%E0%A5%8D%E0%A4%A1%E0%A4%B0
New Category name: वर्ष
New category name input in cmd as: %E0%A4%B5%E0%A4%B0%E0%A5%8D%E0%A4%B7
The old category page did not exist, the new category page did. Both category names were in hindi(devanagari script). The old category contained approximately 9000 articles. The bot didn't use the edit summary I gave and instead used the default summary(Maybe I did something wrong?) After 600 edits, the bot gave the following output in cmd(the gibberish is probably devanagari as rendered by cmd)(the windows username has been changed for anonymity):
Getting 60 pages from wikipedia:hi...
'utf8' codec can't decode bytes in position 127815-127816: unexpected end of dat
a
Traceback (most recent call last):
File "C:\Users\Me\Downloads\pywikipedia-nightly\pywikipedia\pagegenerators.py
", line 1191, in __iter__
for loaded_page in self.preload(somePages):
File "C:\Users\Me\Downloads\pywikipedia-nightly\pywikipedia\pagegenerators.py
", line 1216, in preload
pywikibot.getall(site, pagesThisSite)
File "C:\Users\Me\Downloads\pywikipedia-nightly\pywikipedia\wikipedia.py", li
ne 4440, in getall
_GetAll(site, pages, throttle, force).run()
File "C:\Users\Me\Downloads\pywikipedia-nightly\pywikipedia\wikipedia.py", li
ne 4071, in run
data = self.getData()
File "C:\Users\Me\Downloads\pywikipedia-nightly\pywikipedia\wikipedia.py", li
ne 4253, in getData
response, data = self.site.postForm(address, predata)
File "C:\Users\Me\Downloads\pywikipedia-nightly\pywikipedia\wikipedia.py", li
ne 5279, in postForm
cookies=self.cookies(sysop = sysop))
File "C:\Users\Me\Downloads\pywikipedia-nightly\pywikipedia\wikipedia.py", li
ne 5408, in postData
% (self.protocol(), self.hostname(), path))
NameError: global name 'path' is not defined
global name 'path' is not defined
Getting [[cnfnrenii:qailnfnrr]]...
Getting [[cnfnrenii:qailnfnrr]] list from cmcontinue=page|e0a4aae0a582e0a4b0e0a5
8de0a4b52c20e0a5a8e0a5a6e0a5abe0a5ab20e0a488e0a4b8e0a4be0ae0a5a8e0a5a6e0a5abe0a5
ab20e0a488e0a4b8e0a4be20e0a4aae0a582e0a4b0e0a58de0a4b5|230770...
Getting [[cnfnrenii:qailnfnrr]] list from cmcontinue=page|e0a4aae0a582e0a4b0e0a5
8de0a4b52c20e0a5a8e0a5abe0a5a6e0a5ab20e0a488e0a4b8e0a4be0ae0a5a8e0a5abe0a5a6e0a5
ab20e0a488e0a4b8e0a4be20e0a4aae0a582e0a4b0e0a58de0a4b5|231220...
Getting [[cnfnrenii:qailnfnrr]] list from cmcontinue=page|e0a4aae0a582e0a4b0e0a5
8de0a4b52c20e0a5a8e0a5afe0a5abe0a5ac20e0a488e0a4b8e0a4be0ae0a5a8e0a5afe0a5abe0a5
ac20e0a488e0a4b8e0a4be20e0a4aae0a582e0a4b0e0a58de0a4b5|231671...
Getting [[cnfnrenii:qailnfnrr]] list from cmcontinue=page|e0a4aae0a582e0a4b0e0a5
8de0a4b52c20e0a5a9e0a5aae0a5a6e0a5ae20e0a488e0a4b8e0a4be0ae0a5a9e0a5aae0a5a6e0a5
ae20e0a488e0a4b8e0a4be20e0a4aae0a582e0a4b0e0a58de0a4b5|232122...
Getting [[cnfnrenii:qailnfnrr]] list from cmcontinue=page|e0a4aae0a582e0a4b0e0a5
8de0a4b52c20e0a5a9e0a5aee0a5abe0a5af20e0a488e0a4b8e0a4be0ae0a5a9e0a5aee0a5abe0a5
af20e0a488e0a4b8e0a4be20e0a4aae0a582e0a4b0e0a58de0a4b5|232573...
Getting [[cnfnrenii:qailnfnrr]] list from cmcontinue=page|e0a4aae0a582e0a4b0e0a5
8de0a4b52c20e0a5aae0a5a9e0a5a6e0a5ae20e0a488e0a4b8e0a4be0ae0a5aae0a5a9e0a5a6e0a5
ae20e0a488e0a4b8e0a4be20e0a4aae0a582e0a4b0e0a58de0a4b5|235031...
Getting [[cnfnrenii:qailnfnrr]] list from cmcontinue=page|e0a4aae0a582e0a4b0e0a5
8de0a4b52c20e0a5aae0a5ade0a5abe0a5af20e0a488e0a4b8e0a4be0ae0a5aae0a5ade0a5abe0a5
af20e0a488e0a4b8e0a4be20e0a4aae0a582e0a4b0e0a58de0a4b5|235482...
Getting [[cnfnrenii:qailnfnrr]] list from cmcontinue=page|e0a4aae0a582e0a4b0e0a5
8de0a4b52c20e0a5abe0a5a8e0a5a6e0a5af20e0a488e0a4b8e0a4be0ae0a5abe0a5a8e0a5a6e0a5
af20e0a488e0a4b8e0a4be20e0a4aae0a582e0a4b0e0a58de0a4b5|232923...
Getting [[cnfnrenii:qailnfnrr]] list from cmcontinue=page|e0a4aae0a582e0a4b0e0a5
8de0a4b52c20e0a5abe0a5ace0a5ace0a5a620e0a488e0a4b8e0a4be0ae0a5abe0a5ace0a5ace0a5
a620e0a488e0a4b8e0a4be20e0a4aae0a582e0a4b0e0a58de0a4b5|233373...
Getting [[cnfnrenii:qailnfnrr]] list from cmcontinue=page|e0a4aae0a582e0a4b0e0a5
8de0a4b52c20e0a5ace0a5a7e0a5a720e0a488e0a4b8e0a4be0ae0a5ace0a5a7e0a5a720e0a488e0
a4b8e0a4be20e0a4aae0a582e0a4b0e0a58de0a4b5|229329...
Getting [[cnfnrenii:qailnfnrr]] list from cmcontinue=page|e0a4aae0a582e0a4b0e0a5
8de0a4b52c20e0a5ace0a5abe0a5ace0a5a620e0a488e0a4b8e0a4be0ae0a5ace0a5abe0a5ace0a5
a620e0a488e0a4b8e0a4be20e0a4aae0a582e0a4b0e0a58de0a4b5|234283...
Getting [[cnfnrenii:qailnfnrr]] list from cmcontinue=page|e0a4aae0a582e0a4b0e0a5
8de0a4b52c20e0a5ade0a5a6e0a5a720e0a488e0a4b8e0a4be0ae0a5ade0a5a6e0a5a720e0a488e0
a4b8e0a4be20e0a4aae0a582e0a4b0e0a58de0a4b5|229419...
Getting [[cnfnrenii:qailnfnrr]] list from cmcontinue=page|e0a4aae0a582e0a4b0e0a5
8de0a4b52c20e0a5ade0a5aae0a5ace0a5a620e0a488e0a4b8e0a4be0ae0a5ade0a5aae0a5ace0a5
a620e0a488e0a4b8e0a4be20e0a4aae0a582e0a4b0e0a58de0a4b5|236183...
Getting [[cnfnrenii:qailnfnrr]] list from cmcontinue=page|e0a4aae0a582e0a4b0e0a5
8de0a4b52c20e0a5ade0a5afe0a5a7e0a5a620e0a488e0a4b8e0a4be0ae0a5ade0a5afe0a5a7e0a5
a620e0a488e0a4b8e0a4be20e0a4aae0a582e0a4b0e0a58de0a4b5|236634...
Getting [[cnfnrenii:qailnfnrr]] list from cmcontinue=page|e0a4aae0a582e0a4b0e0a5
8de0a4b52c20e0a5aee0a5a9e0a5ace0a5a720e0a488e0a4b8e0a4be0ae0a5aee0a5a9e0a5ace0a5
a720e0a488e0a4b8e0a4be20e0a4aae0a582e0a4b0e0a58de0a4b5|237086...
Getting [[cnfnrenii:qailnfnrr]] list from cmcontinue=page|e0a4aae0a582e0a4b0e0a5
8de0a4b52c20e0a5aee0a5aee0a5a7e0a5a720e0a488e0a4b8e0a4be0ae0a5aee0a5aee0a5a7e0a5
a720e0a488e0a4b8e0a4be20e0a4aae0a582e0a4b0e0a58de0a4b5|237536...
Getting 15 pages from wikipedia:hi...
Updating page [[cnfnrenii:2007|32303037]] via API
Sleeping for 6.3 seconds, 2011-10-25 21:52:30
Updating page [[cnfnrenii:mqfntnuubr|e0a485e0a495e0a58de0a4a4e0a582e0a4ace0a4b0]
] via API
Updating page [[cnfnrenii:mgsfntn|e0a485e0a497e0a4b8e0a58de0a4a4]] via API
Updating page [[cnfnrenii:mpafnrail|e0a485e0a4aae0a58de0a4b0e0a588e0a4b2]] via A
PI
Updating page [[cnfnrenii:isfnlaamii qailenfnrr|e0a487e0a4b8e0a58de0a4b2e0a4bee0
a4aee0a58020e0a495e0a588e0a4b2e0a587e0a4a3e0a58de0a4a1e0a4b0]] via API
Sleeping for 7.3 seconds, 2011-10-25 21:53:09
Updating page [[cnfnrenii:znvrii|e0a49ce0a4a8e0a4b5e0a4b0e0a580]] via API
Sleeping for 5.7 seconds, 2011-10-25 21:53:20
Updating page [[cnfnrenii:zulaaii|e0a49ce0a581e0a4b2e0a4bee0a488]] via API
Sleeping for 5.5 seconds, 2011-10-25 21:53:31
Updating page [[cnfnrenii:zuun|e0a49ce0a582e0a4a8]] via API
Updating page [[cnfnrenii:dnis?br|e0a4a6e0a4bfe0a4b8e0a482e0a4ace0a4b0]] via API
Sleeping for 4.3 seconds, 2011-10-25 21:53:52
Updating page [[cnfnrenii:nv?br|e0a4a8e0a4b5e0a482e0a4ace0a4b0]] via API
Sleeping for 5.4 seconds, 2011-10-25 21:54:01
Updating page [[cnfnrenii:frvrii|e0a4abe0a4b0e0a4b5e0a4b0e0a580]] via API
Sleeping for 5.5 seconds, 2011-10-25 21:54:11
Updating page [[cnfnrenii:mii|e0a4aee0a488]] via API
Sleeping for 5.1 seconds, 2011-10-25 21:54:21
Updating page [[cnfnrenii:maarfnc|e0a4aee0a4bee0a4b0e0a58de0a49a]] via API
Updating page [[cnfnrenii:sitn?br|e0a4b8e0a4bfe0a4a4e0a482e0a4ace0a4b0]] via API
Sleeping for 5.7 seconds, 2011-10-25 21:54:40
Updating page [[cnfnrenii:fninfndnuu qaile?rr|e0a4b9e0a4bfe0a4a8e0a58de0a4a6e0a5
8220e0a495e0a588e0a4b2e0a587e0a482e0a4a1e0a4b0]] via API
After this, the bot stopped even though there were a lot of articles remaining in the old category. Note that the last 15 edits done by the bot are actually subcategory moves, not article moves as originally intended.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2011-10-26 10:59
Message:
Please give us th result of version.py
I am quite sure your are running an old release. Please update your bot
and try again.
NameError for global name 'path' is fixed in r9675
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3428346&group_…
Bugs item #3414228, was opened at 2011-09-26 15:35
Message generated for change (Comment added) made by hiw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3414228&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: 6
Private: No
Submitted By: hiw (hiw)
Assigned to: Nobody/Anonymous (nobody)
Summary: Weblinkchecker reports live links as dead
Initial Comment:
The weblinkchecker.py reported several web links as dead due to additional braces at the end of the url.
- http://de.wikipedia.org/wiki/Diskussion:DARC_(Protein)
e.g:
Article:
<ref name="pmid19290478">{{cite journal |author=Horne K, Woolley IJ |title=Shedding light on DARC: the role of the Duffy antigen/receptor for chemokines in inflammation, infection and malignancy |journal=Inflamm. Res. |volume=58 |issue=8 |pages=431–5 |year=2009 |month=August |pmid=19290478 |doi=10.1007/s00011-009-0023-9 |url=http://dx.doi.org/10.1007/s00011-009-0023-9}}</ref>
Response by pywikipedia on talk page:
Dead link found:
http://dx.doi.org/10.1007/s00011-009-0023-9}}
version.py
Pywikipedia [http] trunk/pywikipedia (r9558, 2011/09/25, 20:30:54)
Python 2.7.2 (default, Jun 24 2011, 12:21:10) [MSC v.1500 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
Using Active Python with Microsoft Windows XP [Version 5.1.2600]
----------------------------------------------------------------------
>Comment By: hiw (hiw)
Date: 2011-10-25 14:15
Message:
any news on this issue?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3414228&group_…
Bugs item #3428346, was opened at 2011-10-25 17:58
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3428346&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: utf8 error in category.py move
Initial Comment:
System Environment: Windows 7 Home Basic X64
Action: category.py move
Exact command from attached commands.log:
2011-10-25 19:36:06 r9648 Python 2.7.2 category.py "-ns:0" "summary:fix_category" "move"
Old Category name: कैलण्डर
Old category name input in cmd as: %E0%A4%95%E0%A5%88%E0%A4%B2%E0%A4%A3%E0%A5%8D%E0%A4%A1%E0%A4%B0
New Category name: वर्ष
New category name input in cmd as: %E0%A4%B5%E0%A4%B0%E0%A5%8D%E0%A4%B7
The old category page did not exist, the new category page did. Both category names were in hindi(devanagari script). The old category contained approximately 9000 articles. The bot didn't use the edit summary I gave and instead used the default summary(Maybe I did something wrong?) After 600 edits, the bot gave the following output in cmd(the gibberish is probably devanagari as rendered by cmd)(the windows username has been changed for anonymity):
Getting 60 pages from wikipedia:hi...
'utf8' codec can't decode bytes in position 127815-127816: unexpected end of dat
a
Traceback (most recent call last):
File "C:\Users\Me\Downloads\pywikipedia-nightly\pywikipedia\pagegenerators.py
", line 1191, in __iter__
for loaded_page in self.preload(somePages):
File "C:\Users\Me\Downloads\pywikipedia-nightly\pywikipedia\pagegenerators.py
", line 1216, in preload
pywikibot.getall(site, pagesThisSite)
File "C:\Users\Me\Downloads\pywikipedia-nightly\pywikipedia\wikipedia.py", li
ne 4440, in getall
_GetAll(site, pages, throttle, force).run()
File "C:\Users\Me\Downloads\pywikipedia-nightly\pywikipedia\wikipedia.py", li
ne 4071, in run
data = self.getData()
File "C:\Users\Me\Downloads\pywikipedia-nightly\pywikipedia\wikipedia.py", li
ne 4253, in getData
response, data = self.site.postForm(address, predata)
File "C:\Users\Me\Downloads\pywikipedia-nightly\pywikipedia\wikipedia.py", li
ne 5279, in postForm
cookies=self.cookies(sysop = sysop))
File "C:\Users\Me\Downloads\pywikipedia-nightly\pywikipedia\wikipedia.py", li
ne 5408, in postData
% (self.protocol(), self.hostname(), path))
NameError: global name 'path' is not defined
global name 'path' is not defined
Getting [[cnfnrenii:qailnfnrr]]...
Getting [[cnfnrenii:qailnfnrr]] list from cmcontinue=page|e0a4aae0a582e0a4b0e0a5
8de0a4b52c20e0a5a8e0a5a6e0a5abe0a5ab20e0a488e0a4b8e0a4be0ae0a5a8e0a5a6e0a5abe0a5
ab20e0a488e0a4b8e0a4be20e0a4aae0a582e0a4b0e0a58de0a4b5|230770...
Getting [[cnfnrenii:qailnfnrr]] list from cmcontinue=page|e0a4aae0a582e0a4b0e0a5
8de0a4b52c20e0a5a8e0a5abe0a5a6e0a5ab20e0a488e0a4b8e0a4be0ae0a5a8e0a5abe0a5a6e0a5
ab20e0a488e0a4b8e0a4be20e0a4aae0a582e0a4b0e0a58de0a4b5|231220...
Getting [[cnfnrenii:qailnfnrr]] list from cmcontinue=page|e0a4aae0a582e0a4b0e0a5
8de0a4b52c20e0a5a8e0a5afe0a5abe0a5ac20e0a488e0a4b8e0a4be0ae0a5a8e0a5afe0a5abe0a5
ac20e0a488e0a4b8e0a4be20e0a4aae0a582e0a4b0e0a58de0a4b5|231671...
Getting [[cnfnrenii:qailnfnrr]] list from cmcontinue=page|e0a4aae0a582e0a4b0e0a5
8de0a4b52c20e0a5a9e0a5aae0a5a6e0a5ae20e0a488e0a4b8e0a4be0ae0a5a9e0a5aae0a5a6e0a5
ae20e0a488e0a4b8e0a4be20e0a4aae0a582e0a4b0e0a58de0a4b5|232122...
Getting [[cnfnrenii:qailnfnrr]] list from cmcontinue=page|e0a4aae0a582e0a4b0e0a5
8de0a4b52c20e0a5a9e0a5aee0a5abe0a5af20e0a488e0a4b8e0a4be0ae0a5a9e0a5aee0a5abe0a5
af20e0a488e0a4b8e0a4be20e0a4aae0a582e0a4b0e0a58de0a4b5|232573...
Getting [[cnfnrenii:qailnfnrr]] list from cmcontinue=page|e0a4aae0a582e0a4b0e0a5
8de0a4b52c20e0a5aae0a5a9e0a5a6e0a5ae20e0a488e0a4b8e0a4be0ae0a5aae0a5a9e0a5a6e0a5
ae20e0a488e0a4b8e0a4be20e0a4aae0a582e0a4b0e0a58de0a4b5|235031...
Getting [[cnfnrenii:qailnfnrr]] list from cmcontinue=page|e0a4aae0a582e0a4b0e0a5
8de0a4b52c20e0a5aae0a5ade0a5abe0a5af20e0a488e0a4b8e0a4be0ae0a5aae0a5ade0a5abe0a5
af20e0a488e0a4b8e0a4be20e0a4aae0a582e0a4b0e0a58de0a4b5|235482...
Getting [[cnfnrenii:qailnfnrr]] list from cmcontinue=page|e0a4aae0a582e0a4b0e0a5
8de0a4b52c20e0a5abe0a5a8e0a5a6e0a5af20e0a488e0a4b8e0a4be0ae0a5abe0a5a8e0a5a6e0a5
af20e0a488e0a4b8e0a4be20e0a4aae0a582e0a4b0e0a58de0a4b5|232923...
Getting [[cnfnrenii:qailnfnrr]] list from cmcontinue=page|e0a4aae0a582e0a4b0e0a5
8de0a4b52c20e0a5abe0a5ace0a5ace0a5a620e0a488e0a4b8e0a4be0ae0a5abe0a5ace0a5ace0a5
a620e0a488e0a4b8e0a4be20e0a4aae0a582e0a4b0e0a58de0a4b5|233373...
Getting [[cnfnrenii:qailnfnrr]] list from cmcontinue=page|e0a4aae0a582e0a4b0e0a5
8de0a4b52c20e0a5ace0a5a7e0a5a720e0a488e0a4b8e0a4be0ae0a5ace0a5a7e0a5a720e0a488e0
a4b8e0a4be20e0a4aae0a582e0a4b0e0a58de0a4b5|229329...
Getting [[cnfnrenii:qailnfnrr]] list from cmcontinue=page|e0a4aae0a582e0a4b0e0a5
8de0a4b52c20e0a5ace0a5abe0a5ace0a5a620e0a488e0a4b8e0a4be0ae0a5ace0a5abe0a5ace0a5
a620e0a488e0a4b8e0a4be20e0a4aae0a582e0a4b0e0a58de0a4b5|234283...
Getting [[cnfnrenii:qailnfnrr]] list from cmcontinue=page|e0a4aae0a582e0a4b0e0a5
8de0a4b52c20e0a5ade0a5a6e0a5a720e0a488e0a4b8e0a4be0ae0a5ade0a5a6e0a5a720e0a488e0
a4b8e0a4be20e0a4aae0a582e0a4b0e0a58de0a4b5|229419...
Getting [[cnfnrenii:qailnfnrr]] list from cmcontinue=page|e0a4aae0a582e0a4b0e0a5
8de0a4b52c20e0a5ade0a5aae0a5ace0a5a620e0a488e0a4b8e0a4be0ae0a5ade0a5aae0a5ace0a5
a620e0a488e0a4b8e0a4be20e0a4aae0a582e0a4b0e0a58de0a4b5|236183...
Getting [[cnfnrenii:qailnfnrr]] list from cmcontinue=page|e0a4aae0a582e0a4b0e0a5
8de0a4b52c20e0a5ade0a5afe0a5a7e0a5a620e0a488e0a4b8e0a4be0ae0a5ade0a5afe0a5a7e0a5
a620e0a488e0a4b8e0a4be20e0a4aae0a582e0a4b0e0a58de0a4b5|236634...
Getting [[cnfnrenii:qailnfnrr]] list from cmcontinue=page|e0a4aae0a582e0a4b0e0a5
8de0a4b52c20e0a5aee0a5a9e0a5ace0a5a720e0a488e0a4b8e0a4be0ae0a5aee0a5a9e0a5ace0a5
a720e0a488e0a4b8e0a4be20e0a4aae0a582e0a4b0e0a58de0a4b5|237086...
Getting [[cnfnrenii:qailnfnrr]] list from cmcontinue=page|e0a4aae0a582e0a4b0e0a5
8de0a4b52c20e0a5aee0a5aee0a5a7e0a5a720e0a488e0a4b8e0a4be0ae0a5aee0a5aee0a5a7e0a5
a720e0a488e0a4b8e0a4be20e0a4aae0a582e0a4b0e0a58de0a4b5|237536...
Getting 15 pages from wikipedia:hi...
Updating page [[cnfnrenii:2007|32303037]] via API
Sleeping for 6.3 seconds, 2011-10-25 21:52:30
Updating page [[cnfnrenii:mqfntnuubr|e0a485e0a495e0a58de0a4a4e0a582e0a4ace0a4b0]
] via API
Updating page [[cnfnrenii:mgsfntn|e0a485e0a497e0a4b8e0a58de0a4a4]] via API
Updating page [[cnfnrenii:mpafnrail|e0a485e0a4aae0a58de0a4b0e0a588e0a4b2]] via A
PI
Updating page [[cnfnrenii:isfnlaamii qailenfnrr|e0a487e0a4b8e0a58de0a4b2e0a4bee0
a4aee0a58020e0a495e0a588e0a4b2e0a587e0a4a3e0a58de0a4a1e0a4b0]] via API
Sleeping for 7.3 seconds, 2011-10-25 21:53:09
Updating page [[cnfnrenii:znvrii|e0a49ce0a4a8e0a4b5e0a4b0e0a580]] via API
Sleeping for 5.7 seconds, 2011-10-25 21:53:20
Updating page [[cnfnrenii:zulaaii|e0a49ce0a581e0a4b2e0a4bee0a488]] via API
Sleeping for 5.5 seconds, 2011-10-25 21:53:31
Updating page [[cnfnrenii:zuun|e0a49ce0a582e0a4a8]] via API
Updating page [[cnfnrenii:dnis?br|e0a4a6e0a4bfe0a4b8e0a482e0a4ace0a4b0]] via API
Sleeping for 4.3 seconds, 2011-10-25 21:53:52
Updating page [[cnfnrenii:nv?br|e0a4a8e0a4b5e0a482e0a4ace0a4b0]] via API
Sleeping for 5.4 seconds, 2011-10-25 21:54:01
Updating page [[cnfnrenii:frvrii|e0a4abe0a4b0e0a4b5e0a4b0e0a580]] via API
Sleeping for 5.5 seconds, 2011-10-25 21:54:11
Updating page [[cnfnrenii:mii|e0a4aee0a488]] via API
Sleeping for 5.1 seconds, 2011-10-25 21:54:21
Updating page [[cnfnrenii:maarfnc|e0a4aee0a4bee0a4b0e0a58de0a49a]] via API
Updating page [[cnfnrenii:sitn?br|e0a4b8e0a4bfe0a4a4e0a482e0a4ace0a4b0]] via API
Sleeping for 5.7 seconds, 2011-10-25 21:54:40
Updating page [[cnfnrenii:fninfndnuu qaile?rr|e0a4b9e0a4bfe0a4a8e0a58de0a4a6e0a5
8220e0a495e0a588e0a4b2e0a587e0a482e0a4a1e0a4b0]] via API
After this, the bot stopped even though there were a lot of articles remaining in the old category. Note that the last 15 edits done by the bot are actually subcategory moves, not article moves as originally intended.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3428346&group_…
Support Requests item #3428321, was opened at 2011-10-25 18:33
Message generated for change (Comment added) made by valhallasw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=3428321&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: Pending
Priority: 5
Private: No
Submitted By: reza (reza1615)
Assigned to: Nobody/Anonymous (nobody)
Summary: add_text.py has problems in windows CMD
Initial Comment:
add_text.py arguments (-text -exception -summary -newimages ) doesn't support percentage characters specially for CMD in windows.
for example this example doesn't work correctly in windows CMD
python add_text.py -links%3A%22%D8%A7%D9%84%DA%AF%D9%88%3A%D9%81%D9%84%D8%A7%D9%86%22 -text%3A%7B%7B%D8%A7%D9%84%DA%AF%D9%88%3A%D9%81%D9%84%D8%A7%D9%86%7D%7D
is it possible to change their Unicode setting like pagegenerator.py arguments?
p.s. for percentage characters i use http://meyerweb.com/eric/tools/dencoder/
----------------------------------------------------------------------
>Comment By: Merlijn S. van Deen (valhallasw)
Date: 2011-10-25 19:36
Message:
You shouldn't encode the :, only the page title. So the correct command
would be:
python add_text.py
-links:%22%D8%A7%D9%84%DA%AF%D9%88%3A%D9%81%D9%84%D8%A7%D9%86%22
-text:%7B%7B%D8%A7%D9%84%DA%AF%D9%88%3A%D9%81%D9%84%D8%A7%D9%86%7D%7D
which should work.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=3428321&group_…
Feature Requests item #3428321, was opened at 2011-10-25 18:33
Message generated for change (Tracker Item Submitted) made by reza1615
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3428321&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
Priority: 5
Private: No
Submitted By: reza (reza1615)
Assigned to: Nobody/Anonymous (nobody)
Summary: add_text.py has problems in windows CMD
Initial Comment:
add_text.py arguments (-text -exception -summary -newimages ) doesn't support percentage characters specially for CMD in windows.
for example this example doesn't work correctly in windows CMD
python add_text.py -links%3A%22%D8%A7%D9%84%DA%AF%D9%88%3A%D9%81%D9%84%D8%A7%D9%86%22 -text%3A%7B%7B%D8%A7%D9%84%DA%AF%D9%88%3A%D9%81%D9%84%D8%A7%D9%86%7D%7D
is it possible to change their Unicode setting like pagegenerator.py arguments?
p.s. for percentage characters i use http://meyerweb.com/eric/tools/dencoder/
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3428321&group_…
Bugs item #3426312, was opened at 2011-10-20 12:10
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3426312&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nakor Wikipedia (nakor-wikipedia)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki is broken in pywikibot
Initial Comment:
$ python interwiki.py Pop rock
Retrieving 1 pages from wikipedia:fr.
[[fr:Pop rock]]: [[fr:Pop rock]] gives new interwiki [[ar:بوب روك]]
[[fr:Pop rock]]: [[fr:Pop rock]] gives new interwiki [[be-x-old:Поп-рок]]
[[fr:Pop rock]]: [[fr:Pop rock]] gives new interwiki [[bg:Поп рок]]
[[fr:Pop rock]]: [[fr:Pop rock]] gives new interwiki [[ca:Pop rock]]
[[fr:Pop rock]]: [[fr:Pop rock]] gives new interwiki [[cs:Pop rock]]
[[fr:Pop rock]]: [[fr:Pop rock]] gives new interwiki [[da:Poprock]]
[[fr:Pop rock]]: [[fr:Pop rock]] gives new interwiki [[de:Pop-Rock]]
[[fr:Pop rock]]: [[fr:Pop rock]] gives new interwiki [[en:Pop rock]]
[[fr:Pop rock]]: [[fr:Pop rock]] gives new interwiki [[es:Pop rock]]
[[fr:Pop rock]]: [[fr:Pop rock]] gives new interwiki [[eu:Pop rock]]
Retrieving 1 pages from wikipedia:en.
[[fr:Pop rock]]: [[en:Pop rock]] gives new interwiki [[fa:پاپ-راک]]
Retrieving 1 pages from wikipedia:fa.
Retrieving 1 pages from wikipedia:ca.
Retrieving 1 pages from wikipedia:eu.
Retrieving 1 pages from wikipedia:da.
Retrieving 1 pages from wikipedia:bg.
Retrieving 1 pages from wikipedia:be-x-old.
Retrieving 1 pages from wikipedia:de.
Retrieving 1 pages from wikipedia:es.
Retrieving 1 pages from wikipedia:cs.
Retrieving 1 pages from wikipedia:ar.
======Post-processing [[fr:Pop rock]]======
Dump fr (wikipedia) appended.
Traceback (most recent call last):
File "/home/nakor/sources/pywikipediabot/pywikibot/scripts/interwiki.py", line 2455, in <module>
main()
File "/home/nakor/sources/pywikipediabot/pywikibot/scripts/interwiki.py", line 2429, in main
bot.run()
File "/home/nakor/sources/pywikipediabot/pywikibot/scripts/interwiki.py", line 2193, in run
self.queryStep()
File "/home/nakor/sources/pywikipediabot/pywikibot/scripts/interwiki.py", line 2171, in queryStep
subj.finish(self)
File "/home/nakor/sources/pywikipediabot/pywikibot/scripts/interwiki.py", line 1630, in finish
if self.replaceLinks(page, new, bot):
File "/home/nakor/sources/pywikipediabot/pywikibot/scripts/interwiki.py", line 1744, in replaceLinks
insite=page.site)
File "/home/nakor/sources/pywikipediabot/pywikibot/scripts/interwiki.py", line 2229, in compareLanguages
if not pywikibot.unicode_error:
AttributeError: 'module' object has no attribute 'unicode_error'
$ python version.py
python: can't open file 'version.py': [Errno 2] No such file or directory
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2011-10-25 00:27
Message:
depends rewrite branch only. there is no initial unicode check.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3426312&group_…
Bugs item #3411427, was opened at 2011-09-19 13:07
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3411427&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: Open
Resolution: None
>Priority: 4
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: xqt (xqt)
Summary: Treat code-only interwikis as valid for main page
Initial Comment:
Interwiki in the form of [[en:]] links to the main page.
It is easy to generate (on Toolserver or from SiteMatrix) a list of interwikis in this form for the main page and they are correct links.
So the bot must not remove them nor change them.
Suggesting the following process:
1) Pull MediaWiki:Mainpage and store it in some variable.
2) When dealing with interwiki, first compare, if the page title == that variable.
3) If yes, simply put short interwikis there (or at least do not remove nor correct them to long)
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2011-10-24 21:56
Message:
r9672 enables short interwiki links but replaces the page title to the
MediaWiki:Mainpage message
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3411427&group_…
Bugs item #3411427, was opened at 2011-09-19 13:07
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3411427&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: xqt (xqt)
Summary: Treat code-only interwikis as valid for main page
Initial Comment:
Interwiki in the form of [[en:]] links to the main page.
It is easy to generate (on Toolserver or from SiteMatrix) a list of interwikis in this form for the main page and they are correct links.
So the bot must not remove them nor change them.
Suggesting the following process:
1) Pull MediaWiki:Mainpage and store it in some variable.
2) When dealing with interwiki, first compare, if the page title == that variable.
3) If yes, simply put short interwikis there (or at least do not remove nor correct them to long)
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2011-10-24 21:56
Message:
r9672 enables short interwiki links but replaces the page title to the
MediaWiki:Mainpage message
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3411427&group_…
Bugs item #2819291, was opened at 2009-07-10 00:31
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2819291&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: General
Group: None
Status: Open
Resolution: None
>Priority: 7
Private: No
Submitted By: NeuCeu (neuceu)
Assigned to: Nobody/Anonymous (nobody)
Summary: 'template' exception in wikipedia.replaceExcept() isn't good
Initial Comment:
Version:
Pywikipedia [http] trunk/pywikipedia (r7032, Jul 08 2009, 03:18:37)
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)]
Because of the 'template' exception, large part of a page text can be ignored.
How to reproduce : run replace.py on fr.wiki with page "Slayers" and exeption 'template'
python replace.py -exceptinsidetag:template -regex "([Aa])ncêtre" "\1ncêetre" -namespace:0 -page:"Slayers"
It should normally find something to replace.
Possible fix : If I remove (?s) in front of the 'template' regex, it works. IMHO I would replace the .* by [^}]*
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2011-05-12 23:24
Message:
see also bug #3158761
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2819291&group_…
Bugs item #3427930, was opened at 2011-10-24 19:56
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3427930&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: General
Group: None
>Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Merlijn S. van Deen (valhallasw)
>Assigned to: xqt (xqt)
Summary: Impossible to create Page object with : in page title
Initial Comment:
>>> catlib.Category('en', 'Books by Ayaan Hirsi Ali').articlesList()
Getting [[Category:Books by Ayaan Hirsi Ali]]...
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "catlib.py", line 431, in articlesList
for article in self.articles(recurse, sortby=sortby, sortdir=sortdir):
File "catlib.py", line 416, in articles
sortby=sortby, sortdir=sortdir):
File "catlib.py", line 169, in _getContentsNaive
sortby=sortby, sortdir=sortdir):
File "catlib.py", line 239, in _parseCategory
yield ARTICLE, wikipedia.Page(self.site(), memb['title'], defaultNamespace=memb['ns'])
File "wikipedia.py", line 374, in __init__
% (title, self._site, familyName))
pywikibot.exceptions.NoPage: Nomad: From Islam to America is not a local page on wikipedia:en, and the nomad family is
not supported by PyWikipediaBot!
>>> wikipedia.Page('en', 'Nomad: From Islam to America')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "wikipedia.py", line 374, in __init__
% (title, self._site, familyName))
pywikibot.exceptions.NoPage: Nomad: From Islam to America is not a local page on wikipedia:en, and the nomad family is
not supported by PyWikipediaBot!
>>> wikipedia.Page('en', ':Nomad: From Islam to America')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "wikipedia.py", line 374, in __init__
% (title, self._site, familyName))
pywikibot.exceptions.NoPage: :Nomad: From Islam to America is not a local page on wikipedia:en, and the nomad family is
not supported by PyWikipediaBot!
>>> wikipedia.Page('en', '::Nomad: From Islam to America')
Page{[[en::Nomad: From Islam to America]]}
>>> wikipedia.Page('en', '::Nomad: From Islam to America').get()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "wikipedia.py", line 662, in get
% (self.aslink(), self.site()))
pywikibot.exceptions.NoPage: [[en::Nomad: From Islam to America]] is not a local page on wikipedia:en!
See also: http://thread.gmane.org/gmane.comp.python.pywikipediabot.general/11535
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2011-10-24 21:12
Message:
fixed in r9670
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw)
Date: 2011-10-24 20:35
Message:
But it's not in the interwiki map:
http://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=interwi…
maybe known_families should be updated?
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2011-10-24 20:17
Message:
unfortunately "nomad" is a known family :(
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3427930&group_…