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

To: James Harper <JamesH@xxxxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] twisted consoles
From: James Harper <JamesH@xxxxxxxxxxxxxxxx>
Date: Mon, 28 Jun 2004 17:20:05 +1000
Delivery-date: Mon, 28 Jun 2004 08:23:01 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: <BA265096-239A-4112-98B1-5948A161E077@mimectl>
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>
References: <BA265096-239A-4112-98B1-5948A161E077@mimectl>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Thread-index: AcRc4FYBzRUX7PvHSZKJa6LdR00FqA==
Thread-topic: [Xen-devel] twisted consoles
okay cancel that. I just installed 1.3.0 from debian testing and it appears to work fine.
 
*yay*
 
James


From: James Harper
Sent: Mon 28/06/2004 5:11 PM
To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] 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