Opened 10 years ago
Last modified 7 years ago
#946 new defect
BzrPoller Unhandled Error
Reported by: | Hbot | Owned by: | |
---|---|---|---|
Priority: | patches-accepted | Milestone: | 0.9.+ |
Version: | 0.8.1 | Keywords: | bzr database docs |
Cc: |
Description (last modified by dustin)
buildbot 0.8.1 bzr_buildbot.py from git Python 2.7 Bazaar (bzr) 2.2b4 Debian GNU/Linux 5.0.3
from bzr_buildbot import BzrPoller bzr_poller = BzrPoller( url="lp:stellarium", poll_interval=5*60, ) c['change_source'] = [ bzr_poller ]
2010-07-31 16:34:44+0200 [-] adding 1 new changesources, removing 0 2010-07-31 16:34:44+0200 [-] BzrPoller(bzr+ssh://bazaar.launchpad.net/stellarium) starting 2010-07-31 16:34:44+0200 [-] Unhandled Error Traceback (most recent call last): File "/home/stellarium/lib/python2.7/buildbot/master.py", line 889, in <lambda> d.addCallback(lambda res: self.loadConfig_Sources(change_sources)) File "/home/stellarium/lib/python2.7/buildbot/master.py", line 988, in loadConfig_Sources d.addCallback(addNewOnes) File "/home/stellarium/lib/python2.7/twisted/internet/defer.py", line 260, in addCallback callbackKeywords=kw) File "/home/stellarium/lib/python2.7/twisted/internet/defer.py", line 249, in addCallbacks self._runCallbacks() --- <exception caught here> --- File "/home/stellarium/lib/python2.7/twisted/internet/defer.py", line 441, in _runCallbacks self.result = callback(self.result, *args, **kw) File "/home/stellarium/lib/python2.7/buildbot/master.py", line 986, in addNewOnes [self.change_svc.addSource(s) for s in added_sources] File "/home/stellarium/lib/python2.7/buildbot/changes/manager.py", line 91, in addSource source.setServiceParent(self) File "/home/stellarium/lib/python2.7/twisted/application/service.py", line 185, in setServiceParent self.parent.addService(self) File "/home/stellarium/lib/python2.7/twisted/application/service.py", line 305, in addService service.startService() File "/home/stellarium/buildmaster/bzr_buildbot.py", line 243, in startService for change in reversed(self.parent.changes): exceptions.AttributeError: ChangeManager instance has no attribute 'changes'
Attachments (1)
Change History (11)
comment:1 Changed 10 years ago by Hbot
comment:2 Changed 10 years ago by dustin
- Description modified (diff)
- Keywords bzr added; BzrPoller removed
Looks like the bzr_buildbot.py needs to get updated to work with the new schedulerdb stuff - changes are no longer available as a simple list. While we're at it, it should get merged into Buildbot proper. And tested. And documented.
comment:3 Changed 10 years ago by dustin
- Keywords database docs added
I'd like to see this done in 0.8.2, but 0.8.3 is fine if that's what it comes to
comment:4 Changed 10 years ago by dustin
- Milestone changed from 0.8.2 to 0.8.3
comment:5 Changed 10 years ago by ayust
- Milestone changed from 0.8.3 to 0.8.+
comment:6 Changed 10 years ago by dustin
c.f. #1755, which has a workaround.
Bzr support is currently orphaned, so this is unlikely to be fixed until a Bzr maintainer steps forward.
comment:7 Changed 9 years ago by tom.prince
patch originally by hsorby
comment:8 Changed 9 years ago by tom.prince
- Priority changed from critical to minor
Changing to minor, as we don't have a bzr maintainer.
comment:9 Changed 8 years ago by tom.prince
- Priority changed from minor to patches-accepted
comment:10 Changed 7 years ago by dustin
- Milestone changed from 0.8.+ to 0.9.+
Ticket retargeted after milestone closed
Note: See
TracTickets for help on using
tickets.
And for python2.5 :