AttributeError: 'pysqlite2.dbapi2.Connection' object has no attribute 'execute'
Richard Purdie
rpurdie at rpsys.net
Tue Jan 22 10:55:31 UTC 2008
On Mon, 2008-01-14 at 17:57 -0800, Steve Sakoman wrote:
> Several folks who are attempting to use OE for gumstix are
> encountering the issue below:
>
> torchris at 1[gumstix]$ bitbake gumstix-basic-image
> Traceback (most recent call last):
> File "/home/torchris/gumstix/gumstix-oe/bitbake/bin/bitbake", line 134, in ?
> main()
> File "/home/torchris/gumstix/gumstix-oe/bitbake/bin/bitbake", line 114, in main
> cooker = bb.cooker.BBCooker(configuration)
> File "/home/torchris/gumstix/gumstix-oe/bitbake/lib/bb/cooker.py",
> line 65, in __init__
> self.parseConfigurationFile( os.path.join( "conf", "bitbake.conf" ) )
> File "/home/torchris/gumstix/gumstix-oe/bitbake/lib/bb/cooker.py",
> line 353, in parseConfigurationFile
> bb.fetch.fetcher_init(self.configuration.data)
> File "/home/torchris/gumstix/gumstix-oe/bitbake/lib/bb/fetch/__init__.py",
> line 97, in fetcher_init
> pd.delDomain("BB_URI_HEADREVS")
> File "/home/torchris/gumstix/gumstix-oe/bitbake/lib/bb/persist_data.py",
> line 66, in delDomain
> self.connection.execute("DROP TABLE IF EXISTS %s;" % domain)
> AttributeError: 'pysqlite2.dbapi2.Connection' object has no attribute 'execute'
>
> Build machines are SuSE and MEPIS
Bitbake needs sqlite 3.3.0 or greater. 1.8.10 now checks for this and
provides a more helpful message if its not found.
Cheers,
Richard
More information about the Openembedded-users
mailing list