Getting `kf.windowsystem: Cannot use KWindowSystem without a QGuiApplication` with SVN

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.

Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.0-12-amd64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 4800H with Radeon Graphics
Memory: 62.2 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: TUXEDO
Product Name: TUXEDO Pulse 14 Gen1
1 Like

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…

My SVN is 1.14.2, so not sure what else it could be

bump anyone have any clue?

Do you have an SSH key set up and the “ksshaskpass” program installed?

No SSH key, and this is work, and can’t really get one setup.

And ksshaskpass is already installed.

If you uninstall ksshaskpass, does the issue go away?

Nope, didn’t change anything.

$ 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)