Zahrun
February 5, 2023, 9:38am
1
In Kaddressbook as well as in Kontact, I cannot add an address book. I can go through the process but at the end, the address book does not appear. I don’t see much information in the akonadi log. Apart maybe org.kde.pim.akonadiserver: Handler exception when handling command FetchCollections on connection akonadi_davgroupware_resource_12 (0x7cea90) : Hierarchical RID does not specify an existing collection
. I found this issue 258342 – No hierarchical RID does not specify a unique collection but it seems bugs.kde.org is down.
I attach the full akonadi log here: org.kde.pim.akonadictl: Starting Akonadi Server...org.kde.pim.akonadictl: d - Pastebin.com
Zahrun
February 28, 2023, 3:31pm
2
Anyone is able to use Kaddressbook or Kontact successfully on NixOS?
ngiger
February 28, 2023, 8:43pm
3
I think you messed somehow up your configuration of KDE (happened to me a few times, specially when I tried to add some new stuff via an editor and not the GUI).
KDE/kontact spreads information about a used resource (e.g. akonadi_davgroupware_resource_12
) in various files. But maybe just removing ~/.config/akonadi/agentsrc
and trying to readd is enough. Or you have a problem to connect to your nextcloud/dav account.
More redical solution is to you throw away your ~/.config folder (or use a freshly generated user home) and try from scratch.
I have no problem running KDE, kontact, etc on my NixOS 22.11 system.
Wish you good luck.
Yes. Using vdirsyncer to pull down contacts from O365 and kaddressbook happily shows them (there’s also the little person icon in the system tray).
Did nothing special to get it working.
Zahrun
March 1, 2023, 3:32pm
5
Thank you both for answering.
It was indeed a user error, I was selecting CalDAV instead of CardDAV
I like kaddressbook as a standalone rather than kontact so in my config I keep:
kaddressbook
plasma5Packages.akonadi
plasma5Packages.kdepim-runtime
EDIT: wouldn’t it be better to have plasma5Packages.akonadi
and plasma5Packages.kdepim-runtime
as dependencies of kaddressbook?
EDIT2: there are at least 3 related issues
opened 10:12AM - 10 Sep 22 UTC
0.kind: bug
6.topic: qt/kde
### Describe the bug
After installing `libsForQt5.kontact`, the interface tha… t shows up is completely
### Steps To Reproduce
Steps to reproduce the behavior:
1. Add `libsForQt5.kontact` to systemPackages in `configuration.nix`
2. `sudo nixos-rebuild switch`
3. `kontact`
### Expected behavior
See the standard Kontact interface will all the apps:

### Screenshots
Actual result

