[devel at bb.net] Buildbot on Mac OS X

Dustin J. Mitchell dustin at v.igoro.us
Sat Feb 13 23:34:58 UTC 2016


You can omit that commit.

On Tue, Feb 9, 2016 at 3:10 PM, Craig Treleaven <ctreleaven at cogeco.ca>
wrote:

> I noticed the changes committed to master to fix this bug and wondered if
> it is to patch 0.8.12, as well?
>
> With minor fixes, the patches apply to the 0.8.12 source code EXCEPT for
> the ‘dangling foreign key in migration’:
>
>
> https://github.com/buildbot/buildbot/commit/1df164f851e8b8bb94525930e7c07aa75dacd721
>
> I wasn’t clear if this change was necessary to allow using later versions
> of sqlalchemy-migrate?  Or will this only be available in the new 0.9
> version?
>
> Craig
>
>
> On Jan 31, 2016, at 10:38 AM, Dustin J. Mitchell <dustin at v.igoro.us>
> wrote:
>
> I'll see if I can fix up http://trac.buildbot.net/ticket/3425.  We
> haven't been prioritizing it, but you make a string case :)
>
> Dustin
>
> On Tue, Jan 26, 2016 at 2:09 PM, Craig Treleaven <ctreleaven at cogeco.ca>
> wrote:
>
>> Hi:
>>
>> Sorry if you are seeing this for the second time.  I posted on the users
>> list and it was suggested that perhaps I should repost on devel...
>>
>> 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 had 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 at buildbot.net
>> https://lists.buildbot.net/mailman/listinfo/users
>> _______________________________________________
>> devel mailing list
>> devel at buildbot.net
>> https://lists.buildbot.net/mailman/listinfo/devel
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/devel/attachments/20160213/48f061cc/attachment.html>


More information about the devel mailing list