It has been reported https://it.wikipedia.org/wiki/Speciale:Diff/67448044 to me that core's welcome.py doesn't stop with the '-break' option enabled. Unfortunately, I have no past experience with it. Does it work for you?
For me it breaks with or without -break: ladsgroup@tools-dev:~/core-clean$ python pwb.py welcome -lang:fa 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/welcome.py", line 194, in <module> locale.setlocale(locale.LC_ALL, '') File "/usr/lib/python2.7/locale.py", line 539, in setlocale return _setlocale(category, locale) locale.Error: unsupported locale setting <class 'locale.Error'> CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
On Fri, Aug 8, 2014 at 8:17 AM, Ricordisamoa ricordisamoa@openmailbox.org wrote:
It has been reported https://it.wikipedia.org/wiki/Speciale:Diff/67448044 to me that core's welcome.py doesn't stop with the '-break' option enabled. Unfortunately, I have no past experience with it. Does it work for you?
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
On Sun, Aug 10, 2014 at 8:08 PM, Amir Ladsgroup ladsgroup@gmail.com wrote:
For me it breaks with or without -break: ladsgroup@tools-dev:~/core-clean$ python pwb.py welcome -lang:fa 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/welcome.py", line 194, in <module> locale.setlocale(locale.LC_ALL, '') File "/usr/lib/python2.7/locale.py", line 539, in setlocale return _setlocale(category, locale) locale.Error: unsupported locale setting <class 'locale.Error'> CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
Which platform do you see that error on?
checkimages also includes that line:
locale.setlocale(locale.LC_ALL, '')
compat script catimages also includes the same line.
has a bug been raised?
-- John Vandenberg
On 10 August 2014 12:08, Amir Ladsgroup ladsgroup@gmail.com wrote:
locale.Error: unsupported locale setting
i.e. you're using a locale that's not supported by the host you're running on (tools-dev). What locale did you set (i.e. what's the output of the 'locale' command)?
Check locale -a to see what locales are supported.
Merlijn
I just checked (I fixed the locale thing) It fell in endless check and never stops
Best
On 9/2/14, Merlijn van Deen valhallasw@arctus.nl wrote:
On 10 August 2014 12:08, Amir Ladsgroup ladsgroup@gmail.com wrote:
locale.Error: unsupported locale setting
i.e. you're using a locale that's not supported by the host you're running on (tools-dev). What locale did you set (i.e. what's the output of the 'locale' command)?
Check locale -a to see what locales are supported.
Merlijn