Re: Unicode Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 14, 2009 at 9:16 AM, Gilberto Nunes
<gilberto.nunes@xxxxxxxxxxxxxxx> wrote:
> Hi all
>
> I'm newbie on list.
> I have deploy a system here, with a Ubuntu Server running KVM.
> Well, when I run virt-clone command, I get this error:
>
> CMD: virt-clone -o vm01 -n VMUbuntu-2 -f /virt/ubuntu-2.img
>
> RESULT:
> Traceback (most recent call last):
>  File "/usr/lib/python2.6/logging/__init__.py", line 773, in emit
>    stream.write(fs % msg.encode("UTF-8"))
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 14:
> ordinal not in range(128)
>
> I don't know if this is a issue of Ubuntu, libvirt (!)...
>
> Someone can point a way to fix this issue...

it seems that at some point in libvirt (which is mostly written in
Python), it transcodes some info between ascii and UTF8.  some of that
info isn't valid 7-bit ASCII, probably some name.  it's safer to use
only ascii valid strings, both in names and paths.

of course, it should be reported as a bug to the libvirt people
(http://libvirt.org/bugs.html)....

-- 
Javier
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux