[Buildbot-commits] [SPAM] Re: [Buildbot] #492: "try_wait" in .buildbot/options does not work

Buildbot buildbot-devel at lists.sourceforge.net
Thu Feb 18 14:36:36 UTC 2010


#492: "try_wait" in .buildbot/options does not work
--------------------------------+-------------------------------------------
Reporter:  ipv6guru             |        Owner:           
    Type:  defect               |       Status:  reopened 
Priority:  minor                |    Milestone:  undecided
 Version:  0.7.12               |   Resolution:           
Keywords:  sourceforge 1685082  |  
--------------------------------+-------------------------------------------
Changes (by cdadhemar):

  * status:  closed => reopened
 * cc: cdadhemar at gmail.com (added)
  * priority:  major => minor
  * version:  0.7.10 => 0.7.12
  * milestone:  0.7.12 => undecided
  * resolution:  fixed =>


Comment:

 Hello,

 The problem still occurs on 0.7.12 using the buildbot try --wait option.
 I have the following backtrace :

 Traceback (most recent call last):
   File "/data/mwrep/scs/python2.6/lib/python2.6/site-
 packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/internet/defer.py",
 line 280, in unpause
     self._runCallbacks()
   File "/data/mwrep/scs/python2.6/lib/python2.6/site-
 packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/internet/defer.py",
 line 323, in _runCallbacks
     self.result = callback(self.result, *args, **kw)
   File "/data/mwrep/scs/python2.6/lib/python2.6/site-
 packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/internet/defer.py",
 line 284, in _continue
     self.unpause()
   File "/data/mwrep/scs/python2.6/lib/python2.6/site-
 packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/internet/defer.py",
 line 280, in unpause
     self._runCallbacks()
 --- <exception caught here> ---
   File "/data/mwrep/scs/python2.6/lib/python2.6/site-
 packages/Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/internet/defer.py",
 line 323, in _runCallbacks
     self.result = callback(self.result, *args, **kw)
   File "/data/mwrep/scs/python2.6/lib/python2.6/site-
 packages/buildbot-0.7.12-py2.6.egg/buildbot/scripts/tryclient.py", line
 680, in <lambda>
     d.addCallback(lambda res: self.getStatus())
   File "/data/mwrep/scs/python2.6/lib/python2.6/site-
 packages/buildbot-0.7.12-py2.6.egg/buildbot/scripts/tryclient.py", line
 499, in getStatus
     wait = bool(self.getopt("wait", "try_wait", False))
 exceptions.TypeError: getopt() takes at most 3 arguments (4 given)

 Indeed Try.getopt should take only 3 arguments ...
 Maybe the correct code would be :

 wait = bool(self.getopt("try_wait", False))

 But I am really new to buildbot and I have to say that I have not a great
 understanding of the code yet ... Time will come that I will be able to
 submit a patch !

 Until this is fixed the --wait option is not usable.
 Thank you very much for your help on this issue !

 Cheers,
 CH

-- 
Ticket URL: <http://buildbot.net/trac/ticket/492#comment:5>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list