Ticket #940 (closed support-request: fixed)

Opened 3 years ago

Last modified 3 years ago

buildbot try not working: StatusClientPerspective instance has no attribute 'perspective_try'

Reported by: bsavelev Owned by:
Priority: major Milestone: undecided
Version: 0.8.1 Keywords:
Cc:

Description

i try run build try with python-twisted 8.1.0 and buildbot 0.8.1

buildbot try --builder=drweb-common_6.0.0_drweb_solaris_all --connect=pb  --username=admin --passwd=admin --vc=git
/usr/lib/python2.5/site-packages/buildbot/util/__init__.py:137: UserWarning: Use simplejson, not the old json module.
  warnings.warn("Use simplejson, not the old json module.")
using 'pb' connect method
job created
Traceback from remote host -- Traceback unavailable

twisted.log:

2010-07-29 10:03:10+0400 [Broker,3,10.3.0.144] Peer will receive following PB traceback:                                                    
2010-07-29 10:03:10+0400 [Broker,3,10.3.0.144] Unhandled Error                                                                              
        Traceback (most recent call last):                                                                                                  
          File "/usr/lib/python2.5/site-packages/twisted/spread/banana.py", line 146, in gotItem                                            
            self.callExpressionReceived(item)                                                                                               
          File "/usr/lib/python2.5/site-packages/twisted/spread/banana.py", line 111, in callExpressionReceived                             
            self.expressionReceived(obj)                                                                                                    
          File "/usr/lib/python2.5/site-packages/twisted/spread/pb.py", line 526, in expressionReceived                                     
            method(*sexp[1:])                                                                                                               
          File "/usr/lib/python2.5/site-packages/twisted/spread/pb.py", line 837, in proto_message                                          
            self._recvMessage(self.localObjectForID, requestID, objectID, message, answerRequired, netArgs, netKw)                          
        --- <exception caught here> ---                                                                                                     
          File "/usr/lib/python2.5/site-packages/twisted/spread/pb.py", line 851, in _recvMessage                                           
            netResult = object.remoteMessageReceived(self, message, netArgs, netKw)                                                         
          File "/usr/lib/python2.5/site-packages/twisted/spread/pb.py", line 236, in perspectiveMessageReceived                             
            method = getattr(self, "perspective_%s" % message)                                                                              
        exceptions.AttributeError: StatusClientPerspective instance has no attribute 'perspective_try'

Change History

comment:1 Changed 3 years ago by dustin

  • Status changed from new to closed
  • Type changed from defect to support-request
  • Resolution set to fixed

It looks like you're connecting to the status client PB port, rather than the port specified to Try_Userpass.

Reopen if this guess is incorrect..

comment:2 Changed 3 years ago by bsavelev

I reread documentation and understand, that "try" is not for me now) thx for close

Note: See TracTickets for help on using tickets.