Opened 10 years ago

Closed 10 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
Cc:

Description

2009/02/26 09:13 PST [Broker,0,10.5.52.243] Peer will receive following PB traceback:
2009/02/26 09:13 PST [Broker,0,10.5.52.243] Traceback (most recent call last):
        Failure: <class 'twisted.cred.error.UnauthorizedLogin'>: 
        
2009/02/26 09:13 PST [Broker,0,10.5.52.243] Unhandled error in Deferred:
2009/02/26 09:13 PST [Broker,0,10.5.52.243] Traceback (most recent call last):
          File "/usr/lib64/python2.5/site-packages/twisted/spread/pb.py", line 559, in expressionReceived
            method(*sexp[1:])
          File "/usr/lib64/python2.5/site-packages/twisted/spread/pb.py", line 870, in proto_message
            self._recvMessage(self.localObjectForID, requestID, objectID, message, answerRequired, netArgs, netKw)
          File "/usr/lib64/python2.5/site-packages/twisted/spread/pb.py", line 908, in _recvMessage
            callbackArgs=args, errbackArgs=args)
          File "/usr/lib64/python2.5/site-packages/twisted/internet/defer.py", line 182, in addCallbacks
            self._runCallbacks()
        --- <exception caught here> ---
          File "/usr/lib64/python2.5/site-packages/twisted/internet/defer.py", line 307, in _runCallbacks
            self.result = callback(self.result, *args, **kw)
          File "/usr/lib64/python2.5/site-packages/twisted/spread/pb.py", line 938, in _sendFailure
            self._sendError(fail, requestID)
          File "/usr/lib64/python2.5/site-packages/twisted/spread/pb.py", line 953, in _sendError
            self.sendCall("error", requestID, self.serialize(fail))
          File "/usr/lib64/python2.5/site-packages/twisted/spread/pb.py", line 807, in serialize
            return jelly(object, self.security, None, self)
          File "/usr/lib64/python2.5/site-packages/twisted/spread/jelly.py", line 879, in jelly
            return _Jellier(taster, persistentStore, invoker).jelly(object)
          File "/usr/lib64/python2.5/site-packages/twisted/spread/jelly.py", line 408, in jelly
            return obj.jellyFor(self)
          File "/usr/lib64/python2.5/site-packages/twisted/spread/flavors.py", line 308, in jellyFor
            sxp.extend([t, jellier.jelly(state)])
          File "/usr/lib64/python2.5/site-packages/twisted/spread/jelly.py", line 468, in jelly
            sxp.append([self.jelly(key), self.jelly(val)])
          File "/usr/lib64/python2.5/site-packages/twisted/spread/jelly.py", line 460, in jelly
            sxp.append(self.jelly(item))
          File "/usr/lib64/python2.5/site-packages/twisted/spread/jelly.py", 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 10 years ago by dustin

  • Keywords sprint added

comment:2 Changed 10 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).

So:

Python2.5 requires Twisted 8.0.0 or later.

Note: See TracTickets for help on using tickets.