I came across this bug while trying to build Diodon from source.
If I understood correctly, running sudo ./waf install, installs Diodon to the 
specified prefix and also executes a build test.

>From the waf install log:
[131/131] utest: _build_/tests/diodon-test

This spawns a new instance of zeitgeist as root (probably due to it being ran 
with sudo), which then causes the Zeitgeist database to lock.
In order to recover from that state, the root instances of zeitgeist-datahub 
and zeitgeist-daemon need to be killed and zeitgeist-daemon --replace to be ran 
as the normal user.

In order for it to be avoided, --skiptests needs to be appended to waf, so that 
it doesn't attempt to run the test as root (eg. sudo ./waf install --skiptests).
A good solution, as mentioned previously in this report, is to prevent Diodon 
(and the test) from running as root, or at least disallow attempts to access 
Zeitgeist as root.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1405525

Title:
  database is locked error prevents Diodon from adding items to or
  clearing history

To manage notifications about this bug go to:
https://bugs.launchpad.net/diodon/+bug/1405525/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to