All of lore.kernel.org
 help / color / mirror / Atom feed
* Unicode Error
@ 2009-05-14 14:16 Gilberto Nunes
  2009-05-14 14:24 ` Javier Guerra
  0 siblings, 1 reply; 2+ messages in thread
From: Gilberto Nunes @ 2009-05-14 14:16 UTC (permalink / raw)
  To: kvm@vger.kernel.org

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...

Thanks...

Gilberto Nunes Ferreira
TI
Selbetti Gestão de Documentos
Telefone: +55 (47) 3441-6004
Celular: +55 (47) 8861-6672






^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Unicode Error
  2009-05-14 14:16 Unicode Error Gilberto Nunes
@ 2009-05-14 14:24 ` Javier Guerra
  0 siblings, 0 replies; 2+ messages in thread
From: Javier Guerra @ 2009-05-14 14:24 UTC (permalink / raw)
  To: gilberto.nunes; +Cc: kvm@vger.kernel.org

On Thu, May 14, 2009 at 9:16 AM, Gilberto Nunes
<gilberto.nunes@selbetti.com.br> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-14 14:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-14 14:16 Unicode Error Gilberto Nunes
2009-05-14 14:24 ` Javier Guerra

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.