Ticket #295 (closed defect: fixed)

Opened 6 months ago

Last modified 5 months ago

Got exception when upgrade from 0.7.6 to 0.7.7

Reported by: wangvisual Assigned to:
Priority: major Milestone: 0.7.8
Component: buildprocess Version: 0.7.7
Keywords: Cc:

Description

Here's the log:

--- <exception caught here> ---
>---  File "/u/ncxmgr/Apps/buildbot/lib/twisted/web/server.py", line 160, in process
>---    self.render(resrc)
>---  File "/u/ncxmgr/Apps/buildbot/lib/twisted/web/server.py", line 167, in render
>---    body = resrc.render(self)
>---  File "/remote/dept5532a/ncxmgr/Apps/buildbot/lib/buildbot-0.7.7_-py2.5.egg/buildbot/status/web/base.py", line 246, in render
>---    data = self.content(request)
>---  File "/remote/dept5532a/ncxmgr/Apps/buildbot/lib/buildbot-0.7.7_-py2.5.egg/buildbot/status/web/base.py", line 290, in content
>---    data += self.body(request)
>---  File "/remote/dept5532a/ncxmgr/Apps/buildbot/lib/buildbot-0.7.7_-py2.5.egg/buildbot/status/web/baseweb.py", line 208, in body
>---    num_builds=1))
>---  File "/remote/dept5532a/ncxmgr/Apps/buildbot/lib/buildbot-0.7.7_-py2.5.egg/buildbot/status/builder.py", line 1492, in generateFinishedBuilds
>---    build = self.getBuild(-Nb)
>---  File "/remote/dept5532a/ncxmgr/Apps/buildbot/lib/buildbot-0.7.7_-py2.5.egg/buildbot/status/builder.py", line 1471, in getBuild
>---    return self.getBuildByNumber(number)
>---  File "/remote/dept5532a/ncxmgr/Apps/buildbot/lib/buildbot-0.7.7_-py2.5.egg/buildbot/status/builder.py", line 1423, in getBuildByNumber
>---    styles.doUpgrade()
>---  File "/u/ncxmgr/Apps/buildbot/lib/twisted/persisted/styles.py", line 142, in doUpgrade
>---    requireUpgrade(versioned)
>---  File "/u/ncxmgr/Apps/buildbot/lib/twisted/persisted/styles.py", line 152, in requireUpgrade
>---    obj.versionUpgrade()
>---  File "/u/ncxmgr/Apps/buildbot/lib/twisted/persisted/styles.py", line 254, in versionUpgrade
>---    method(self)
>---  File "/remote/dept5532a/ncxmgr/Apps/buildbot/lib/buildbot-0.7.7_-py2.5.egg/buildbot/status/builder.py", line 1240, in upgradeToVersion3
>---    self.properties.update(propdict) 
>---exceptions.TypeError: update() takes exactly 3 arguments (2 given)

Here's the change which cause this exception: http://buildbot.net/trac/changeset/630

Change History

06/25/08 13:11:58 changed by dustin

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in 'fix-buildstatus-upgrade.patch', which should be arriving in brian's repo shortly.

07/15/08 12:28:31 changed by dustin

  • milestone changed from undecided to 0.7.8.