#917: Upgrade from 0.7.12 fails: 'Failed to load application: No module named
slave.bot'
-------------------+--------------------------------------------------------
Reporter:  tfogal  |       Owner:           
    Type:  defect  |      Status:  new      
Priority:  major   |   Milestone:  undecided
 Version:  0.8.1   |    Keywords:           
-------------------+--------------------------------------------------------

Comment(by Caemyr):

 The workaround is actually quite simple. Please notice:

 File "buildbot.tac", line 3, in <module> from buildbot.slave.bot import
 BuildSlave
   exceptions.ImportError: No module named slave.bot
   Failed to load application: No module named slave.bot

 Please see buildbot.tac file in your slave's directory. You can see that
 one of the imports is:
 buildbot.slave.bot import BuildSlave
 as listed in the error log. One quick glance at the 0.8.1 API reference
 (http://buildbot.net/buildbot/docs/0.8.1/reference) reveals that there is
 no such import available. Instead, there is interestingly-looking
 buildslave.bot that is exporting BuildSlave.
 Just correcting the import name will sort out this issue. I`m currently
 running full 0.8.1 upgraded from 0.8.0... Please also note that there is
 another command for launching slaves: buildslave start, instead of
 buildbot start.

 from buildslave.bot import BuildSlave

-- 
Ticket URL: <http://buildbot.net/trac/ticket/917#comment:3>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits

Reply via email to