SUMMARY Cannot start Kontact flatpak on non KDE desktop environment where KDE dbus services are not available. It seems there may be issues with differing versions between the platform and the flatpak... STEPS TO REPRODUCE 1. Run fedora silverblue with GNOME 2. Install Kontact flatpak 3. try to run it OBSERVED RESULT Akondi services fails to start, the application is an empty shell... Nothing is usable EXPECTED RESULT it should work SOFTWARE/OS VERSIONS Fedora silverblue with Kontact flatpak as available on Flathub ADDITIONAL INFORMATION Selected error messages: org.kde.pim.akonadicontrol: Application 'akonadiserver' crashed! 1 restarts left. org.kde.pim.kidentitymanagement: IdentityManager: There was no default identity. Marking first one as default. Cannot mix incompatible Qt library (version 0x50b02) with this library (version 0x50b03) org.kde.pim.akonadicontrol: ProcessControl: Application "akonadiserver" stopped unexpectedly ( "Process crashed" ) org.kde.pim.akonadicontrol: Application 'akonadiserver' crashed! 0 restarts left. org.kde.pim.kdepimdbusinterface: Failure starting korgac: "KLauncher could not be reached via D-Bus. Error when calling start_service_by_desktop_path:\nThe name org.kde.klauncher5 was not provided by any .service files\n" Akondi server self test report: Akonadi Server Self-Test Report =============================== Test 1: SUCCESS -------- Database driver found. Details: The QtSQL driver 'QSQLITE3' is required by your current Akonadi server configuration and was found on your system. File content of '/home/mildred/.var/app/org.kde.kontact/config/akonadi/akonadiserverrc': [%General] Driver=QSQLITE3 [QSQLITE3] Name=/home/mildred/.var/app/org.kde.kontact/data/akonadi/akonadi.db Test 2: SUCCESS -------- Akonadi is not running as root Details: Akonadi is not running as a root/administrator user, which is the recommended setup for a secure system. Test 3: SKIP -------- MySQL server executable not tested. Details: The current configuration does not require an internal MySQL server. Test 4: SKIP -------- MySQL server error log not tested. Details: The current configuration does not require an internal MySQL server. Test 5: SKIP -------- MySQL server configuration not tested. Details: The current configuration does not require an internal MySQL server. Test 6: SUCCESS -------- akonadictl found and usable Details: The program '/app/bin/akonadictl' to control the Akonadi server was found and could be executed successfully. Result: akonadictl 5.9.2 Test 7: ERROR -------- Akonadi control process not registered at D-Bus. Details: The Akonadi control process is not registered at D-Bus which typically means it was not started or encountered a fatal error during startup. Test 8: ERROR -------- Akonadi server process not registered at D-Bus. Details: The Akonadi server process is not registered at D-Bus which typically means it was not started or encountered a fatal error during startup. Test 9: SKIP -------- Protocol version check not possible. Details: Without a connection to the server it is not possible to check if the protocol version meets the requirements. Test 10: ERROR -------- No resource agents found. Details: No resource agents have been found, Akonadi is not usable without at least one. This usually means that no resource agents are installed or that there is a setup problem. The following paths have been searched: '/app/share/akonadi/agents'. The XDG_DATA_DIRS environment variable is set to '/app/share:/usr/share:/usr/share/runtime/share:/run/host/share'; make sure this includes all paths where Akonadi agents are installed. Directory listing of '/app/share/akonadi/agents': akonadiindexingagent.desktop akonotesresource.desktop archivemailagent.desktop birthdaysresource.desktop contactsresource.desktop davgroupwareresource.desktop ewsmtaresource.desktop ewsresource.desktop facebookresource.desktop followupreminder.desktop googlecalendarresource.desktop googlecontactsresource.desktop icaldirresource.desktop icalresource.desktop imapresource.desktop invitationsagent.desktop kalarmdirresource.desktop kalarmresource.desktop kolabresource.desktop maildirresource.desktop maildispatcheragent.desktop mailfilteragent.desktop mboxresource.desktop migrationagent.desktop mixedmaildirresource.desktop newmailnotifieragent.desktop notesagent.desktop notesresource.desktop openxchangeresource.desktop pop3resource.desktop sendlateragent.desktop tomboynotesresource.desktop vcarddirresource.desktop vcardresource.desktop Environment variable XDG_DATA_DIRS is set to '/app/share:/usr/share:/usr/share/runtime/share:/run/host/share' Test 11: ERROR -------- Current Akonadi server error log found. Details: The Akonadi server reported errors during its current startup. The log can be found in <a href="/home/mildred/.var/app/org.kde.kontact/data/akonadi/akonadiserver.error">/home/mildred/.var/app/org.kde.kontact/data/akonadi/akonadiserver.error</a>. File content of '/home/mildred/.var/app/org.kde.kontact/data/akonadi/akonadiserver.error': Cannot mix incompatible Qt library (version 0x50b02) with this library (version 0x50b03) Test 12: ERROR -------- Previous Akonadi server error log found. Details: The Akonadi server reported errors during its previous startup. The log can be found in <a href="/home/mildred/.var/app/org.kde.kontact/data/akonadi/akonadiserver.error.old">/home/mildred/.var/app/org.kde.kontact/data/akonadi/akonadiserver.error.old</a>. File content of '/home/mildred/.var/app/org.kde.kontact/data/akonadi/akonadiserver.error.old': Cannot mix incompatible Qt library (version 0x50b02) with this library (version 0x50b03) Test 13: ERROR -------- Current Akonadi control error log found. Details: The Akonadi control process reported errors during its current startup. The log can be found in <a href="/home/mildred/.var/app/org.kde.kontact/data/akonadi/akonadi_control.error">/home/mildred/.var/app/org.kde.kontact/data/akonadi/akonadi_control.error</a>. File content of '/home/mildred/.var/app/org.kde.kontact/data/akonadi/akonadi_control.error': Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) ProcessControl: Application "akonadiserver" stopped unexpectedly ( "Process crashed" ) Application 'akonadiserver' crashed! 1 restarts left. ProcessControl: Application "akonadiserver" stopped unexpectedly ( "Process crashed" ) Application 'akonadiserver' crashed! 0 restarts left. ProcessControl: Application "akonadiserver" stopped unexpectedly ( "Process crashed" ) Application 'akonadiserver' crashed too often. Giving up! Test 14: ERROR -------- Previous Akonadi control error log found. Details: The Akonadi control process reported errors during its previous startup. The log can be found in <a href="/home/mildred/.var/app/org.kde.kontact/data/akonadi/akonadi_control.error.old">/home/mildred/.var/app/org.kde.kontact/data/akonadi/akonadi_control.error.old</a>. File content of '/home/mildred/.var/app/org.kde.kontact/data/akonadi/akonadi_control.error.old': Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) ProcessControl: Application "akonadiserver" stopped unexpectedly ( "Process crashed" ) Application 'akonadiserver' crashed! 1 restarts left. ProcessControl: Application "akonadiserver" stopped unexpectedly ( "Process crashed" ) Application 'akonadiserver' crashed! 0 restarts left. ProcessControl: Application "akonadiserver" stopped unexpectedly ( "Process crashed" ) Application 'akonadiserver' crashed too often. Giving up!
Thank you for the crash report. As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
I no longer have a crash with current flatpak and current Fedora Silverblue. Kontact version 5.16.2 (20.12.2) KMail 5.16.2 (20.12.2) However, it is impossible to setup an IMAP account on KMail. In the KMail settings, clicking the "Add Account" button does nothing, and in the console I can see the following error message: Qt: Session management error: None of the authentication protocols specified are supported When trying to create the account with the assistant, at the step where it "configures the account" it stops, nothing gets printed in the details box. In the console I can see the following messages: Couldn't start kwalletd: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name is not activatable") QObject::connect(KWallet::Wallet, QEventLoop): invalid nullptr parameter It seems it cannot save the password somehow.
Note: Flatpak has a secret service portal to store passwords: https://github.com/flatpak/xdg-desktop-portal/blob/9a2582d035a397efbb330c53f893d5649c1fd749/data/org.freedesktop.portal.Secret.xml
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!