JoinMarket-Org/joinmarket-clientserver

Unhandled Twisted Error in yg log: builtins.IndexError: tuple index out of range

kristapsk opened this issue · 7 comments

Unhandled Error                                                                                                                                                                              
Traceback (most recent call last):                                                                                                                                                           
  File "/home/user/git/joinmarket-clientserver/jmvenv/lib/python3.10/site-packages/twisted/python/log.py", line 96, in callWithLogger
    return callWithContext({"system": lp}, func, *args, **kw)                                                                                                                                 
  File "/home/user/git/joinmarket-clientserver/jmvenv/lib/python3.10/site-packages/twisted/python/log.py", line 80, in callWithContext                                                       
    return context.call({ILogContext: newCtx}, func, *args, **kw)           
  File "/home/user/git/joinmarket-clientserver/jmvenv/lib/python3.10/site-packages/twisted/python/context.py", line 117, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/home/user/git/joinmarket-clientserver/jmvenv/lib/python3.10/site-packages/twisted/python/context.py", line 82, in callWithContext
    return func(*args, **kw)
--- <exception caught here> ---
  File "/home/user/git/joinmarket-clientserver/jmvenv/lib/python3.10/site-packages/twisted/internet/posixbase.py", line 482, in _doReadOrWrite
    why = selectable.doRead()
  File "/home/user/git/joinmarket-clientserver/jmvenv/lib/python3.10/site-packages/twisted/internet/tcp.py", line 248, in doRead
    return self._dataReceived(data)
  File "/home/user/git/joinmarket-clientserver/jmvenv/lib/python3.10/site-packages/twisted/internet/tcp.py", line 253, in _dataReceived
    rval = self.protocol.dataReceived(data)
  File "/home/user/git/joinmarket-clientserver/jmvenv/lib/python3.10/site-packages/twisted/internet/endpoints.py", line 151, in dataReceived
    return self._wrappedProtocol.dataReceived(data)
  File "/home/user/git/joinmarket-clientserver/jmvenv/lib/python3.10/site-packages/txtorcon/socks.py", line 529, in dataReceived
    self._machine.feed_data(data)
  File "/home/user/git/joinmarket-clientserver/jmvenv/lib/python3.10/site-packages/txtorcon/socks.py", line 136, in feed_data
    self.got_data()
  File "/home/user/git/joinmarket-clientserver/jmvenv/lib/python3.10/site-packages/automat/_methodical.py", line 242, in got_data
    value = output(oself, *a, **k)
  File "/home/user/git/joinmarket-clientserver/jmvenv/lib/python3.10/site-packages/automat/_methodical.py", line 281, in __call__
    return self.method(oself, *args, **kwargs)
  File "/home/user/git/joinmarket-clientserver/jmvenv/lib/python3.10/site-packages/txtorcon/socks.py", line 311, in _relay_data
    self._sender.dataReceived(d)
  File "/home/user/git/joinmarket-clientserver/jmvenv/lib/python3.10/site-packages/twisted/protocols/tls.py", line 314, in dataReceived
    self._checkHandshakeStatus()
  File "/home/user/git/joinmarket-clientserver/jmvenv/lib/python3.10/site-packages/twisted/protocols/tls.py", line 241, in _checkHandshakeStatus
    self._tlsShutdownFinished(Failure())
  File "/home/user/git/joinmarket-clientserver/jmvenv/lib/python3.10/site-packages/twisted/protocols/tls.py", line 367, in _tlsShutdownFinished
    if _representsEOF(reason.value):
  File "/home/user/git/joinmarket-clientserver/jmvenv/lib/python3.10/site-packages/twisted/protocols/tls.py", line 114, in _representsEOF
    errorQueue = exceptionObject.args[0]
builtins.IndexError: tuple index out of range

Python 3.10.9 / Twisted 23.8.0.

Right before and after are "Lost IRC connection to" messages.

Just got this again, running e87dccc. Will upgrade to current master.

Just happened with v0.9.11, so is not solved by Twisted upgrades or anything.