So I’m getting kf.windowsystem: Cannot use KWindowSystem without a QGuiApplication message whenever I try and use svn command. From bash, it still ends up working fine, but from within IntelliJ, it causes a problem and stops whatever action I’m trying to perform from occurring. Even just listing branches to check one out. Running Debian 12.1, pretty new install, up to date.
I see it too,
KDE Plasma Version: 5.27.8
KDE Framework Version: 5.110.0
Qt Version: 5.15.11
Kernel Version: 6.1.41-gentoo-dist (64-bit)
Graphics Platform: X11
there was a bug resulting in the same message because of kwallet not running, but it was fixed in svn 1.12.something, and I have kwallet running, so should be something else…
$ sudo apt remove ksshaskpass
[sudo] password for drizzt:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
ksshaskpass
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 248 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 301980 files and directories currently installed.)
Removing ksshaskpass (4:5.27.5-2) ...
Processing triggers for man-db (2.11.2-2) ...
$ svn up
Updating '.':
kf.windowsystem: Cannot use KWindowSystem without a QGuiApplication
At revision 39548.
Hi all, I am seeing this issue on version 1.14.3 (and Kubuntu 24.04). Has anyone been able to find the cause of this error?
$ svn --version
svn, version 1.14.3 (r1914484)
compiled Apr 1 2024, 04:55:49 on x86_64-pc-linux-gnu
Copyright (C) 2023 The Apache Software Foundation.
This software consists of contributions made by many people;
see the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/
The following repository access (RA) modules are available:
* ra_svn : Module for accessing a repository using the svn network protocol.
- with Cyrus SASL authentication
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
- using serf 1.3.10 (compiled with 1.3.10)
- handles 'http' scheme
- handles 'https' scheme
The following authentication credential caches are available:
* Plaintext cache in /home/michael/.subversion
* Gnome Keyring
* GPG-Agent
* KWallet (KDE)
Maybe I can bring some light into the problem/mystery:
In the default config, SVN probes for the available password store. I assume it first requests the GNOME Keyring before KWallet is tested.
I had switched off the Secret Service support in KWallet in preparation to use another program for this service, and SVN began throwing this “funny” error message.
Here are the step-by-step instructions to “fix” the issue:
Remove existing entries for Subversion in the KWallet.
Switch on the Secret Service.
Reboot (I made one, don’t know the necessity).
Let the Secret Service collect the credentials.
Alternatively, configure the keys “password-stores=kwallet” and “kwallet-wallet=…” in ~/.subversion/config. Use the last one only if you want a different wallet than the default.