[Pkg-libvirt-maintainers] Bug#697864: virtinst: Locale shouldn't be blocking virt-clone

Cole Robinson crobinso at redhat.com
Mon Jan 14 20:21:28 UTC 2013


On 01/10/2013 10:55 AM, Kwadronaut-debian wrote:
> Package: virtinst
> Version: 0.500.3-2
> Severity: normal
> 
> Virt-clone fails if not every single locale environment variable present
> is supported. A fairly normal use case is someone logging in remotely
> and having her local environment variables in use remotely as well.
> Setting something like LC_TELEPHONE=hy_AM UTF-8 should be treated as
> irrelevant for virt-clone.
> 
> The generated traceback could probably be a warning and/or made more
> useful.
> 
> 
> Traceback (most recent call last):
>   File "/usr/bin/virt-clone", line 33, in <module>
>     cli.setupGettext()
>   File "/usr/lib/pymodules/python2.6/virtinst/cli.py", line 133, in
> setupGettext
>     locale.setlocale(locale.LC_ALL, '')
>   File "/usr/lib/python2.6/locale.py", line 513, in setlocale
>     return _setlocale(category, locale)
> locale.Error: unsupported locale setting
> 

Fixed upstream now:

http://git.fedorahosted.org/cgit/python-virtinst.git/commit/?id=0ac06166fc116e3c8dd2591830f8db4b129b658f



More information about the Pkg-libvirt-maintainers mailing list