[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #11664 [BridgeDB]: BridgeDB's email server is currently not responding



#11664: BridgeDB's email server is currently not responding
----------------------------+----------------------
 Reporter:  isis            |          Owner:  isis
     Type:  defect          |         Status:  new
 Priority:  major           |      Milestone:
Component:  BridgeDB        |        Version:
 Keywords:  bridgedb-email  |  Actual Points:
Parent ID:                  |         Points:
----------------------------+----------------------
 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/log.py", line 88,
 in callWithLogger
     return callWithContext({"system": lp}, func, *args, **kw)
   File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 73,
 in callWithContext
     return context.call({ILogContext: newCtx}, func, *args, **kw)
   File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line
 118, in callWithContext
     return self.currentContext().callWithContext(ctx, func, *args, **kw)
   File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line
 81, in callWithContext
     return func(*args,**kw)
 --- <exception caught here> ---
   File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py",
 line 614, in _doReadOrWrite
     why = selectable.doRead()
   File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line
 215, in doRead
     return self._dataReceived(data)
   File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line
 221, in _dataReceived
     rval = self.protocol.dataReceived(data)
   File "/usr/lib/python2.7/dist-packages/twisted/protocols/basic.py", line
 454, in dataReceived
     self.lineReceived(line)
   File "/usr/lib/python2.7/dist-packages/twisted/mail/smtp.py", line 568,
 in lineReceived
     return getattr(self, 'state_' + self.mode)(line)
   File "/usr/lib/python2.7/dist-packages/twisted/mail/smtp.py", line 795,
 in dataLineReceived
     m.eomReceived() for m in self.__messages
   File "/srv/bridges.torproject.org/local/lib/python2.7/site-
 packages/bridgedb-0.2.0_dirty-py2.7.egg/bridgedb/EmailServer.py", line
 394, in eomReceived
     replyToMail(self.lines, self.ctx)
   File "/srv/bridges.torproject.org/local/lib/python2.7/site-
 packages/bridgedb-0.2.0_dirty-py2.7.egg/bridgedb/EmailServer.py", line
 284, in replyToMail
     sendToUser, response = getMailResponse(lines, ctx)
   File "/srv/bridges.torproject.org/local/lib/python2.7/site-
 packages/bridgedb-0.2.0_dirty-py2.7.egg/bridgedb/EmailServer.py", line
 229, in getMailResponse
     gpgContext=ctx.gpgContext)
   File "/srv/bridges.torproject.org/local/lib/python2.7/site-
 packages/bridgedb-0.2.0_dirty-py2.7.egg/bridgedb/EmailServer.py", line
 323, in composeEmail
     mail.write(buffer(body))
 exceptions.TypeError: 'buffer' does not have the buffer interface
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11664>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs