Bugs item #3297387, was opened at 2011-05-04 10:37
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3297387&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: Fixed
Priority: 5
Private: No
Submitted By: masti (masti01)
>Assigned to: xqt (xqt)
Summary: #3295288 - still not done
Initial Comment:
python ~/pw/pywikipedia/redirect.py double -api -namespace:0 -log -start:! -always
Retrieving pages....Traceback (most recent call last):
File "/usr/home/masti/pw/pywikipedia/redirect.py", line 800, in <module>
main()
File "/usr/home/masti/pw/pywikipedia/redirect.py", line 796, in main
bot.run()
File "/usr/home/masti/pw/pywikipedia/redirect.py", line 712, in run
self.fix_double_redirects()
File "/usr/home/masti/pw/pywikipedia/redirect.py", line 539, in fix_double_redirects
for redir_name in self.generator.retrieve_double_redirects():
File "/usr/home/masti/pw/pywikipedia/redirect.py", line 328, in retrieve_double_redirects
in self.get_redirects_via_api(maxlen=2):
File "/usr/home/masti/pw/pywikipedia/redirect.py", line 252, in get_redirects_via_api
data = query.GetData(params, self.site)
File "/usr/home/masti/pw/pywikipedia/query.py", line 55, in GetData
data[k] = unicode(ListToParam(v))
File "/usr/home/masti/pw/pywikipedia/query.py", line 281, in ListToParam
% item.__class__.__name__)
pywikibot.exceptions.Error: unknown item class int
python version.py
Pywikipedia [http] trunk/pywikipedia (r9213, 2011/05/04, 04:40:11)
Python 2.7.1 (r271:86832, Apr 19 2011, 02:35:09)
[GCC 4.3.4]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2011-05-04 22:48
Message:
oops... programmers shouldn't work early in the morning ;)
hopefully this has been fixed in r9214 now
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3297387&group_…
Bugs item #3297387, was opened at 2011-05-04 10:37
Message generated for change (Tracker Item Submitted) made by masti01
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3297387&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: masti (masti01)
Assigned to: Nobody/Anonymous (nobody)
Summary: #3295288 - still not done
Initial Comment:
python ~/pw/pywikipedia/redirect.py double -api -namespace:0 -log -start:! -always
Retrieving pages....Traceback (most recent call last):
File "/usr/home/masti/pw/pywikipedia/redirect.py", line 800, in <module>
main()
File "/usr/home/masti/pw/pywikipedia/redirect.py", line 796, in main
bot.run()
File "/usr/home/masti/pw/pywikipedia/redirect.py", line 712, in run
self.fix_double_redirects()
File "/usr/home/masti/pw/pywikipedia/redirect.py", line 539, in fix_double_redirects
for redir_name in self.generator.retrieve_double_redirects():
File "/usr/home/masti/pw/pywikipedia/redirect.py", line 328, in retrieve_double_redirects
in self.get_redirects_via_api(maxlen=2):
File "/usr/home/masti/pw/pywikipedia/redirect.py", line 252, in get_redirects_via_api
data = query.GetData(params, self.site)
File "/usr/home/masti/pw/pywikipedia/query.py", line 55, in GetData
data[k] = unicode(ListToParam(v))
File "/usr/home/masti/pw/pywikipedia/query.py", line 281, in ListToParam
% item.__class__.__name__)
pywikibot.exceptions.Error: unknown item class int
python version.py
Pywikipedia [http] trunk/pywikipedia (r9213, 2011/05/04, 04:40:11)
Python 2.7.1 (r271:86832, Apr 19 2011, 02:35:09)
[GCC 4.3.4]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3297387&group_…
Bugs item #3114570, was opened at 2010-11-21 16:56
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3114570&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: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Tgr (tgr_)
>Assigned to: xqt (xqt)
Summary: delete.py wrong message on undelete
Initial Comment:
When using delete.py -undelete to undelete a page, and no -summary argument is given, the bot will prompt "Enter a reason for the deletion"; it should say "Enter a reason for the undeletion" instead.
version.py:
Pywikipedia [http] trunk/pywikipedia (r8736, 2010/11/20, 10:28:21)
Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2011-05-04 06:40
Message:
done in r9213
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3114570&group_…
Bugs item #3126516, was opened at 2010-12-03 12:01
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3126516&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: 1
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: bot removes valid iw to zh
Initial Comment:
the bot (run in -cleanup mode) keeps removing iw links to zh that seem to be valid. what's the problem? Unicode conversion or anything else?
http://ja.wikipedia.org/w/index.php?title=%E5%BC%B5%E7%87%AE&diff=next&oldi…
Pywikipedia [http] trunk/pywikipedia (r8750, 2010/12/02, 07:25:51)
Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-12-06 08:56
Message:
Link should be fixed as shown by zh-wiki:
http://ja.wikipedia.org/w/index.php?title=%E5%BC%B5%E7%87%AE&action=history…
mw converts zh characters but pbw couldn't do it yet
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3126516&group_…
Bugs item #3146921, was opened at 2010-12-28 10:06
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3146921&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: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: DixonD (dixond)
>Assigned to: xqt (xqt)
Summary: Bug with adding invalid spaces in cosmetic_changes
Initial Comment:
Pywikipedia revision r8805
Please, look at this edit
http://uk.wikipedia.org/w/index.php?title=%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0…
For this line
#if: {{{archiveurl|}}}{{{archivedate|}}}
bot added extra space before if which is not correct.
Could you look into it? Thanks
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2011-05-04 06:22
Message:
fixed in r9169
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3146921&group_…
Bugs item #3208738, was opened at 2011-03-13 11:43
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3208738&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: Tanvir Rahman (tanvirglhs)
>Assigned to: xqt (xqt)
Summary: Interwiki.py is replacing texts
Initial Comment:
Hello, few days ago, my interwiki bot was malfunctioning 1/2 days ago. It was replacing words of the main article, what interwiki.py does not suppose to do. After I got informed about that problems, I stopped it, and re-installed Pywikipedia, and started everything over. As far as I know, that's not happening again now, but I still curious to know why was that happening in case of few edits. Since I don't know the cause, so I don't have the clue how to solve it in future.
The problematic diffs are as follows:
1. http://sl.wikipedia.org/wiki/?&diff=2826459&oldid=2826454
2. http://de.wikipedia.org/wiki/?&diff=prev&oldid=86257583
3. http://de.wikipedia.org/wiki/?&diff=prev&oldid=86259285
4. http://de.wikipedia.org/wiki/?&diff=prev&oldid=86258895
5. http://de.wikipedia.org/wiki/?&diff=prev&oldid=86259821
Here is the copy of my current version.py. The actual Pywikipedia version was a few revisions earlier.
Pywikipedia [http] trunk/pywikipedia (r9042, 2011/03/13, 10:14:47)
Python 2.7.1 (r271:86832, Jan 4 2011, 13:57:14)
[GCC 4.5.2]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2011-03-21 09:35
Message:
I had a lot of xml parser SaxParseBug errors when this error occured.
Unfortunately I deleted these files. Maybe it had to to with sth coming
from sprecial:export. Since 10 days there was no error again and I couldn't
reproduce it.
----------------------------------------------------------------------
Comment By: GanZ (ganz-ru)
Date: 2011-03-20 04:11
Message:
My script checked contribution and found some incorrect edits (below edits
in De.Wiki):
WikitanvirBot (in addition to edits in topic)
http://de.wikipedia.org/w/index.php?diff=86256825http://de.wikipedia.org/w/index.php?diff=86260439http://de.wikipedia.org/w/index.php?diff=86256886
Luckas-bot:
http://de.wikipedia.org/w/index.php?diff=86259198http://de.wikipedia.org/w/index.php?diff=86260085http://de.wikipedia.org/w/index.php?diff=86260280
Xqbot:
http://de.wikipedia.org/w/index.php?diff=86260277http://de.wikipedia.org/w/index.php?diff=86260345
ArthurBot:
http://de.wikipedia.org/w/index.php?diff=86258540
So, this problem happened to many different bots.
----------------------------------------------------------------------
Comment By: GanZ (ganz-ru)
Date: 2011-03-18 03:01
Message:
Also, I think that it is possible to write some script which can check
bot's edits and compare with it's description in comment. In almost every
of founded cases there clear mismatch between edit and it's description.
----------------------------------------------------------------------
Comment By: GanZ (ganz-ru)
Date: 2011-03-18 02:54
Message:
Same problem:
* http://nds-nl.wikipedia.org/w/index.php?diff=182567&oldid=181429
* http://ru.wikipedia.org/w/index.php?diff=32635182&oldid=32613311
* http://ru.wikipedia.org/w/index.php?diff=32634369&oldid=32072584 (edit's
comment does not correspond to action. 2 lines were removed by
cosmetic_changes.py)
* http://nds-nl.wikipedia.org/w/index.php?diff=182568&oldid=181967
All of these edits have 2 common points:
1) Date - 9-th or 10-th of March
2) Every edit changes some symbols to others by it's code shifting. For
example (here - http://sl.wikipedia.org/wiki/?diff=2826459&oldid=2826454):
l (U+006C) -> h (U+0068)
s (U+0073) -> w (U+0077)
r (U+0072) -> v (U+0076)
And everytime the new symbol is greater or lesser than old exactly of 4.
My current version (not the version when problem happened, of cource):
Pywikipedia [http] trunk/pywikipedia (r9086, 2011/03/17, 14:20:21)
Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit
(Intel)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw)
Date: 2011-03-13 14:13
Message:
Do you still have the checkout that caused these problems?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3208738&group_…
Bugs item #3278877, was opened at 2011-04-07 08:53
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3278877&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: Fixed
Priority: 5
Private: No
Submitted By: mathieu Clabaut (clabaut)
>Assigned to: xqt (xqt)
Summary: RuntimeError: API query error: {u'error': {u'info': u"Unreco
Initial Comment:
I get the following exception when talking to a 1.12.0 mediawiki installation.
Traceback (most recent call last):
File "./unspam.py", line 324, in <module>
main()
File "./unspam.py", line 318, in main
bot.run()
File "./unspam.py", line 147, in run
bltext = self.load(blpage)
File "./unspam.py", line 236, in load
text = page.get()
File "/home/clabaut/deploy/pywikipedia-svn/wikipedia.py", line 669, in get
expandtemplates = expandtemplates)
File "/home/clabaut/deploy/pywikipedia-svn/wikipedia.py", line 740, in _getEditPage
raise RuntimeError("API query error: %s" % data)
RuntimeError: API query error: {u'error': {u'info': u"Unrecognised values for parameter 'inprop'", u'code': u'inunknown_inprop'}}
$ python2 version.py
Pywikipedia [http] trunk/pywikipedia (r9136, 2011/03/29, 15:55:44)
Python 2.7.1 (r271:86832, Feb 21 2011, 01:26:25)
[GCC 4.5.2 20110127 (prerelease)]
config-settings:
use_api = True
use_api_login = True
unicode test: triggers problem #3081100
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2011-05-04 06:01
Message:
fixed in r9212
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3278877&group_…
Bugs item #3296020, was opened at 2011-05-02 06:38
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3296020&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: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: xqt (xqt)
Summary: iw error with self.categories_last option in user-config
Initial Comment:
Hello,
with this line enabled in user-config.py:
self.categories_last = ['cs', 'da', 'de', 'el', 'en', 'es', 'fa', 'fi', 'fr', 'he', 'hr', 'hu', 'is', 'it', 'ja', 'ko', 'lt', 'lv', 'nl', 'no', 'pl', 'pt', 'pt-br', 'ro', 'ru', 'sk', 'sr', 'sv', 'tr', 'zh-tw', 'zh']
I get this kind of error:
Changes to be made: Adding: de
2 Dump xx (___) written.
3 Traceback (most recent call last):
4 File "interwiki.py", line 2714, in <module>
5 main()
6 File "interwiki.py", line 2688, in main
7 bot.run()
8 File "interwiki.py", line 2431, in run
9 self.queryStep()
10 File "interwiki.py", line 2409, in queryStep
11 subj.finish(self)
12 File "interwiki.py", line 1861, in finish
13 if self.replaceLinks(page, new, bot):
14 File "interwiki.py", line 2017, in replaceLinks
15 template=template)
16 File "/home/pete/pywp/pywikibot/textlib.py", line 430, in replaceLanguageLinks
17 site) + separator + s
18 TypeError: an integer is required
version.py:
Pywikipedia [http] trunk/pywikipedia (r9209, 2011/05/02, 03:56:15)
Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56)
[GCC 4.4.3]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2011-05-02 20:41
Message:
fixed in r9120 but you must not use this setting in your user_config.py.
It is striktly recommented to use it in the related family file only and I
guess it is not used by wikimedia families. Otherwise it could cause a lot
of trouble.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3296020&group_…
Feature Requests item #3295329, was opened at 2011-04-30 14:05
Message generated for change (Comment added) made by binbot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3295329&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: Bináris (binbot)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add roman.py to framework
Initial Comment:
I wrote a new script, see at http://hu.wikipedia.org/wiki/Szerkeszt%C5%91:BinBot/roman.py
It transforms any Arabic number to Roman and Romans to Arabic from 1 to 3999 (the largest regular Roman number) and has a list comprehension function as well.
I would like to have it in the framework, because TOCbot (http://hu.wikipedia.org/wiki/Szerkeszt%C5%91:Bin%C3%A1ris/TOCbot) will need it. Please help to supply a version number.
----------------------------------------------------------------------
Comment By: Bináris (binbot)
Date: 2011-05-02 10:54
Message:
Oh, I hadn't known that before I began to write. But I don't think it is
standard in the meaning you cannot just import it without prior extra
installing.
TOCbot uses my version, and I expect it to be widely used, and it is more
comfortable to bot owners just to use the framework as it is.
Date.py also has its own Roman number system as a pure list, and does not
use this script from PyPi. It could be also simplified using my module.
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw)
Date: 2011-05-01 12:38
Message:
There already is a standard python package in PyPI for this:
http://pypi.python.org/pypi/roman
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3295329&group_…
Bugs item #3296020, was opened at 2011-05-02 04:38
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3296020&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: Nobody/Anonymous (nobody)
Summary: iw error with self.categories_last option in user-config
Initial Comment:
Hello,
with this line enabled in user-config.py:
self.categories_last = ['cs', 'da', 'de', 'el', 'en', 'es', 'fa', 'fi', 'fr', 'he', 'hr', 'hu', 'is', 'it', 'ja', 'ko', 'lt', 'lv', 'nl', 'no', 'pl', 'pt', 'pt-br', 'ro', 'ru', 'sk', 'sr', 'sv', 'tr', 'zh-tw', 'zh']
I get this kind of error:
Changes to be made: Adding: de
2 Dump xx (___) written.
3 Traceback (most recent call last):
4 File "interwiki.py", line 2714, in <module>
5 main()
6 File "interwiki.py", line 2688, in main
7 bot.run()
8 File "interwiki.py", line 2431, in run
9 self.queryStep()
10 File "interwiki.py", line 2409, in queryStep
11 subj.finish(self)
12 File "interwiki.py", line 1861, in finish
13 if self.replaceLinks(page, new, bot):
14 File "interwiki.py", line 2017, in replaceLinks
15 template=template)
16 File "/home/pete/pywp/pywikibot/textlib.py", line 430, in replaceLanguageLinks
17 site) + separator + s
18 TypeError: an integer is required
version.py:
Pywikipedia [http] trunk/pywikipedia (r9209, 2011/05/02, 03:56:15)
Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56)
[GCC 4.4.3]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3296020&group_…