Bug#688217: Failure to create username with UTF-8 symbol

Roy Shannon <[email protected]>
Newsgroups gmane.linux.debian.devel.www
Message-ID <CAOnVuhEu68f3GAV1fTD7rZD_TBqEgi4qMdk-0fQnNBFTmQo6JQ__25999.8525654495$1556515829$gmane$org@mail.gmail.com>
On Thu, 20 Sep 2012 14:12:51 +0100 Steve McIntyre <[email protected]> wrote:
> Package: wiki.debian.org
> Severity: important
>
> Tried to create a new user account with a UTF-8 character
> (e.g. Flürble). This failed. Log excerpt:
>
> mod_wsgi (pid=29720): Exception occurred processing WSGI script '/srv/
wiki.debian.org/bin/moin.wsgi'.
> Traceback (most recent call last):
>   File "/usr/lib/pymodules/python2.5/werkzeug/wsgi.py", line 406, in
__call__
>     return self.app(environ, start_response)
>   File "/usr/lib/pymodules/python2.5/MoinMoin/wsgiapp.py", line 282, in
__call__
>     response = run(context)
>   File "/usr/lib/pymodules/python2.5/MoinMoin/wsgiapp.py", line 88, in run
>     response = dispatch(request, context, action_name)
>   File "/usr/lib/pymodules/python2.5/MoinMoin/wsgiapp.py", line 136, in
dispatch
>     response = handle_action(context, pagename, action_name)
>   File "/usr/lib/pymodules/python2.5/MoinMoin/wsgiapp.py", line 195, in
handle_action
>     handler(context.page.page_name, context)
>   File "/usr/lib/pymodules/python2.5/MoinMoin/action/newaccount.py", line
256, in execute
>     request.theme.add_msg(_create_user(request), "dialog")
>   File "/usr/lib/pymodules/python2.5/MoinMoin/action/newaccount.py", line
140, in _create_user
>     theuser.account_creation_host], shell=False, stdin=None,
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
>   File "/usr/lib/python2.5/subprocess.py", line 594, in __init__
>     errread, errwrite)
>   File "/usr/lib/python2.5/subprocess.py", line 1153, in _execute_child
>     raise child_exception
> TypeError: execv() arg 2 must contain only strings
>
> Looks like a bug in the interface to account creation checking. Sigh.
>
> -- System Information:
> Debian Release: wheezy/sid
>   APT prefers testing
>   APT policy: (500, 'testing')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
> Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dashboard

>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.