[Buildbot] #3347: [master start problem] ImportError: cannot import name exceptions
Buildbot trac
trac at buildbot.net
Mon Aug 31 12:09:49 UTC 2015
#3347: [master start problem] ImportError: cannot import name exceptions
----------------------------+-----------------------
Reporter: noncom | Owner:
Type: support-request | Status: new
Priority: major | Milestone: undecided
Version: 0.8.12 | Keywords:
----------------------------+-----------------------
I am looking into moving to BuildBot from TeamCity.. Now I am trying to
make BuildBot run on my Mac and everything is fine except that I am
getting this:
sudo buildbot create-master /Users/admin/buildbot/master
Traceback (most recent call last):
File "/opt/local/bin/buildbot", line 4, in <module>
runner.run()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/buildbot/scripts/runner.py", line 696, in run
subcommandFunction = reflect.namedObject(subconfig.subcommandFunction)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/twisted/python/_reflectpy3.py", line 151, in namedObject
module = namedModule('.'.join(classSplit[:-1]))
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/twisted/python/_reflectpy3.py", line 137, in namedModule
topLevel = __import__(name)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/buildbot/scripts/upgrade_master.py", line 25, in <module>
from buildbot.db import connector
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/buildbot/db/connector.py", line 22, in <module>
from buildbot.db import pool, model, changes, schedulers,
sourcestamps, sourcestampsets
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/buildbot/db/model.py", line 18, in <module>
import migrate.versioning.schema
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/migrate/versioning/schema.py", line 10, in <module>
from sqlalchemy import exceptions as sa_exceptions
ImportError: cannot import name exceptions
I have tried the solution described here:
http://stackoverflow.com/questions/17031471/why-buildbot-throw-
importerror-cannot-import-name-exceptions
but it did not work, probably it's outdated. My buildbot version is the
recent 0.8.12, installed as per the instructions on the website.
Please help! Thanks.
--
Ticket URL: <http://trac.buildbot.net/ticket/3347>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the bugs
mailing list