Ticket #460 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Error with SVNPoller and Nightly scheduler using "onlyIfChanged" flag

Reported by: Philcornet Owned by: dustin
Priority: major Milestone: 0.7.11
Version: 0.7.10 Keywords: sprint
Cc:

Description

Errors I get in my configuration:

2009/03/18 12:54 Romance Standard Time [-] SVNPoller failed
2009/03/18 12:54 Romance Standard Time [-] _finished : [Failure instance: Traceback: exceptions.TypeError: int argument required
	C:Python24libsite-packages	wistedinternetdefer.py:294:_startRunCallbacks
	C:Python24libsite-packages	wistedinternetdefer.py:307:_runCallbacks
	C:Python24libsite-packages	wistedinternetdefer.py:271:_continue
	C:Python24libsite-packages	wistedinternetdefer.py:267:unpause
	--- <exception caught here> ---
	C:Python24libsite-packages	wistedinternetdefer.py:307:_runCallbacks
	C:Python24libsite-packagesuildbotchangessvnpoller.py:452:submit_changes
	C:python24Libsite-packagesuildbotchangeschanges.py:224:addChange
	C:python24Libsite-packagesuildbotmaster.py:926:addChange
	C:Python24libsite-packagesuildbotscheduler.py:603:addChange
	]

I fixed it in Nightly::addChange by replacing the %d by a %s in the following line:

log.msg("Nightly Scheduler <%s>: ignoring change %d on off-branch %s" % (self.name, change.revision, change.branch))

Sincerly,

Philippe Cornet

Change History

comment:1 Changed 4 years ago by ashcrow

  • Milestone changed from undecided to 0.7.11

comment:2 Changed 4 years ago by dustin

  • Keywords sprint added
  • Owner set to dustin
  • Status changed from new to assigned

I'll get this committed this afternoon

comment:3 Changed 4 years ago by dustin

Fixed a while back in [84ee95a47f56fdd4eb5b4348bb724bf5ec5f1f43]

commit 84ee95a47f56fdd4eb5b4348bb724bf5ec5f1f43
Author: Dustin J. Mitchell <dustin@zmanda.com>
Date:   Sat May 2 19:49:13 2009 -0400

    don't assume change.revision is an integer in buildbot/scheduler.py (thanks to Darragh Bailey and Andrew Lawrence)

comment:4 Changed 4 years ago by dustin

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.