Skip to content
This repository was archived by the owner on Jan 27, 2019. It is now read-only.
This repository was archived by the owner on Jan 27, 2019. It is now read-only.

bake fails on newer pysqlite #96

@mikaelj

Description

@mikaelj

pysqlite-2.8.1 / sqlite-3.10.2

ERROR: exception in bake.run()

Traceback (most recent call last):
 File "/usr/lib/python2.7/site-packages/oe_lite-4.2.0.post0-py2.7.egg/oebakery/cmd/cmds.py", line 137, in call
   ret = function(*args)
 File "/home/rijo/repos/tlabos/meta/core/lib/oelite/cmd/bake.py", line 35, in run
   return baker.bake()
 File "/home/rijo/repos/tlabos/meta/core/lib/oelite/baker.py", line 289, in bake
   self.options.rebuild, self.options.relax)
 File "/home/rijo/repos/tlabos/meta/core/lib/oelite/runq.py", line 26, in __init__
   self.cookbook.db.execute("ATTACH ':memory:' AS runq")
OperationalError: cannot ATTACH database within transaction

CRITICAL: bake failed: Exception: cannot ATTACH database within transaction

Solved by adding self.cookbook.db.execute("END TRANSACTION") at core/lib/oelite/runq.py:26

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions