Summary: | After Snap install, unable to run any of the supplied scripts | ||
---|---|---|---|
Product: | [Applications] kid3 | Reporter: | liamdutton |
Component: | general | Assignee: | Scarlett Moore <sgmoore> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sgmoore |
Priority: | NOR | ||
Version: | 3.9.x | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
liamdutton
2023-08-20 09:31:09 UTC
Thanks for the report. Since I am not creating the snap package, it is probably better if you report this bug to the people responsible for the snap. There seems to be an error report form on https://snapcraft.io/kid3. I will nevertheless try to give some hints for fixing the compilation or a workaround at runtime. Fixing the compilation: The bundled QML scripts have a prefix of %{qmlpath}/ in the "User Actions" tab of the settings. This is done because the self contained Kid3 package is freely relocatable, so this can be used to have the path relative to the program directory. The %{qmlpath} is taken from the CMake variable CFG_QMLDIR, so if snap is using a constant absolute path, it should be set to this path when configuring CMake (cmake ... -DCFG_QMLDIR=/path/to/qmldir ...). If an absolute path is used, it is not taken relative to the program directory. Workaround: You could replace all the %{qmlpath} occurrences in the "User Actions" tab of the settings with the path where you found the QML files within the snap install directory. Or you could do it directly in the configuration file which is named kid3rc for the KDE version and Kid3.conf for the Qt-only version. If you find the configuration file used by the snap (the file is Kid3.conf I will fix this in the next build. Thanks! Please test the latest snap in the snap store. If it still persists reopen this bug. Thanks |