Repository navigation
[Bug] Error loading QML file. - qrc:/kcm/kcm_plasmazones/main.qml:268 Cannot assign to non-existent property "onRequestFontDialog" #160
Replies: 4 comments 12 replies
|
and the nix file: {
lib,
stdenv,
cmake,
kdePackages,
qt6,
fetchFromGitHub,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "plasmazones";
version = "1.10.5";
src = fetchFromGitHub {
owner = "fuddlesworth";
repo = "PlasmaZones";
rev = "v${finalAttrs.version}";
sha256 = "sha256-CmdIA+9gwaW+gxTM7Jl1VwLcM/8zU8ySgeNpw0EtIic=";
};
nativeBuildInputs = [
cmake
qt6.wrapQtAppsHook
kdePackages.extra-cmake-modules
];
buildInputs = [
qt6.qtbase
]
++ (with kdePackages; [
kconfig
kconfigwidgets
kcoreaddons
kdbusaddons
ki18n
kcmutils
kwindowsystem
kglobalaccel
knotifications
kcolorscheme
layer-shell-qt
kwin
]);
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];
postInstall = ''
substituteInPlace $out/share/systemd/user/plasmazones.service \
--replace-fail "/usr/bin/plasmazonesd" "$out/bin/plasmazonesd"
'';
meta = {
description = "FancyZones-style window tiling for KDE Plasma";
homepage = "https://github.com/fuddlesworth/PlasmaZones";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ pacjo ];
platforms = lib.platforms.linux;
};
})nothing special, just some boilerplate and a single substitution in the service file. Worked fine up to 1.7.0 |
|
1.10.6 has nix file published |
|
Hi, checked out the package.nix from 10.0.6 and I'm still having the same issues. Below are some logs from systemsettings (service is disabled): I don't know the qml/kcm ecosystem, but it seems to me like the version running on my system is older then what plasmazones is expecting. Version info below as reported by settings: Also a bit on the packaging side. As far as I've seen the preferred methods are distribution by nixpkgs (this is what I'm trying to do here) or by flakes (examples here and here). Haven't seen another project distributing plain nix files as part of releases. |
|
Alright, in case anyone has a similar issue here's my fix after 5 days of troubleshooting: sudo rm -rf ~/.cachePlasma cached some files. That was the issue. Thank you once again @fuddlesworth for quick responses and support. This is now resolved. |
Uh oh!
There was an error while loading. Please reload this page.
Description
Hi, I have a package for running PlasmaZones under nixos. It worked fine up to version 1.7.0, but today I updated it to latest (so 1.10.5) without any other changes and now KCM fails to load. I can find the relevant change in commit c35409f.
I've tried disabling and re-enabling service while removing
plasmazonesrcconfig file andplasmazonesdirectory under~/.local/share. Nothing changed.Expected Behavior
KCM would work fine.
Steps to Reproduce
PlasmaZones Version
1.2.0
Display Server
Wayland
Desktop Environment
Plasma 6.5.5
Distribution
NixOS unstable (rev. 00c21e4c93d963c50d4c0c89bfa84ed6e0694df2)
Relevant Logs
Configuration
nothing, deleted the old config during troubleshootingChecklist
All reactions