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] twisted consoles

To: "xen-devel@xxxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] twisted consoles
From: James Harper <JamesH@xxxxxxxxxxxxxxxx>
Date: Mon, 28 Jun 2004 17:11:35 +1000
Delivery-date: Mon, 28 Jun 2004 08:13:17 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Thread-index: AcRc3yYL63gVJAL7QkeSYEr5JVrFhg==
Thread-topic: twisted consoles
i'm still having trouble connecting to consoles, the error i get from xend is something like:
 
xen1:~# telnet localhost 9601
Trying 127.0.0.1...
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 65, in callWithLogger
    callWithContext({"system": lp}, func, *args, **kw)
  File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 52, in callWithContext
    return context.call({ILogContext: newCtx}, func, *args, **kw)
  File "/usr/lib/python2.3/site-packages/twisted/python/context.py", line 32, in callWithContext
    return func(*args,**kw)
  File "/usr/lib/python2.3/site-packages/twisted/internet/pollreactor.py", line 160, in _doReadOrWrite
    why = selectable.doRead()
--- <exception caught here> ---
  File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 635, in doRead
    protocol.makeConnection(transport)
  File "/usr/lib/python2.3/site-packages/twisted/internet/protocol.py", line 310, in makeConnection
    self.connectionMade()
  File "/usr/lib/python2.3/site-packages/xenmgr/server/console.py", line 32, in connectionMade
    self.addr = (peer.host, peer.port)
exceptions.AttributeError: 'tuple' object has no attribute 'host'
 
i'm running debian sarge with python 2.3 and twisted 1.2.0-1.1 (debian package version)
 
Could that be the cause of the problems? from the looks of it i can probably fix it myself but i'd rather fix twisted if that is what's broken.
 
thanks
 
james