AttributeError: 'pysqlite2.dbapi2.Connection' object has no attribute 'execute'

Paul Sokolovsky pmiscml at gmail.com
Tue Jan 15 08:49:15 UTC 2008


Hello Steve,

Tuesday, January 15, 2008, 3:57:36 AM, you wrote:

> Several folks who are attempting to use OE for gumstix are
> encountering the issue below:

[]
> 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

> Any ideas?

  Checking freshness of both sqlite and pysqlite would be first idea.
Just in case, here on Gentoo:

*  dev-db/sqlite
      Latest version available: 3.5.3
      Latest version installed: 3.5.3
*  dev-python/pysqlite
      Latest version available: 2.3.5
      Latest version installed: 2.3.5

[Very latest versions are not required, but something older than
a year or so probably needs upgrade.]


> Steve


-- 
Best regards,
 Paul                            mailto:pmiscml at gmail.com





More information about the Openembedded-users mailing list