Hi:

I’m attempting to set up a Mac OS X buildbot slave for the MythTV project.  
They haven’t had a Mac builder for several years and so I need to temporarily 
set up a buildbot master to work out the build process.  However, my initial 
attempts have been stymied by the sqlalchemy / sqlalchemy-migrate situation.

I also contribute a bit to the MacPorts package management system so I want to 
use that to install buildbot. It appeared to install OK but everytime I try to 
run ‘buildbot start blah’ or ‘buildbot checkconfig blah’, I get the following 
error message (full log below):

        exceptions.AttributeError: Requirements are not satisfied for 
buildbot.changes:GitPoller: (sqlalchemy-migrate 0.10.0 
(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages),
 Requirement.parse('sqlalchemy-migrate==0.7.2’))

Indeed, MacPorts installs  py27-sqlalchemy-migrate version 0.10.0 .  However, 
it is from (a new fork) at:

http://sqlalchemy-migrate.googlecode.com/

This fork has quite a few releases in 2014 and 2015.  

Has buildbot not been tested with the newer releases of sqlalchemy-migrate?  Or 
are there still compatibility problems?

Craig
PS I don’t know Python, much less the various python package processes.  I’m 
willing to get changes made at MacPorts to fix the package there.


$ buildbot start mymaster
Following twistd.log until startup finished..
2016-01-25 14:34:43-0500 [-] Log opened.
2016-01-25 14:34:43-0500 [-] twistd 13.2.0 
(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
 2.7.11) starting up.
2016-01-25 14:34:43-0500 [-] reactor class: 
twisted.internet.selectreactor.SelectReactor.
2016-01-25 14:34:43-0500 [-] Starting BuildMaster -- buildbot.version: 0.8.12
2016-01-25 14:34:43-0500 [-] Loading configuration from 
'/Users/craigtreleaven/mymaster/master.cfg'
2016-01-25 14:34:43-0500 [-] error while parsing config file:
        Traceback (most recent call last):
          File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/twisted/internet/defer.py",
 line 577, in _runCallbacks
            current.result = callback(current.result, *args, **kw)
          File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/twisted/internet/defer.py",
 line 1155, in gotResult
            _inlineCallbacks(r, g, deferred)
          File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/twisted/internet/defer.py",
 line 1099, in _inlineCallbacks
            result = g.send(result)
          File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/buildbot/master.py",
 line 189, in startService
            self.configFileName)
        --- <exception caught here> ---
          File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/buildbot/config.py",
 line 156, in loadConfig
            exec f in localDict
          File "/Users/craigtreleaven/mymaster/master.cfg", line 34, in <module>
            c['change_source'].append(changes.GitPoller(
          File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/buildbot/plugins/db.py",
 line 238, in __getattr__
            raise AttributeError(str(err))
        exceptions.AttributeError: Requirements are not satisfied for 
buildbot.changes:GitPoller: (sqlalchemy-migrate 0.10.0 
(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages),
 Requirement.parse('sqlalchemy-migrate==0.7.2'))
        
2016-01-25 14:34:43-0500 [-] Configuration Errors:
2016-01-25 14:34:43-0500 [-]   error while parsing config file: Requirements 
are not satisfied for buildbot.changes:GitPoller: (sqlalchemy-migrate 0.10.0 
(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages),
 Requirement.parse('sqlalchemy-migrate==0.7.2')) (traceback in logfile)
2016-01-25 14:34:43-0500 [-] Halting master.
2016-01-25 14:34:43-0500 [-] Main loop terminated.
2016-01-25 14:34:43-0500 [-] Server Shut Down.



_______________________________________________
users mailing list
users@buildbot.net
https://lists.buildbot.net/mailman/listinfo/users

Reply via email to