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
>
tools_python_fix.patch
Description: tools_python_fix.patch
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|