[Twisted-Python] Another conch traceback

Jp Calderone exarkun at intarweb.us
Wed Feb 19 02:42:56 EST 2003


  When multiple sessions are running over the same <whatever>, exiting the
"primary" session hangs indefinitely.  Exiting any other session generates
this traceback in the "primary" session:

Traceback (most recent call last):
  File "/usr/local/bin/conch", line 32, in ?
    run()
  File "/home/exarkun/projects/python/Twisted/twisted/scripts/conch.py", line 170, in run
    reactor.run()
  File "/home/exarkun/projects/python/Twisted/twisted/internet/default.py", line 113, in run
    self.mainLoop()
  File "/home/exarkun/projects/python/Twisted/twisted/internet/default.py", line 127, in mainLoop
    log.deferr()
  File "/home/exarkun/projects/python/Twisted/twisted/internet/default.py", line 124, in mainLoop
    self.doIteration(t)
  File "/home/exarkun/projects/python/Twisted/twisted/internet/default.py", line 457, in doSelect
    log.deferr()
  File "/home/exarkun/projects/python/Twisted/twisted/internet/default.py", line 450, in doSelect
    why = getattr(selectable, method)()
  File "/home/exarkun/projects/python/Twisted/twisted/internet/tcp.py", line 105, in doRead
    return self.protocol.dataReceived(data)
  File "/home/exarkun/projects/python/Twisted/twisted/spread/banana.py", line 187, in dataReceived
    gotItem(item)
  File "/home/exarkun/projects/python/Twisted/twisted/spread/banana.py", line 119, in gotItem
    self.callExpressionReceived(item)
  File "/home/exarkun/projects/python/Twisted/twisted/spread/banana.py", line 86, in callExpressionReceived
    self.expressionReceived(obj)
  File "/home/exarkun/projects/python/Twisted/twisted/scripts/conch.py", line 370, in expressionReceived
    func(lst[1:])
  File "/home/exarkun/projects/python/Twisted/twisted/scripts/conch.py", line 430, in server_sendEOF
    channel = self.getChannel(cn)
  File "/home/exarkun/projects/python/Twisted/twisted/scripts/conch.py", line 389, in getChannel
    channel = conn.channels[channelID]
KeyError: 1


  and the unix socket is left dangling.

  Jp

-- 
 up 10 days, 12:28, 5 users, load average: 0.00, 0.02, 0.00
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20030219/c783f3da/attachment.pgp 


More information about the Twisted-Python mailing list