Opened 12 years ago

Closed 12 years ago

#437 closed defect (wontfix)

UnauthorizedLogin not propagating to client

Reported by: dustin Owned by:
Priority: major Milestone: 0.7.11
Version: 0.7.10 Keywords: sprint


2009/02/26 09:13 PST [Broker,0,] Peer will receive following PB traceback:
2009/02/26 09:13 PST [Broker,0,] Traceback (most recent call last):
        Failure: <class 'twisted.cred.error.UnauthorizedLogin'>: 
2009/02/26 09:13 PST [Broker,0,] Unhandled error in Deferred:
2009/02/26 09:13 PST [Broker,0,] Traceback (most recent call last):
          File "/usr/lib64/python2.5/site-packages/twisted/spread/", line 559, in expressionReceived
          File "/usr/lib64/python2.5/site-packages/twisted/spread/", line 870, in proto_message
            self._recvMessage(self.localObjectForID, requestID, objectID, message, answerRequired, netArgs, netKw)
          File "/usr/lib64/python2.5/site-packages/twisted/spread/", line 908, in _recvMessage
            callbackArgs=args, errbackArgs=args)
          File "/usr/lib64/python2.5/site-packages/twisted/internet/", line 182, in addCallbacks
        --- <exception caught here> ---
          File "/usr/lib64/python2.5/site-packages/twisted/internet/", line 307, in _runCallbacks
            self.result = callback(self.result, *args, **kw)
          File "/usr/lib64/python2.5/site-packages/twisted/spread/", line 938, in _sendFailure
            self._sendError(fail, requestID)
          File "/usr/lib64/python2.5/site-packages/twisted/spread/", line 953, in _sendError
            self.sendCall("error", requestID, self.serialize(fail))
          File "/usr/lib64/python2.5/site-packages/twisted/spread/", line 807, in serialize
            return jelly(object,, None, self)
          File "/usr/lib64/python2.5/site-packages/twisted/spread/", line 879, in jelly
            return _Jellier(taster, persistentStore, invoker).jelly(object)
          File "/usr/lib64/python2.5/site-packages/twisted/spread/", line 408, in jelly
            return obj.jellyFor(self)
          File "/usr/lib64/python2.5/site-packages/twisted/spread/", line 308, in jellyFor
            sxp.extend([t, jellier.jelly(state)])
          File "/usr/lib64/python2.5/site-packages/twisted/spread/", line 468, in jelly
            sxp.append([self.jelly(key), self.jelly(val)])
          File "/usr/lib64/python2.5/site-packages/twisted/spread/", line 460, in jelly
          File "/usr/lib64/python2.5/site-packages/twisted/spread/", line 496, in jelly
            (objType, obj))
        <class 'twisted.spread.jelly.InsecureJelly'>: Type not allowed for object: <type 'type'> <class 'twisted.cred.error.UnauthorizedLogin'>

You see absolutely nothing on the client side.

Change History (2)

comment:1 Changed 12 years ago by dustin

  • Keywords sprint added

comment:2 Changed 12 years ago by dustin

  • Resolution set to wontfix
  • Status changed from new to closed

In talking to exarkun, this happens when using a newer Python (2.5 in this case) with an older Twisted (2.4.0 in this case).


Python2.5 requires Twisted 8.0.0 or later.

Note: See TracTickets for help on using tickets.