<table><tr><td style="">kpiwowarski added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D10691" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p><a href="https://phabricator.kde.org/p/ivan/" style="
border-color: #f1f7ff;
color: #19558d;
background-color: #f1f7ff;
border: 1px solid transparent;
border-radius: 3px;
font-weight: bold;
padding: 0 4px;" rel="noreferrer">@ivan</a> When database is broken additionaly kactivitymanagerd is in endless loop of creating and closing processes. Each KF5 application prints to console message: "KActivities: FATAL ERROR: Failed to contact the activity manager daemon"</p>
<p>Maybe it would be good to display dialog from kactivitymanagerd and ask user to fix (remove and create again) database instead of creating new processes infinitialy? It would fix the source of the problem which is broken database (I only wonder why the database is broken).</p>
<p>I think that for now it's more important to fix crash and then help user to fix database. Additionally at this moment I think I don't have good C++ skills to fix that another way :(</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R159 KActivities Statistics</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D10691" rel="noreferrer">https://phabricator.kde.org/D10691</a></div></div><br /><div><strong>To: </strong>kpiwowarski, Plasma, Frameworks, hein, ivan<br /><strong>Cc: </strong>ivan, plasma-devel, Frameworks, michaelh, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>