Summary: | Elisa says "No tracks have been found" | ||
---|---|---|---|
Product: | [Applications] Elisa | Reporter: | Mykola Krachkovsky <w01dnick> |
Component: | general | Assignee: | Matthieu Gallien <matthieu_gallien> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/elisa/22010aa54d8501fffd0c4df8b87da76d5e17afd9 | Version Fixed In: | |
Sentry Crash Report: |
Description
Mykola Krachkovsky
2017-09-14 20:28:39 UTC
Console log: database open DatabaseInterface::init yes DatabaseInterface::reloadExistingDatabase WARNING: Cannot find style "org.kde.desktop" - fallback: "/usr/lib64/qt5/qml/QtQuick/Controls/Styles/Desktop" qrc:/MediaAllTracksView.qml:102:17: QML Image: Failed to get image from provider: image://icon/edit-clear qrc:/MediaAllTracksView.qml:102:17: QML Image: Failed to get image from provider: image://icon/edit-clear qrc:/MediaAllArtistView.qml:103:17: QML Image: Failed to get image from provider: image://icon/edit-clear qrc:/MediaAllArtistView.qml:103:17: QML Image: Failed to get image from provider: image://icon/edit-clear qrc:/MediaAllAlbumView.qml:106:17: QML Image: Failed to get image from provider: image://icon/edit-clear qrc:/MediaAllAlbumView.qml:106:17: QML Image: Failed to get image from provider: image://icon/edit-clear PlayListControler::setPersistentState QMap(("currentTrack", QVariant(int, -1))("randomPlay", QVariant(bool, false))("repeatPlay", QVariant(bool, false))) qrc:/MediaServer.qml:166:26: Unable to assign [undefined] to QVariantList Hello, The setting dialog is not installed into the path expected by the system. I have to fix that. This should allow you to configure the real path to your collection. In case your collection is big, initial indexing can take quite some time to be done. I will also test putting a symlink in default music path. I am not sure what happen in this case. Could you try doing those two steps ? export QT_PLUGIN_PATH=/path/to/elisa/lib/x86_64-linux-gnu/plugins:/usr/lib/x86_64-linux-gnu/qt5/plugins export XDG_DATA_DIRS=/path/to/elisa/share:$XDG_DATA_DIRS Please check with the real path where stuff is installed by cmake. After exports: export QT_PLUGIN_PATH=$HOME/opt/elisa/lib64/plugins/:$HOME/opt/elisa/lib64/plugins/kcms/ export XDG_DATA_DIRS=$HOME/opt/elisa/share/:$XDG_DATA_DIRS settings dialog has a valid path from $(xdg-user-dir MUSIC) and button add new path. But still says "no tracks". And there is no tracks. IDK if .../plugins/kcms needed, but without there is additional errors in console (though everything looks same) org.kde.kcoreaddons: Error loading plugin "kcm_elisa_local_file" "The shared library was not found." Plugin search paths are ("/home/nicklion/opt/elisa/lib64/plugins", "/usr/lib64/qt5/plugins", "/home/nicklion/opt/elisa/bin") The environment variable QT_PLUGIN_PATH might be not correctly set It looks like Elisa works fine (builds database) when built with KF5FileMetaData. Maybe it should be marked as required, not optional? Git commit 22010aa54d8501fffd0c4df8b87da76d5e17afd9 by Matthieu Gallien. Committed on 20/09/2017 at 20:31. Pushed by mgallien into branch 'master'. tune dependencies in cmake and code to have more optional dependencies makes KFileMetaData be a recommended dependency M +51 -5 CMakeLists.txt M +56 -24 autotests/CMakeLists.txt M +4 -0 config-upnp-qt.h.cmake M +24 -9 src/CMakeLists.txt M +16 -7 src/elisaapplication.cpp M +8 -1 src/musiclistenersmanager.cpp M +7 -1 src/upnpControl.cpp https://commits.kde.org/elisa/22010aa54d8501fffd0c4df8b87da76d5e17afd9 |