Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#11664 closed defect (fixed)

BridgeDB's email server is currently not responding

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


Likely because I missed another occurrence (during #5232 and related tickets) of the builtin buffer() type having either the new or old interface style. From the server.log:

Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/python/", line 88, in callWithLogger
    return callWithContext({"system": lp}, func, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/twisted/python/", line 73, in callWithContext
    return{ILogContext: newCtx}, func, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/twisted/python/", line 118, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/twisted/python/", line 81, in callWithContext
    return func(*args,**kw)
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/", line 614, in _doReadOrWrite
    why = selectable.doRead()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/", line 215, in doRead
    return self._dataReceived(data)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/", line 221, in _dataReceived
    rval = self.protocol.dataReceived(data)
  File "/usr/lib/python2.7/dist-packages/twisted/protocols/", line 454, in dataReceived
  File "/usr/lib/python2.7/dist-packages/twisted/mail/", line 568, in lineReceived
    return getattr(self, 'state_' + self.mode)(line)
  File "/usr/lib/python2.7/dist-packages/twisted/mail/", line 795, in dataLineReceived
    m.eomReceived() for m in self.__messages
  File "/srv/", line 394, in eomReceived
    replyToMail(self.lines, self.ctx)
  File "/srv/", line 284, in replyToMail
    sendToUser, response = getMailResponse(lines, ctx)
  File "/srv/", line 229, in getMailResponse
  File "/srv/", line 323, in composeEmail
exceptions.TypeError: 'buffer' does not have the buffer interface

Child Tickets

Change History (1)

comment:1 Changed 6 years ago by isis

Resolution: fixed
Status: newclosed

Fixed in my fix/11664-email-buffer-interface branch, backported to master, and included in develop.

Last edited 6 years ago by isis (previous) (diff)
Note: See TracTickets for help on using tickets.