Reply to topic

[Solved] Cannot create alarms [KA in Maui 2.1 Plasma 5.8.3].

steffie
Registered Member
Posts
89
Karma
0
OS
Hiya David. KAlarm has been really helpful for me over the past few years in Linux Mint 17.x KDE4, so i thank you for it. Sadly however i'm having no luck with it in Maui Plasma5 [based on Ubuntu 16.04, & Neon]. It installed ok, but i cannot create any alarms. Each time i do, a frustrating dialog pops up; "Sorry - KAlarm. You must select a calendar to save the alarm in". I don't know how to solve this [Akonadi is running].

Any ideas please? As you'd be aware, KAlarm is much more capable & useful than any other Linux alarm [that i've been able to find, anyway], so losing this tool in Plasma 5 would be highly disadvantageous. I hope you might be able to help please.


KDE Plasma 5.8.3
KDE Apps 16.08.2
Frameworks 5.27.0
Qt 5.7.0
Kernel 4.4.0-57

Last edited by steffie on Fri Dec 30, 2016 2:20 am, edited 1 time in total.
djarvie
KDE Developer
Posts
66
Karma
0
OS
There is a fix in KDE Applications 16.08.3 for what you're seeing. The problem is that KAlarm does not create its default calendars when it is first run. However, with the version you have, you can get round this by creating the calendars yourself, as follows:

In the KAlarm menu, choose View -> Show Calendars.
In the Calendars pane, click Add. Then choose the storage method - just choose KAlarm Calendar File if you don't care how alarms are stored.
In the dialog which then appears, enter
    * Filename: ~/.local/share/kalarm/calendar.ics
    * Name: Active alarms
    * Alarm Types: Active Alarms
Click OK.

Similarly set up an archived alarm calendar, but with
    * Filename: ~/.local/share/kalarm/expired.ics
    * Name: Archived alarms
    * Alarm Types: Archived Alarms

If you use alarm templates, similarly set up a templates calendar:
    * Filename: ~/.local/share/kalarm/template.ics
    * Name: Alarm templates
    * Alarm Types: Alarm Templates


KAlarm author
steffie
Registered Member
Posts
89
Karma
0
OS
Hi & thanks David. Unfortunately after doing these steps, KA still responded the same way as i'd originally posted. Also [i do not understand if this is significant or not], when i navigated to ~/.local/share/kalarm/ i saw that such files already did exist. Nonetheless i did apply your steps, which seemed to create duplicates in your GUI, albeit one instance of each conjugate-pair had a Disabled status [per a ToolTip]. Once i discovered that KA still gave that error msg, i then closed KA completely, deleted ALL files from that directory, then repeated your steps. It made no improvement to the subsequent KA behaviour once i tried again to create & save a display-alarm.

Maui Linux gets its Plasma updates from the Neon repo. I wonder which Plasma 5.8.x version will include KDE Applications 16.08.3 -- if i can find that out, maybe then i can ask the Maui Devs approx. when we might get that P update... unless you have alternative ideas on stuff i could try in the meantime?
steffie
Registered Member
Posts
89
Karma
0
OS
David -- i have a happier update to advise you now. This was bugging me so i tried it again, & happily now i CAN create, store & use new display alarms in KAlarm in Maui [ie, in a *buntu 16.04 derivative, with Plasma 5.8.3].

I think the reason for the previous negative outcome after trying your steps was twofold:
1. Those ~/.local/share/kalarm/ pre-existing *.ics files i mentioned, were read-only. I noticed that at the time, but failed to grasp the significance.
2. The new files created as a result of your instructions, manifested in KAlarm GUI Tooltips as "disabled", which i incorrectly interpreted as implying these files were defective. In fact, it was simply that they had not yet been selected/activated in the GUI -- doh!

So all i did today was to remove all those calendars, in the GUI, then repeat your instructions, including this time to ensure that those new cals were activated. Thereafter... no more error msg once i created & saved new alarms. Yay!!!

Unfortunately it's not all yet perfect. Every attempt i made to export my existing, good, alarms from one pc, in order to [i'd hoped] import them into KAlarm in my other pc, failed with an error msg... it was unhelpful, saying only that it could not export, but not saying why. Whilst that's not great, my need to export is non-essential, whereas being able to create & use alarms is... hence, on balance, i'm happy.

My thanks to you, David.
djarvie
KDE Developer
Posts
66
Karma
0
OS
I'm glad you managed to get things working in the end.

Am I correct in understanding that after deleting the calendars and then following my instructions to create them again, the new calendar files were read-only? If so, I'll need to fix that, since it certainly shouldn't happen.

As for the export not working, that reminded me that somebody else had mentioned an export/import problem in a comment on an unrelated bug report, which I'd forgotten about. I've now created a new bug report about that (https://bugs.kde.org/show_bug.cgi?id=374337). If you want to be notified when the bug is fixed or updated, please add yourself to the CC list for the bug.


KAlarm author
steffie
Registered Member
Posts
89
Karma
0
OS
djarvie wrote:I'm glad you managed to get things working in the end.

Am I correct in understanding that after deleting the calendars and then following my instructions to create them again, the new calendar files were read-only? If so, I'll need to fix that, since it certainly shouldn't happen.


No, kinda the opposite, as best i can remember. Once i'd started over again, the new files were not RO, they were simply tooltipped as "Disabled" [which initially i entirely misunderstood as denoting A Big Problem, & only when i came back the second time to try again, did i then realise that status simply meant that they were not yet activated/selected [i'd imagined that the act of creating the new calendars per your method would have also activated them; i was wrong].

The RO ones were those most mysterious pre-existing calendars that i first saw when i began tinkering. Their presence was what bamboozled me. Once i'd deleted them, & reapplied your method the 2nd time [& had more coffee], it came good. Sorry for my muddle.


djarvie wrote:As for the export not working, that reminded me that somebody else had mentioned an export/import problem in a comment on an unrelated bug report, which I'd forgotten about. I've now created a new bug report about that (https://bugs.kde.org/show_bug.cgi?id=374337). If you want to be notified when the bug is fixed or updated, please add yourself to the CC list for the bug.


Nice! Yes i will add myself as suggested.

Thanks again David... for your original work, & for your subsequent support.
djarvie
KDE Developer
Posts
66
Karma
0
OS
Thanks for your clarifications. I think you could reasonably expect that after creating the calendars, they would not be disabled. That's something which needs investigation. In addition, I'll have to look into why the original calendars were read-only - again, that shouldn't happen.

The error saving exported alarms is now fixed, and will be in the KDE Applications 16.12.1 release.


KAlarm author

 
Reply to topic

Bookmarks



Who is online

Registered users: 1ykos, Baidu [Spider], Bing [Bot], bionan, boudewijn, Exabot [Bot], Google [Bot], JesusM, johnguicar, La Ninje, Majestic-12 [Bot], paulus3005, SleepySapphy, Sogou [Bot], Yahoo [Bot]