[Buildbot-devel] Stack trace when using PBListener and Dependent scheduler

Julien Gilli julien.gilli at wengo.fr
Thu Jan 5 09:24:00 UTC 2006


Hello,

Brian Warner a écrit :

>I discovered a worse bug in Schedulers a few days ago. 0.7.1 has an ugly bug
>such that *any* time you reload the config file, any Scheduler that you
>didn't change gets half-removed from the buildmaster. The resulting
>half-attached Scheduler is given changes, so it calls
>self.parent.submitBuildSet(), but it has no .parent . This results in a
>different exception. This one has been fixed in CVS too.
>  
>
Is this stack trace related to the bug you mention above? :

2006/01/04 17:57 CET [-] Traceback (most recent call last):
          File 
"/usr/lib/python2.3/site-packages/twisted/scripts/twistd.py", line 187, 
in runApp
            app.runReactorWithLogging(config, oldstdout, oldstderr)
          File 
"/usr/lib/python2.3/site-packages/twisted/application/app.py", line 128, 
in runReactorWithLogging
            reactor.run()
          File 
"/usr/lib/python2.3/site-packages/twisted/internet/posixbase.py", line 
199, in run
            self.mainLoop()
          File 
"/usr/lib/python2.3/site-packages/twisted/internet/posixbase.py", line 
207, in mainLoop
            self.runUntilCurrent()
        --- <exception caught here> ---
          File 
"/usr/lib/python2.3/site-packages/twisted/internet/base.py", line 533, 
in runUntilCurrent
            call.func(*call.args, **call.kw)
          File "/home/buildmaster//lib/python/buildbot/scheduler.py", 
line 173, in fireTimer
            self.submit(bs)
          File "/home/buildmaster//lib/python/buildbot/scheduler.py", 
line 54, in submit
            self.parent.submitBuildSet(bs)
        exceptions.AttributeError: 'NoneType' object has no attribute 
'submitBuildSet'

>I'll probably try to get a new release out next week to include both of these
>fixes, since both bugs are pretty annoying.
>  
>
Great !

All the best,

-- 
Julien Gilli
OpenWengo, the free and multiplatform VoIP client
http://dev.openwengo.com/





More information about the devel mailing list