Failed logging: transaction within transaction

Bug #937991 reported by Seif Lotfy
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Zeitgeist Framework
Fix Released
High
Michal Hruby

Bug Description

Seems like the commit() call in SQLIte fails. I think it is because another connection is keeping a lock on the database, which leads subsequent calls to the connection fail with "OperationalError: cannot start a transaction within a transaction".

---
mhr3: oh oh
mhr3: ** WARNING **: zeitgeist-datahub.vala:207: Error during inserting events: GDBus.Error:org.gnome.zeitgeist.EngineError.DatabaseError: Can't start transaction: 1, cannot start a transaction within a transaction
mhr3: nothing got logged for me for the past 23hours
mhr3: seems to be our fault, there should be definitely try{} finally{}

Revision history for this message
Seif Lotfy (seif) wrote :

We need to make sure Zeitgeist gets the only writing lock on the DB

Changed in zeitgeist:
importance: Undecided → High
Michal Hruby (mhr3)
Changed in zeitgeist:
status: New → Fix Committed
Michal Hruby (mhr3)
Changed in zeitgeist:
milestone: none → 0.9.0
assignee: nobody → Michal Hruby (mhr3)
Seif Lotfy (seif)
Changed in zeitgeist:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.