Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clementine: unable to update music library database #2507

Closed
Clementine-Issue-Importer opened this issue Dec 10, 2013 · 7 comments
Closed

Clementine: unable to update music library database #2507

Clementine-Issue-Importer opened this issue Dec 10, 2013 · 7 comments

Comments

@Clementine-Issue-Importer

From stefanwi...@gmail.com on December 24, 2011 16:22:31

What steps will reproduce the problem? 1. Install clementine 0.7.1
2. Run clementine from terminal
3. Notice the output What is the expected output? What do you see instead? I would expect to see 0 output, in stead I see the following message:
Unable to update music library database
Aborted What version of the product are you using? On what operating system? arch linux
clementine 0.7.1
sqlite 3.7.9 Please provide any additional information below. after first run, ~/.config/Clementine/clementine.db is completely empty.

strace reveals that clementine is looking for clementine.conf in various locations, but is unable to find it. this fine is not available anywhere on the system

Original issue: http://code.google.com/p/clementine-player/issues/detail?id=2507

@Clementine-Issue-Importer
Copy link
Author

From stefanwi...@gmail.com on December 24, 2011 08:01:39

problem does not occur when building from git (0.7.3-538-gbc1e5ec)

@Clementine-Issue-Importer
Copy link
Author

From stefanwi...@gmail.com on December 24, 2011 13:25:23

A build flag seems to be causing this

The 0.7.1 clementine package in my distro's repository was built with -DSTATIC_SQLITE=0, building 0.7.1 without DSTATIC_SQLITE=0 makes the problem go away.

Furthermore, I can replicate this issue when building 0.7.3-538-gbc1e5ec with DSTATIC_SQLITE=0.

This leads me to believe that this is a distro-specific issue rather than a bug in clementine, perhaps wrongful use of the build flag.

Happy holidays.

@Clementine-Issue-Importer
Copy link
Author

From john.maguire on December 24, 2011 18:50:28

File this upstream, we build static sqlite for a good reason.

Status: Invalid

@Clementine-Issue-Importer
Copy link
Author

From john.maguire on December 26, 2011 01:01:14

To be clear, we require FTS3 support in sqlite which was probably disabled in Arch's build.

@Clementine-Issue-Importer
Copy link
Author

From stefanwi...@gmail.com on December 26, 2011 03:27:39

If that is disabled through -DSTATIC_SQLITE=0, then yes.

To be clear, this is how clementine 0.7.1 was built:
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DSTATIC_SQLITE=0 -DENABLE_GIO=OFF

The problem goes away if I build like so:
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DENABLE_GIO=OFF

I've opened a report on arch's bug tracker: http://tinyurl.com/cesvnhb

@Clementine-Issue-Importer
Copy link
Author

From stefanwi...@gmail.com on December 26, 2011 12:49:52

f.y.i. arch's sqlite3 was built as follows

-DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_SECURE_DELETE

./configure --prefix=/usr --disable-static

@Clementine-Issue-Importer
Copy link
Author

From abir.sa...@gmail.com on February 09, 2012 20:04:50

Just wanted to let you know i am facing the same problem on kubuntu dev branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant