All of lore.kernel.org
 help / color / mirror / Atom feed
* UnicodeError: label too long
@ 2005-09-21 17:57 David F Barrera
  2005-09-21 18:30 ` Jerone Young
  0 siblings, 1 reply; 2+ messages in thread
From: David F Barrera @ 2005-09-21 17:57 UTC (permalink / raw)
  To: xen-devel

changeset:   6967:7a45b8ccef01
tag:         tip
user:        kaf24@firebug.cl.cam.ac.uk
date:        Wed Sep 21 05:13:11 2005 +0000
summary:     Some cleanup in tpm-related files.

When attempting to save a domain on an x86_64 SLES 9 SP2 box, I get the
following error:

bl2-2:~ # xm save 1 /tmp/vm1-saved
Unexpected error: exceptions.UnicodeError

Please report to xen-devel@lists.xensource.com
Traceback (most recent call last):
  File "/usr/sbin/xm", line 10, in ?
    main.main(sys.argv)
  File "/tmp/xen-
unstable.hg/dist/install/usr/lib64/python/xen/xm/main.py", line
717, in main
    rc = cmd(args)
  File "/tmp/xen-
unstable.hg/dist/install/usr/lib64/python/xen/xm/main.py", line
185, in xm_save
    server.xend_domain_save(dom, savefile)
  File
"/tmp/xen-
unstable.hg/dist/install/usr/lib64/python/xen/xend/XendClient.py",
line 244, in xend_domain_save
    {'op'      : 'save',
  File
"/tmp/xen-
unstable.hg/dist/install/usr/lib64/python/xen/xend/XendClient.py",
line 155, in xendPost
    return self.client.xendPost(url, data)
  File
"/tmp/xen-
unstable.hg/dist/install/usr/lib64/python/xen/xend/XendProtocol.py",
line 97, in xendPost
    return self.xendRequest(url, "POST", args)
  File
"/tmp/xen-
unstable.hg/dist/install/usr/lib64/python/xen/xend/XendProtocol.py",
line 167, in xendRequest
    conn.request(method, url.fullpath(), self.request.data,
self.request.headers)
  File "/usr/lib64/python2.3/httplib.py", line 718, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib64/python2.3/httplib.py", line 733, in _send_request
    self.putrequest(method, url)
  File "/usr/lib64/python2.3/httplib.py", line 667, in putrequest
    self.putheader('Host', self.host.encode("idna"))
  File "/usr/lib64/python2.3/encodings/idna.py", line 160, in encode
    result.append(ToASCII(label))
  File "/usr/lib64/python2.3/encodings/idna.py", line 72, in ToASCII
    raise UnicodeError, "label too long"
UnicodeError: label too long


--
Also, when entering 'xm dmesg' after the save attempt, I received the
same message:

bl2-2:~ # xm dmesg
Unexpected error: exceptions.UnicodeError

Please report to xen-devel@lists.xensource.com
Traceback (most recent call last):
  File "/usr/sbin/xm", line 10, in ?
    main.main(sys.argv)
  File "/tmp/xen-
unstable.hg/dist/install/usr/lib64/python/xen/xm/main.py", line
717, in main
    rc = cmd(args)
  File "/tmp/xen-
unstable.hg/dist/install/usr/lib64/python/xen/xm/main.py", line
486, in xm_dmesg
    print server.xend_node_get_dmesg()
  File
"/tmp/xen-
unstable.hg/dist/install/usr/lib64/python/xen/xend/XendClient.py",
line 184, in xend_node_get_dmesg
    return self.xendGet(self.nodeurl('dmesg'))
  File
"/tmp/xen-
unstable.hg/dist/install/usr/lib64/python/xen/xend/XendClient.py",
line 152, in xendGet
    return self.client.xendGet(url, args)
  File
"/tmp/xen-
unstable.hg/dist/install/usr/lib64/python/xen/xend/XendProtocol.py",
line 86, in xendGet
    return self.xendRequest(url, "GET", args)
  File
"/tmp/xen-
unstable.hg/dist/install/usr/lib64/python/xen/xend/XendProtocol.py",
line 167, in xendRequest
    conn.request(method, url.fullpath(), self.request.data,
self.request.headers)
  File "/usr/lib64/python2.3/httplib.py", line 718, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib64/python2.3/httplib.py", line 733, in _send_request
    self.putrequest(method, url)
  File "/usr/lib64/python2.3/httplib.py", line 667, in putrequest
    self.putheader('Host', self.host.encode("idna"))
  File "/usr/lib64/python2.3/encodings/idna.py", line 160, in encode
    result.append(ToASCII(label))
  File "/usr/lib64/python2.3/encodings/idna.py", line 72, in ToASCII
    raise UnicodeError, "label too long"
UnicodeError: label too long


-- 
Regards,

David F Barrera
Linux Technology Center
Systems and Technology Group, IBM

"The wisest men follow their own direction. "
                                                        Euripides

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

* Re: UnicodeError: label too long
  2005-09-21 17:57 UnicodeError: label too long David F Barrera
@ 2005-09-21 18:30 ` Jerone Young
  0 siblings, 0 replies; 2+ messages in thread
From: Jerone Young @ 2005-09-21 18:30 UTC (permalink / raw)
  To: David F Barrera; +Cc: xen-devel

I was seeing the exact some problem on my SLES9 SP2 yesterday. 


On Wed, 2005-09-21 at 12:57 -0500, David F Barrera wrote:
> 
> 
> 
> 
>                              Date: 
> Wed, 21 Sep 2005 12:57:30 -0500
> 
> changeset:   6967:7a45b8ccef01
> tag:         tip
> user:        kaf24@firebug.cl.cam.ac.uk
> date:        Wed Sep 21 05:13:11 2005 +0000
> summary:     Some cleanup in tpm-related files.
> 
> When attempting to save a domain on an x86_64 SLES 9 SP2 box, I get
> the
> following error:
-- 
Jerone Young
IBM Linux Technology Center
jyoung5@us.ibm.com
512-838-1157 (T/L: 678-1157)

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

end of thread, other threads:[~2005-09-21 18:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-21 17:57 UnicodeError: label too long David F Barrera
2005-09-21 18:30 ` Jerone Young

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.