WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] UnicodeError: label too long

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] UnicodeError: label too long
From: David F Barrera <dfbp@xxxxxxxxxx>
Date: Wed, 21 Sep 2005 12:57:30 -0500
Delivery-date: Wed, 21 Sep 2005 17:55:16 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
changeset:   6967:7a45b8ccef01
tag:         tip
user:        kaf24@xxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxx
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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>