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

RE: [Xen-devel] xend start fails with CS 10986 & 10982

To: "Zheng, Jeff" <jeff.zheng@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] xend start fails with CS 10986 & 10982
From: "Li, Xin B" <xin.b.li@xxxxxxxxx>
Date: Wed, 9 Aug 2006 15:10:23 +0800
Delivery-date: Wed, 09 Aug 2006 00:11:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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
Thread-index: Aca7e2qTOBqiXplxREGnSV/XcfFCOAAB1mrA
Thread-topic: [Xen-devel] xend start fails with CS 10986 & 10982
I have a fix, but I'm not sure if it's the right fix, anyway, it works for me.
-Xin 

>-----Original Message-----
>From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
>[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Zheng, Jeff
>Sent: 2006年8月9日 14:17
>To: xen-devel@xxxxxxxxxxxxxxxxxxx
>Subject: [Xen-devel] xend start fails with CS 10986 & 10982
>
>It complains:
>
>[root@vt-gs6 root]# xend start
>xend [ERROR] Reading config file /etc/xen/xend-config.sxp: Parser
>instance has no attribute 'buf'
>Traceback (most recent call last):
>  File "/usr/sbin/xend", line 49, in ?
>    from xen.xend.server import SrvDaemon
>  File "/usr/lib/python/xen/xend/server/SrvDaemon.py", line 21, in ?
>    import relocate
>  File "/usr/lib/python/xen/xend/server/relocate.py", line 26, in ?
>    from xen.xend import XendDomain
>  File "/usr/lib/python/xen/xend/XendDomain.py", line 33, in ?
>    import XendDomainInfo
>  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 39, in ?
>    import image
>  File "/usr/lib/python/xen/xend/image.py", line 28, in ?
>    from xen.xend.server.netif import randomMAC
>  File "/usr/lib/python/xen/xend/server/netif.py", line 33, in ?
>    xroot = XendRoot.instance()
>  File "/usr/lib/python/xen/xend/XendRoot.py", line 283, in instance
>    inst = XendRoot()
>  File "/usr/lib/python/xen/xend/XendRoot.py", line 104, in __init__
>    self.configure()
>  File "/usr/lib/python/xen/xend/XendRoot.py", line 116, in configure
>    self.set_config()
>  File "/usr/lib/python/xen/xend/XendRoot.py", line 133, in set_config
>    config = sxp.parse(fin)
>  File "/usr/lib/python/xen/xend/sxp.py", line 736, in parse
>    pin.input(buf)
>  File "/usr/lib/python/xen/xend/sxp.py", line 174, in input
>    self.input_char(c)
>  File "/usr/lib/python/xen/xend/sxp.py", line 187, in input_char
>    self.state.fn(c)
>  File "/usr/lib/python/xen/xend/sxp.py", line 273, in state_escape
>    self.input_char(c)
>  File "/usr/lib/python/xen/xend/sxp.py", line 187, in input_char
>    self.state.fn(c)
>  File "/usr/lib/python/xen/xend/sxp.py", line 294, in state_octal
>    elif len(self.buf):
>AttributeError: Parser instance has no attribute 'buf'
>
>Bests
>Jeff
>
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@xxxxxxxxxxxxxxxxxxx
>http://lists.xensource.com/xen-devel
>

Attachment: tools_python_fix.patch
Description: tools_python_fix.patch

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