### Additional context
The "Kontact Suite" promises, [according to the KDE wiki](https://kontact.kde.org/), to
> Handle your email, calendar, contacts and other personal data with Kontact. Kontact groups everything together in one place and helps you manage your communications, organize your day and work with your colleagues. Become more productive with Kontact.
That means the package should depend on:
- kmail
- kaddressbook
- korganizer
- akregator
Additionally, there's a `libsForQt5.kontactinterface` package that has no executable binary yet seems related to `kontact`. What is is for?
### Notify maintainers
@kdepimTeam @HolgerPeters @alyssais @vandenoever @ttuegel
### Metadata
Please run `nix-shell -p nix-info --run "nix-info -m"` and paste the result.
```console
$ nix-shell -p nix-info --run "nix-info -m"
- system: `"x86_64-linux"`
- host os: `Linux 5.15.64, NixOS, 22.05 (Quokka), 22.05.2889.67e45078141`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.8.1`
- channels(root): `"nixos-22.05"`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
```
opened 05:27PM - 26 Nov 20 UTC
0.kind: bug
**Describe the bug**
I wanted to install some applications of the Kontact suite… : Korganizer and Kmail.
However, after installation, the applications did not work as expected, for example, Kmail did not start and Korganizer had no way of installing calendars.
I know that this is maybe to avoid installing many dependencies, but it should not, in my opinion, be this restrictive as it makes these applications unusable.
Other applications have this problem in the Gnome ecosystem like Evolution.
On ArchLinux, when installing Korganizer and then launching it, it works perfectly out of the box even when KDE isn't installed on the system.
To give options to the users, maybe providing them with a *Full (korganizerFull, kmailFull...) variation would be a good idea.
**To Reproduce**
Steps to reproduce the behavior for Kmail and Evolution:
1. install Kmail or Evolution on a clean system (with or without Plasma)
2. try launching it
3. it crashes
Steps to reproduce the behavior for Korganizer:
1. Install Korganizer on a clean system (with or without Plasma)
2. launch it
3. It stays stuck
4. exit and install Akonadi
5. launch it, it should not get stuck anymore
6. try adding a calendar (right click on the down left part of the application -> Add Calendar)
7. Only available option is Knot
**Expected behavior**
The applications or a *Full version of them should work out of the box after their installation.
This means that they should not crash at startup and that their main functionalities should be present.
**Screenshots**
Cannot add calendars to Korganizer (after installing Akonadi):

Kmail crashing after installation:

Evolution crashing after install:

**Additional context**
I have Plasma installed and active on my system.
**Notify maintainers**
<!--
Please @ people who are in the `meta.maintainers` list of the offending package or module.
If in doubt, check `git blame` for whoever last touched something.
-->
KDE maintainers: @ttuegel @vandenoever @nyanloutre
Gnome maintainers: @hedning @jtojnar @worldofpeace @dasj19
**Metadata**
- system: `"x86_64-linux"`
- host os: `Linux 5.4.75, NixOS, 21.03.20201110.dd1b7e3 (Okapi)`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.4pre20201102_550e11f`
- channels(narice): `"nixpkgs-21.03pre253014.6625284c397"`
- channels(root): `"nixos-21.03pre251971.a371c107116"`
- nixpkgs: `/home/narice/.nix-defexpr/channels/nixpkgs`
Maintainer information:
```yaml
# a list of nixpkgs attributes affected by the problem
attribute: kdeApplications.korganizer, kdeApplications.kmail, gnome3.evolution...
# a list of nixos modules affected by the problem
module:
```
opened 04:53AM - 13 Apr 18 UTC
6.topic: qt/kde
## Issue description
Kontact / KOrganizer / KDE-PIM, when installed, crashes up… on use:
i.e. In KOrganizer, adding an event/task/journal, causes a crash. (see **Technical details**)
KOrganizer only works after installing everything from nixos.kdeApplications and nixos.kdeFrameworks
`nix-env -iA nixos.kdeApplications nixos.kdeFrameworks`
I attempted to compare Debian's dependency graph for KOrganizer and install the equivalently named packages in NixOS, to no avail.
### Steps to reproduce
`nano /etc/nixos/configuration.nix`
Add korganizer to systemPackages, use Plasma5 as Desktop-Manager & SDDM as Display-Manager
`nixos-rebuild switch`
`korganizer`
Add new event, type Title, hit OK, crashes with output below
There is not a proper DrKonqi / KCrash report to associate with this, as neither system are considered dependencies of any other package, as far as I can tell, and must be installed manually.
## Technical details
TTY Output:
```
org.kde.pim.kidentitymanagement: IdentityManager: There was no default identity. Marking first one as default.
kf5.kservice.services: KServiceTypeTrader: serviceType "KOrganizer/Part" not found
org.kde.pim.kidentitymanagement: IdentityManager: There was no default identity. Marking first one as default.
org.kde.pim.incidenceeditor: free slot calculation: invalid range. range( 0 ) / mSlotResolutionSeconds( 900 ) = 0
terminate called after throwing an instance of 'Akonadi::PayloadException'
what(): Akonadi::PayloadException: Wrong payload type (requested: sp(0)<QByteArray>; present: sp(2)<KCalCore::Incidence*>
org.kde.pim.akonadiserver: Protocol exception: Socket disconnected
```
`nix-shell -p nix-info --run "nix-info -m"` Results:
- system: `"x86_64-linux"`
- host os: `Linux 4.14.32, NixOS, 18.03.131802.4b4bbce199d (Impala)`
- multi-user?: `yes`
- sandbox: `no`
- version: `nix-env (Nix) 2.0`
- channels(shor): `""`
- channels(root): `"nixos-18.03"`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs`