[Buildbot-devel] buildbot 'nine': ImportError: No module named mq

Jason Edgecombe jason at rampaginggeek.com
Sun Jan 6 23:29:57 UTC 2013


On 01/06/2013 03:45 PM, Dustin J. Mitchell wrote:
> On Sun, Jan 6, 2013 at 1:47 PM, Jason Edgecombe <jason at rampaginggeek.com> wrote:
>> On 01/06/2013 10:01 AM, Dustin J. Mitchell wrote:
>>> On Sat, Jan 5, 2013 at 9:47 PM, Jason Edgecombe <jason at rampaginggeek.com>
>>> wrote:
>>>>
>>>> "/usr/lib/python2.6/dist-packages/buildbot-0.8.7_pre2_1262_gc00f91e-py2.6.egg/buildbot/master.py",
>>>> line 36, in <module>
>>>>        from buildbot.mq import connector as mqconnector
>>>> ImportError: No module named mq
>>> That's looking for buildbot/mq/connector.py, which exists in nine.  I
>>> wonder if you have something weird going on with your Python Path?
>>>
>>> There's no support for anything but in-process messages right now.  If
>>> someone wants to add AMQP, STOMP, or ZeroMQ support (or all three!),
>>> have at it!  I'd also like to add an in-database message queue which
>>> will be ugly and slow and make DBAs take me off their Christmas card
>>> list, but will help users of clustered buildmasters get started
>>> without setting up any of the other tools.
>>>
>>> Dustin
>>>
>> I'm not looking to use AMQP. I just wanted to stand up a test VM with 'nine'
>> and possibly develop against it. I'm using a Vagrant Debian VM with my
>> puppet module that successfully sets up buildbot 0.8.X. I've added a few
>> packages for installation, but I can't seem to set up buildbot 'nine'.
>>
>> Because I wrote the automation (puppet module) to set up buildbot, I'm
>> certain that the same steps are being followed for 'nine', because I'm using
>> the same scripts for set up.
>>
>> I'm just trying to set up a simple buildbot VM for 'nine'.
>>
>> FYI, I have destroyed the VM and rebuilt from scratch, so there should be no
>> residual cruft.
> Ah, they're packaged.  It looks like buildbot.mq isn't included in
> setup.py.  I'll fix that right now.
>
> Dustin
>
Thanks Dustin! The mq error went away, but now, I have other errors:

% buildbot create-master ~/buildbot/openafs/
updating existing installation
creating /home/buildmaster/buildbot/openafs/master.cfg.sample
populating public_html/
populating templates/
Traceback (most recent call last):
   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", 
line 1014, in unwindGenerator
     return _inlineCallbacks(None, f(*args, **kwargs), Deferred())
   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", 
line 893, in _inlineCallbacks
     result = g.send(result)
   File 
"/usr/lib/python2.6/dist-packages/buildbot-0.8.7p1_446_g8bcb343-py2.6.egg/buildbot/scripts/create_master.py", 
line 145, in createMaster
     yield createDB(config)
   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", 
line 1014, in unwindGenerator
     return _inlineCallbacks(None, f(*args, **kwargs), Deferred())
--- <exception caught here> ---
   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", 
line 893, in _inlineCallbacks
     result = g.send(result)
   File 
"/usr/lib/python2.6/dist-packages/buildbot-0.8.7p1_446_g8bcb343-py2.6.egg/buildbot/scripts/create_master.py", 
line 128, in createDB
     master = BuildMaster(config['basedir'])
   File 
"/usr/lib/python2.6/dist-packages/buildbot-0.8.7p1_446_g8bcb343-py2.6.egg/buildbot/master.py", 
line 81, in __init__
     self.create_child_services()
   File 
"/usr/lib/python2.6/dist-packages/buildbot-0.8.7p1_446_g8bcb343-py2.6.egg/buildbot/master.py", 
line 142, in create_child_services
     self.www = wwwservice.WWWService(self)
   File 
"/usr/lib/python2.6/dist-packages/buildbot-0.8.7p1_446_g8bcb343-py2.6.egg/buildbot/www/service.py", 
line 49, in __init__
     raise RuntimeError("could not find buildbot-www; is it installed?")
exceptions.RuntimeError: could not find buildbot-www; is it installed?
%





More information about the devel mailing list