At set sound file if mark repeat check box and setting seconds and volume raise the error playing audio file '/home/<user>/<file>.mp3.ogg.wav' Invalid argument, when alarm start or clinking in the Try button. Follow the screenshots. Screenshot 1: https://ibb.co/djmZG2p Screenshot 2: https://ibb.co/80scSvS Operating System: Fedora Linux 40 KDE Plasma Version: 6.1.1 KDE Frameworks Version: 6.3.0 Qt Version: 6.7.2 Kernel Version: 6.9.8 (64-bit) Graphics Platform: Wayland
I tried both a wav and ogg file, with your repeat settings, on my KDE Neon system, but it worked correctly, with no error message. I tried naming the file the same as in your screenshot, but it also worked correctly. Can you please attach an audio file which creates the error, so that I can try out the same file.
(In reply to David Jarvie from comment #1) > I tried both a wav and ogg file, with your repeat settings, on my KDE Neon > system, but it worked correctly, with no error message. I tried naming the > file the same as in your screenshot, but it also worked correctly. > > Can you please attach an audio file which creates the error, so that I can > try out the same file. I think it is not a good practice for you to test on KDE Neon. There are hundreds of distributions, the main ones being Fedora, Arch Linux, Debian, Open Suse, etc. I think that as a developer you should have more than one distribution to tests. Your distro may mask the problem. Also there are a lot of reports about it. If you guide me I can generate the audio files.
Ideally a developer would be able to test with multiple distributions, but time is limited and keeping more than one development distro up to date would mean that I wouldn't have time to do actual development. KDE Neon is easy to keep updated with the latest development KDE libraries, so that's the one I use for development work. Can you please attach an audio file which creates the error. I don't understand what you mean by "If you guide me I can generate the audio files".
Created attachment 171489 [details] audio file to test Audio file attached. Repeating, this problem happen just when you create a normal alarm, in the template screen this problem doesn't happen. Weird!
If mark Repeat checkbox and set volume when click on the Try button or OK raise the error ---> Screenshot: https://ibb.co/6bhYdj7 but if keep this options unchecked the alarm works but anyway it is a bug. Kind regards.
To help find the cause for this, can you please do the following: 1) Quit KAlarm (use menu option File -> Quit). 2) Open a terminal window and run KAlarm from there (type "kalarm" and then Enter). 3) Open the Edit Alarm dialog for the alarm, and click Try. 4) Copy all the terminal output starting from before Try was clicked, and attach it here. 5) Quit KAlarm, and start it again from the menu to let it run normally again.
(In reply to David Jarvie from comment #6) > To help find the cause for this, can you please do the following: > > 1) Quit KAlarm (use menu option File -> Quit). > > 2) Open a terminal window and run KAlarm from there (type "kalarm" and then > Enter). > > 3) Open the Edit Alarm dialog for the alarm, and click Try. > > 4) Copy all the terminal output starting from before Try was clicked, and > attach it here. > > 5) Quit KAlarm, and start it again from the menu to let it run normally > again. ❯ kalarm org.kde.pim.kalarm: Kernel alarm timers not available (no CAP_WAKE_ALARM capability) Fontconfig error: "/home/dom/.fonts.conf", line 1: XML declaration allowed only at the start of the document QPainter::begin: Paint device returned engine == 0, type: 2 QWidget::render: Cannot render with an inactive painter QPainter::begin: Paint device returned engine == 0, type: 2 QWidget::render: Cannot render with an inactive painter QPainter::begin: Paint device returned engine == 0, type: 2 QWidget::render: Cannot render with an inactive painter QPainter::begin: Paint device returned engine == 0, type: 2 QWidget::render: Cannot render with an inactive painter QPainter::begin: Paint device returned engine == 0, type: 2 QWidget::render: Cannot render with an inactive painter QPainter::begin: Paint device returned engine == 0, type: 2 QWidget::render: Cannot render with an inactive painter QPainter::begin: Paint device returned engine == 0, type: 2 QWidget::render: Cannot render with an inactive painter QPainter::begin: Paint device returned engine == 0, type: 2 QWidget::render: Cannot render with an inactive painter
KAlarm has now been converted to use the VLC library to play sound files, which should fix this bug. The fix will be in KAlarm version 3.9, which will be in the KDE Gear 24.08 release. Commit https://invent.kde.org/pim/kalarm/-/commit/a3ce5043f2074829156f414cc32075579b3bbf94