Public bug reported:

media scanner daemon crashes when I log into my machine (desktop, wily)

Mediascanner service starting at 2015-10-25 11:22:08.

terminate called after throwing an instance of 'std::runtime_error'
  what():  UNIQUE constraint failed: media_attic.id
Aborted (core dumped)


The service is trying to run this query in archiveItems:

    const char *templ = R"(BEGIN TRANSACTION;
INSERT INTO media_attic SELECT * FROM media WHERE filename LIKE %s;
DELETE FROM media WHERE filename LIKE %s;
COMMIT;
)";

If I move/remove mediastore.db, the service runs again and catalogs
music I've added since my last run.

** Affects: mediascanner2 (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Duplicate key error when archiving

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mediascanner2/+bug/1509916/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to