All of lore.kernel.org
 help / color / mirror / Atom feed
From: David F Barrera <dfbp@us.ibm.com>
To: xen-devel <xen-devel@lists.xensource.com>
Subject: UnicodeError: label too long
Date: Wed, 21 Sep 2005 12:57:30 -0500	[thread overview]
Message-ID: <1127325451.3728.12.camel@dbarrera_tp> (raw)

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

             reply	other threads:[~2005-09-21 17:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-21 17:57 David F Barrera [this message]
2005-09-21 18:30 ` UnicodeError: label too long Jerone Young

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1127325451.3728.12.camel@dbarrera_tp \
    --to=dfbp@us.ibm.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.