Opened 6 years ago

Closed 5 years ago

#11522 closed defect (fixed)

Current exception in BridgeDB email distributor

Reported by: isis Owned by: isis
Priority: Immediate Milestone:
Component: Circumvention/BridgeDB Version:
Severity: Keywords: bridgedb-email, bridgedb-0.2.0
Cc: isis, sysrqb Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

In the develop branch, due to some changes from #5232, I believe the second to last commit, 5092364f7e3ce42b61b0336a95519639d0e59308, which fixed #11370. The exception is:

Unhandled Error
Traceback (most recent call last):
  File "/home/isis/.virtualenvs/bridgedb/local/lib/python2.7/site-packages/twisted/python/log.py", line 88, in callWithLogger
    return callWithContext({"system": lp}, func, *args, **kw)
  File "/home/isis/.virtualenvs/bridgedb/local/lib/python2.7/site-packages/twisted/python/log.py", line 73, in callWithContext
    return context.call({ILogContext: newCtx}, func, *args, **kw)
  File "/home/isis/.virtualenvs/bridgedb/local/lib/python2.7/site-packages/twisted/python/context.py", line 118, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/home/isis/.virtualenvs/bridgedb/local/lib/python2.7/site-packages/twisted/python/context.py", line 81, in callWithContext
    return func(*args,**kw)
--- <exception caught here> ---
  File "/home/isis/.virtualenvs/bridgedb/local/lib/python2.7/site-packages/twisted/internet/posixbase.py", line 601, in _doReadOrWrite
    why = selectable.doRead()
  File "/home/isis/.virtualenvs/bridgedb/local/lib/python2.7/site-packages/twisted/internet/tcp.py", line 215, in doRead
    return self._dataReceived(data)
  File "/home/isis/.virtualenvs/bridgedb/local/lib/python2.7/site-packages/twisted/internet/tcp.py", line 221, in _dataReceived
    rval = self.protocol.dataReceived(data)
  File "/home/isis/.virtualenvs/bridgedb/local/lib/python2.7/site-packages/twisted/protocols/basic.py", line 571, in dataReceived
    why = self.lineReceived(line)
  File "/home/isis/.virtualenvs/bridgedb/local/lib/python2.7/site-packages/twisted/mail/smtp.py", line 1063, in lineReceived
    why = self._okresponse(self.code,'\n'.join(self.resp))
  File "/home/isis/.virtualenvs/bridgedb/local/lib/python2.7/site-packages/twisted/mail/smtp.py", line 1128, in smtpState_data
    self.getMailData(), self.transport, self.transformChunk)
  File "/home/isis/.virtualenvs/bridgedb/local/lib/python2.7/site-packages/twisted/protocols/basic.py", line 922, in beginFileTransfer
    self.consumer.registerProducer(self, False)
  File "/home/isis/.virtualenvs/bridgedb/local/lib/python2.7/site-packages/twisted/internet/_newtls.py", line 233, in registerProducer
    FileDescriptor.registerProducer(self, producer, streaming)
  File "/home/isis/.virtualenvs/bridgedb/local/lib/python2.7/site-packages/twisted/internet/abstract.py", line 112, in registerProducer
    producer.resumeProducing()
  File "/home/isis/.virtualenvs/bridgedb/local/lib/python2.7/site-packages/twisted/protocols/basic.py", line 940, in resumeProducing
    self.consumer.write(chunk)
  File "/home/isis/.virtualenvs/bridgedb/local/lib/python2.7/site-packages/twisted/internet/_newtls.py", line 191, in write
    FileDescriptor.write(self, bytes)
  File "/home/isis/.virtualenvs/bridgedb/local/lib/python2.7/site-packages/twisted/internet/abstract.py", line 343, in write
    raise TypeError("Data must not be unicode")
exceptions.TypeError: Data must not be unicode
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
Failure: exceptions.Exception: Consumer asked us to stop producing

Child Tickets

Change History (2)

comment:1 Changed 6 years ago by isis

Status: newaccepted

comment:2 Changed 5 years ago by isis

Keywords: bridgedb-0.2.0 added
Resolution: fixed
Status: acceptedclosed

Fixed in my 'fix/11522-exc-in-email-dist' branch. Merged into bridgedb-0.2.0.

Note: See TracTickets for help on using tickets.