[Buildbot-commits] [Buildbot] #2476: tutorial "buildbot create-master master" fails with ImportError
Buildbot trac
trac at buildbot.net
Thu Mar 21 00:10:28 UTC 2013
#2476: tutorial "buildbot create-master master" fails with ImportError
----------------------+-----------------------
Reporter: kennethd | Owner:
Type: undecided | Status: new
Priority: major | Milestone: undecided
Version: 0.8.7p1 | Keywords:
----------------------+-----------------------
due to an incompatibility with sqlalchemy-migrate==0.7.2 and
SQLAlchemy==0.8.0
{{{
(sandbox)kenneth at dhalgren:/tmp/bb$ buildbot create-master master
Traceback (most recent call last):
File "/tmp/bb/sandbox/bin/buildbot", line 5, in <module>
pkg_resources.run_script('buildbot==0.8.7p1', 'buildbot')
File "build/bdist.linux-i686/egg/pkg_resources.py", line 489, in
run_script
File "build/bdist.linux-i686/egg/pkg_resources.py", line 1207, in
run_script
File "/tmp/bb/sandbox/lib/python2.6/site-
packages/buildbot-0.8.7p1-py2.6.egg/EGG-INFO/scripts/buildbot", line 4, in
<module>
runner.run()
File "/tmp/bb/sandbox/lib/python2.6/site-
packages/buildbot-0.8.7p1-py2.6.egg/buildbot/scripts/runner.py", line 696,
in run
subcommandFunction = reflect.namedObject(subconfig.subcommandFunction)
File "/tmp/bb/sandbox/lib/python2.6/site-
packages/Twisted-12.3.0-py2.6-linux-i686.egg/twisted/python/_reflectpy3.py",
line 95, in namedObject
module = namedModule('.'.join(classSplit[:-1]))
File "/tmp/bb/sandbox/lib/python2.6/site-
packages/Twisted-12.3.0-py2.6-linux-i686.egg/twisted/python/_reflectpy3.py",
line 82, in namedModule
topLevel = __import__(name)
File "/tmp/bb/sandbox/lib/python2.6/site-
packages/buildbot-0.8.7p1-py2.6.egg/buildbot/scripts/create_master.py",
line 23, in <module>
from buildbot.db import connector
File "/tmp/bb/sandbox/lib/python2.6/site-
packages/buildbot-0.8.7p1-py2.6.egg/buildbot/db/connector.py", line 22, in
<module>
from buildbot.db import pool, model, changes, schedulers,
sourcestamps, sourcestampsets
File "/tmp/bb/sandbox/lib/python2.6/site-
packages/buildbot-0.8.7p1-py2.6.egg/buildbot/db/model.py", line 18, in
<module>
import migrate.versioning.schema
File "/tmp/bb/sandbox/lib/python2.6/site-
packages/sqlalchemy_migrate-0.7.2-py2.6.egg/migrate/versioning/schema.py",
line 10, in <module>
from sqlalchemy import exceptions as sa_exceptions
ImportError: cannot import name exceptions
}}}
see https://code.google.com/p/sqlalchemy-migrate/issues/detail?id=156
i tried doing the following, but my edit didn't "take", it went ahead &
tried to install 0.8.0 anyway:
{{{
(sandbox)kenneth at dhalgren:/tmp/bb2$ easy_install -b ./.build --dry-run
buildbot
(sandbox)kenneth at dhalgren:/tmp/bb2$ cp .build/buildbot/setup.py
./.build/buildbot/setup.py.ORIG
(sandbox)kenneth at dhalgren:/tmp/bb2$ vim .build/buildbot/setup.py
(sandbox)kenneth at dhalgren:/tmp/bb2$ diff .build/buildbot/setup.py
./.build/buildbot/setup.py.ORIG
192c192
< 'sqlalchemy >= 0.6, <= 0.7.10', # sqlalchemy-migrate not
compatible with sqlalchemy 0.8.0
---
> 'sqlalchemy >= 0.6',
(sandbox)kenneth at dhalgren:/tmp/bb2$ easy_install -b ./.build buildbot
}}}
--
Ticket URL: <http://trac.buildbot.net/ticket/2476>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list