[Buildbot-devel] [buildbot-devel] cant start buildbot master for lack of pysqlite

Tom Prince tom.prince at ualberta.net
Wed Jan 18 07:13:57 UTC 2012


On Tue, 17 Jan 2012 22:45:20 -0800, Mike Winter <miwinter at cisco.com> wrote:
> 
> 
> buildbot start shows pysqlite  not found
> 
> pip freeze says:
> 
> Fabric==1.3.3
> Jinja2==2.6
> SQLAlchemy==0.7.4
> Tempita==0.5.1
> Twisted==11.1.0
> buildbot==0.8.5
> decorator==3.3.2
> distribute==0.6.24
> pycrypto==2.5
> sqlalchemy-migrate==0.7.1
> ssh==1.7.11
> wsgiref==0.1.2
> zope.interface==3.8.0
> 
> I read somewhere that pysqlite is included in python >2.5, I am using 2.7.2. but starting master gives log:
> 
> [big snip]
>           File "/ws/miwinter-sjc/marsplat/security/integration_tests/buildbot/venv/lib/python2.7/site-packages/SQLAlchemy-0.7.4-py2.7-linux-i686.egg/sqlalchemy/engine/__init__.py", line 321, in create_engine
>             return strategy.create(*args, **kwargs)
>           File "/ws/miwinter-sjc/marsplat/security/integration_tests/buildbot/venv/lib/python2.7/site-packages/buildbot-0.8.5-py2.7.egg/buildbot/db/enginestrategy.py", line 167, in create
>             u, **kwargs)
>           File "/ws/miwinter-sjc/marsplat/security/integration_tests/buildbot/venv/lib/python2.7/site-packages/SQLAlchemy-0.7.4-py2.7-linux-i686.egg/sqlalchemy/engine/strategies.py", line 64, in create
>             dbapi = dialect_cls.dbapi(**dbapi_args)
>           File "/ws/miwinter-sjc/marsplat/security/integration_tests/buildbot/venv/lib/python2.7/site-packages/SQLAlchemy-0.7.4-py2.7-linux-i686.egg/sqlalchemy/dialects/sqlite/pysqlite.py", line 281, in dbapi
>             raise e
>         exceptions.ImportEror: No module named pysqlite2

Do you have sqlite3 itself installed? And is your python compiled with
sqlite3 support? What os are you runnning? Do you have
/usr/lib/python2.7/sqlite3/?

  Tom




More information about the devel mailing list