Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#2549 closed defect (fixed)

Repo buildstep AttributeError no attribute 'pathmodule' on force scheduler

Reported by: y2kenny Owned by:
Priority: major Milestone: 0.8.8
Version: master Keywords: gerrit
Cc: tardyp

Description (last modified by dustin)

Buildbot version: 0.8.8rc1 (master), with 0.8.7p1 (slave) Twisted version: 13.1.0

Step triggered using ForceScheduler?

Traceback (most recent call last):
  File "/home/jba/buildbot088/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1213, in unwindGenerator
    return _inlineCallbacks(None, gen, Deferred())
  File "/home/jba/buildbot088/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1070, in _inlineCallbacks
    result = g.send(result)
  File "/home/jba/buildbot088/local/lib/python2.7/site-packages/buildbot/steps/source/repo.py", line 237, in doStartVC
    d = self.doRepoSync()
  File "/home/jba/buildbot088/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1213, in unwindGenerator
    return _inlineCallbacks(None, gen, Deferred())
--- <exception caught here> ---
  File "/home/jba/buildbot088/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1070, in _inlineCallbacks
    result = g.send(result)
  File "/home/jba/buildbot088/local/lib/python2.7/site-packages/buildbot/steps/source/repo.py", line 264, in doRepoSync
    updatable = yield self.sourcedirIsUpdateable()
  File "/home/jba/buildbot088/local/lib/python2.7/site-packages/buildbot/steps/source/repo.py", line 220, in sourcedirIsUpdateable
    return self.pathExists(self.repoDir())
  File "/home/jba/buildbot088/local/lib/python2.7/site-packages/buildbot/steps/source/repo.py", line 217, in repoDir
    return self.build.pathmodule.join(self.workdir, ".repo")
exceptions.AttributeError: Build instance has no attribute 'pathmodule'

Change History (3)

comment:1 Changed 6 years ago by dustin

  • Cc tardyp added
  • Description modified (diff)
  • Keywords gerrit added
  • Milestone changed from undecided to 0.8.8

comment:2 Changed 6 years ago by tom.prince

  • Resolution set to fixed
  • Status changed from new to closed

comment:3 Changed 6 years ago by dustin

commit 28755e77133959d360eedcf7e81bdd021b81406a
Author: Tom Prince <tom.prince@ualberta.net>
Date:   Thu Aug 22 15:12:40 2013 -0600

    Fix usage of path_module in master-side repo step.

was the fix, for future reference

Note: See TracTickets for help on using tickets.