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

Kwadronaut-debian kwadronaut-debian at riseup.net
Thu Jan 10 15:55:57 UTC 2013


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

-- System Information:
Debian Release: 6.0.6
  APT prefers stable-updates
  APT policy: (990, 'stable-updates'), (990, 'stable'), (2, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages virtinst depends on:
ii  python             2.6.6-3+squeeze7      interactive high-level
object-orie
ii  python-libvirt     0.8.3-5+squeeze2      libvirt Python bindings
ii  python-libxml2     2.7.8.dfsg-2+squeeze6 Python bindings for the
GNOME XML
ii  python-support     1.0.10                automated rebuilding
support for P
ii  python-urlgrabber  3.9.1-4               A high-level cross-protocol
url-gr

Versions of packages virtinst recommends:
pn  qemu                          <none>     (no description available)
ii  virt-viewer                   0.2.1-1    Displaying the graphical
console o

virtinst suggests no packages.

-- no debconf information



More information about the Pkg-libvirt-maintainers mailing list