When the category name is put on the command line in Linux
$ python pwb.py scripts/makecat.py -family:wikipedia -lang:en Roads_in_Kent
Traceback (most recent call last):
File "pwb.py", line 157, in <module> run_python_file(fn, argv, argvu) File "pwb.py", line 67, in run_python_file exec(compile(source, filename, "exec"), main_mod.__dict__) File "scripts/makecat.py", line 217, in <module> workingcatname = unicode(workingcatname, 'utf-8')
TypeError: decoding Unicode is not supported
<type 'exceptions.TypeError'>
CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
It works correctly if the category name is entered via pywikibot.input()
$ python pwb.py scripts/makecat.py -family:wikipedia -lang:en
Which page to start with? Roads_in_Kent
Roy Phippen
....
Version: core-(2.0)
Severity: major
OS: Linux
Platform: PC