[Buildbot-devel] Problem upgrading to 0.8.4p1

Matthew Morse matt at apple.com
Thu Jun 30 23:33:38 UTC 2011


Dustin,

It appears that the way the buildmasters were started (by launchd on reboot of the Mac host) didn't specify a working directory, so who knows where the code was trying to write. I added a WorkingDirectory entry to those plists, and upon restart, the buildmasters started properly.

Thanks for the help. 
-- Matt


On Jun 29, 2011, at 10:03 PM PDT, Dustin J. Mitchell wrote:

> On Wed, Jun 29, 2011 at 8:56 PM, Matthew Morse <matt at apple.com> wrote:
>>        exceptions.UnboundLocalError: local variable 'conn1' referenced before assignment
> 
> It sounds like you ran the master in a directory to which it did not
> have write permission.  That code tries to create a test db in the
> current directory to detect and work around an sqlite bug, and doesn't
> handle a failure to create that db very well.
> 
> It's fixed in 7aac17fe5e1f8bbfe794ecec1db99d7b7528d8b0 on master:
>  https://github.com/djmitche/buildbot/commit/7aac17fe5e1f8bbfe794ecec1db99d7b7528d8b0.patch
> 
> Sorry about that!
> 
> Dustin





More information about the devel mailing list