Bug 475667

Summary: cannot make new events in kalendar
Product: [Applications] Merkuro Reporter: goo <droidgoo>
Component: generalAssignee: Claudio Cambra <claudio.cambra>
Status: RESOLVED FIXED    
Severity: grave CC: carl
Priority: NOR    
Version First Reported In: 22.04.3   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: gdb results from the run and bt commands

Description goo 2023-10-15 18:59:56 UTC
Created attachment 162327 [details]
gdb results from the run and bt commands

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. open kalendar app (either from apps menu or from popup from clock widget) 
2. from day view, scroll past the NOW indicator and  create a new event
3. try to save the new event

OBSERVED RESULT
error message appears (Invalid parent collection)
also attached is the gdb output from the run and bt commands
 
EXPECTED RESULT
new event is created and appears on the calendar 

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 22.04
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.3
Kernel Version: 6.2.0-34-generic (64-bit)
Graphics Platform: X11


ADDITIONAL INFORMATION
Comment 1 goo 2023-11-01 21:36:51 UTC
i've since updated to the latest backports and backports-extra repositories and still the same behavior

Operating System: Kubuntu 22.04
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.3
Kernel Version: 6.2.0-36-generic (64-bit)
Graphics Platform: X11
Comment 2 goo 2023-11-04 17:44:54 UTC
with both backports and backport-extra enabled:

uninstall,  purge and autoremove  used on kalendar, akonadi-server, kdepim-addons, and kdepim-runtime... then pruned my ~/.config of any mention of related settings and deleted my ~/.cache directory.

restart

install kalendar and kdepim-addons (kaddressbook comes along with it, and is unavoidable but the rest of the korganizer suite is not need).

now i can call up kalendar from the clock widget and add events and can add my personal calendar to the clock widget using the PIM settings.

Operating System: Kubuntu 22.04
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.3
Kernel Version: 6.2.0-36-generic (64-bit)
Graphics Platform: X11
Comment 3 goo 2023-11-04 18:11:32 UTC
final result of the 

akonadictl fsck 2>&1 | grep -iE 'found|no RID'

command

```
Found 0 external files.
Found 0 external parts.
Found no unreferenced external files.
Found 0 parts to be moved to external files
Found 0 parts to be moved to database
Collection "Search" (id: 1) has no RID.
Collection "OpenInvitations" (id: 2) has no RID.
Collection "DeclinedInvitations" (id: 3) has no RID.
Found 3 collections without RID.
Found 0 items without RID.
Found 0 dirty items.
```