Kontact Crashing - Adding New Group

Hi

Have recently upgraded to Leap 15.6 from a much older release.

Have imported my old Contacts into Kontact.
The Groups didn’t come over so I need to add them again…

However, Kontact crashes every time I try to add a new Group.
I didn’t have this problem with the old version of Leap/KDE I was using.
I would like to report the bug if it hasn’t been fixed already.

Two questions:

  • Has anyone else have/had this problem?
  • Is there a new version of KDE Apps [ Kontact reports 5.24.5 (23.08.5) ]?

Previously I has the repos set up for the latest releases of KDE that were stable (not nightly).
Looking at the KDE documentation I found the following command lines could be used.
Are they okay to use with my current configuration, being: default KDE 15.6 install?

Many thanks,
Andrew

zypper ar -fp 75 'https://download.opensuse.org/repositories/KDE:/Qt5/openSUSE_Leap_$releasever' KDE-Qt5
zypper ar -fp 74 'https://download.opensuse.org/repositories/KDE:/Qt6/openSUSE_Leap_$releasever' KDE-Qt6
zypper ar -fp 74 'https://download.opensuse.org/repositories/KDE:/Frameworks/openSUSE_Leap_$releasever' KDE-Frameworks
zypper ar -fp 75 'https://download.opensuse.org/repositories/KDE:/Frameworks5/openSUSE_Leap_$releasever' KDE-Frameworks5
zypper ar -fp 75 'https://download.opensuse.org/repositories/KDE:/Applications/KDE_Frameworks5_openSUSE_Leap_$releasever' KDE-Applications
zypper ar -fp 75 'https://download.opensuse.org/repositories/KDE:/Extra/KDE_Applications_openSUSE_Leap_$releasever' KDE-Extra
zypper -v dup --allow-vendor-change
zypper -v install pattern:kde_plasma

I can answer your first question (Has anyone else have/had this problem?): Yes.

This happens here after trying to add a new group

org.kde.pim.akonadicore: Invalid mimetype requested: "application/x-vnd.kde.contactgroup"
org.kde.pim.akonadicore: Invalid mimetype requested: "application/x-vnd.kde.contactgroup"
org.kde.pim.akonadicore: Invalid mimetype requested: "application/x-vnd.kde.contactgroup"
terminate called after throwing an instance of 'Akonadi::PayloadException'
  what():  Akonadi::PayloadException: Wrong payload type (requested: sp(0)<QByteArray>; present: sp(0)<KContacts::ContactGroup>)
21 -- exe=/usr/bin/kontact
13 -- platform=xcb
11 -- display=:0
16 -- appname=kontact
17 -- apppath=/usr/bin
9 -- signal=6
10 -- pid=16412
28 -- appversion=5.24.5 (23.08.5)
20 -- programname=Kontact
31 -- bugaddress=submit@bugs.kde.org
KCrash: Application 'kontact' crashing...
Solution:  Install 
akonadi-mime-23.08.5-bp156.1.1

The package contains
/usr/share/mime/packages/x-vnd.kde.contactgroup.xml

That is creating what I call a Frankenstein distro. I.e. a mix of packages from various repos.

1 Like

Hi

Thanks for the replies.

That is creating what I call a Frankenstein distro. i.e. a mix of packages from various repos.

I presume that this refers to the first reply mentioned above?

WRT my second question:
Is it okay/safe to use the zypper commands given above please?
I recall there were changes in the command line packaging method because of the rollback/versioning in Leap 15.6.
Is it Zypper that was no longer wise to use in Leap 15.6?

Many thanks,
Andrew

PS I’ll install the debugging files and report this bug to OpenSUSE/KDE.
Hopefully this gets resolved in a forthcoming release.
The Groups option is most useful in Kmail for me!

Install of akonadi-mime-23.08.5-bp156.1.1 is safe, because the package comes from standard leap 15.6 repo. It is just wrong packaged, because it is not pulled automatically.

I think it refers to the your first post were you show adding a mass of different KDE repos. That may fit you, but a warning against doing this is warranted because people may follow you with the excuse “I read it somewhere on the internet”, or even, “I read it somewhere on the openSUSE forums”.

2 Likes

It is about the mix of repos, which is by no means supported. Instead it is a guarantee to trouble like you are having now.

As I read his first post, he did not add those repos now, he says he had that previously (I assume before Leap 15.6), but asks if adding those would be a good idea. It is not.

But as I read the other posts, a solution is suggested by @Kieltux . Until now the OP did not report back if it helps him.

Thanks hcvv, knurpht

Apologies for the delayed replies. It’s been a very busy weekend here…

hcvv:
Actually the mentioned repos came from the official OpenSUSE documentation website!
But I take your advice as it “(New Repo) Installer Beware”…

knurpht:
As per above.
If it’s going to make the system a bit tricky, let alone worse, then I’ll not prefer to use the extra install (this is my work laptop). I’ll just avoid using groups in the meantime.
Will report it as a bug to the OpenSUSE bugs page so the relevant packagers will hopefully resolve this problem with an official bugfix release!

Thanks again,

Andrew

Or just install

akonadi-mime-23.08.5-bp156.1.1

:slight_smile: