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=329602…
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=329602…