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

Brian Warner warner-buildbot at lothar.com
Thu Jan 5 00:18:00 UTC 2006


> I'm getting this error:

> File "Z:\Tools\PythonLibs\buildbot\master.py", line 1008, in addChange
>  s.addChange(change)
> exceptions.AttributeError: Dependent instance has no attribute 'addChange'

I think this one is fixed in CVS: I added a dummy addChange() method to the
BaseScheduler class.

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.

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

cheers,
 -Brian





More information about the devel mailing list