juju-quickstart fails to start in UTF-8 systems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-quickstart |
New
|
Undecided
|
Unassigned |
Bug Description
The command "juju-quickstart" fails to start when LC_ALL is set to use unicode output locales but works fine if a not-UTF8 locale is setted. The
Juju-Quickstart is in version 2.2.1+bzr140+
The bug can be easily replicated:
~$ export LC_ALL=pt_BR.UTF-8
~$ juju-quickstart
Traceback (most recent call last):
File "/usr/bin/
options = manage.setup()
File "/usr/lib/
default_
File "/usr/lib/
retcode, output, _ = utils.call('juju', 'switch')
File "/usr/lib/
return 127, '', '{}: {}'.format(command, err)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 26: ordinal not in range(128)
~$ env | grep LANG
LANG=pt_BR.UTF-8
...
~$ export LANG=pt_BR
~$ juju-quickstart
interactive session closed
quitting'''
description: | updated |