Changes between Version 20 and Version 21 of FAQ


Ignore:
Timestamp:
08/14/11 17:36:26 (22 months ago)
Author:
dustin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FAQ

    v20 v21  
    104104 1. it's generally the wrong solution to the problem you're trying to solve: If the functionality is so complex that it cannot be represented in a few lines of shell script, then most likely that functionality will need to be revision-controlled and tested outside of Buildbot.  Which means that it should be in a Python script in version-control somewhere, and Buildbot should be running the code from there. 
    105105 
    106 = I'm getting strange import errors {{{upgrade-master}}}-ing or restarting after an upgrade = 
    107  
    108 This manifests as errors such as 
     106= I'm getting import errors: cannot import name deque = 
    109107 
    110108{{{ 
     
    114112}}} 
    115113 
    116 There is some kind of state messed up in your installs; multiple versions of Twisted in different locations, both visible, for example. 
     114This is because there is a 'collections.pyc' floating around in your Buildbot install, after upgrading from an earlier version.  Seek and destroy it. 
    117115 
    118 The solution is to blow away your installation directory completely and reinstall your software stack.  For example, the above error was fixed by `rm -fr`ing `/usr/local/lib/python2.6` and another install directory, `~/sw/lib/python2.6`, then reinstalling Buildbot -- which downloads and installs its own twisted. 
     116= How do I "reset" my master to delete existing build state? = 
     117 
     118The easiest way to do this is to save your configuration, delete the master directory, and re-run {{{buildbot create-master}}}, then re-install your configuration.