This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KMail mailboxes have appeared in KJots, which now crashes

Tags: None
(comma "," separated)
rcameron
Registered Member
Posts
105
Karma
0
OS
Two new 'Notes' entries have appeared in the left-hand column of the KJots window, each containing with folders below each entry, corresponding to Drafts, Inbox, Outbox, and so forth, or, just as they appear in KMail. There are a total of five mailbox entries here.

These start loading when KJots runs, and KJots is unusable until this has finished. It takes, probably, four or five minutes. Occasionally, KJots will freeze. I'm attributing this to the appearance of the mailboxes, because before they appeared, KJots would be functional as soon as its window appeared.

I have tried reinstalling both KJots and KNotes, but the situation persists.

I have tried to delete the Notes entries, but in the Context Menu for each (there are two) the option to Delete is grayed-out.

I can see no way (does someone else?) of deselecting the mailboxes, to prevent their being displayed on this screen.

Therefore, I am now trying to delete the individual boxes, but in addition to each one taking a long time, I'm wondering if I'm also deleting them for use by KMail, which I don't want to do.
? How can I restore normal functionality to KJots? And, I really don't want to have mailbox contents displayed here ... I'd like to return to the former condition.
Can anyone tell me 1) what's happening, 2) how to fix it and 3) how to keep it from happening again?

Last edited by rcameron on Mon Nov 24, 2014 1:03 pm, edited 1 time in total.


System information:
Linux Mint 17.3 | KDE Platform Version 4.14.2, and
Linux Mint 18.0 | KDE Platform Version 5.28.0
rcameron
Registered Member
Posts
105
Karma
0
OS
It was correct: the appearance of my mailboxes under two new 'Notes' headings -- was causing KJots' loss of functionality.
? Now, can someone please tell me how I may get rid of these now-empty 'Notes' headings that remain, after deleting the mailboxes under each?


System information:
Linux Mint 17.3 | KDE Platform Version 4.14.2, and
Linux Mint 18.0 | KDE Platform Version 5.28.0
rcameron
Registered Member
Posts
105
Karma
0
OS
I have opened KMail to see what was happening with my boxes, when viewed from there. KMail was configured with separate inboxes for different accounts from one service provider.

All of the boxes had disappeared, except for the default selection, and an information message was on the screen:
    The folder you deleted was associated with the account 'Joke Box' which delivered mail into it. The folder the account delivers mew mail into was reset to the main Inbox folder.
    [OK]

I now have a single inbox with over 3000 messages in it -- apparently from several accounts, all mixed together. This is not what I had hoped for.

Much appreciated if someone could read through the preceding messages and their questions, and then advise me.


System information:
Linux Mint 17.3 | KDE Platform Version 4.14.2, and
Linux Mint 18.0 | KDE Platform Version 5.28.0
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
What version of PIM are you using?


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
wolfi323
Registered Member
Posts
1129
Karma
11
OS
Open Systemsettings->Personal Information->Configure Akonadi Resources, and check your akonotes resources.
You probably added one which points to ~/.local/share/local-mail/, remove that.

If you add a new akonotes resource, it uses ~/.local/share/local-mail/ by default, see this bug report:
https://bugs.kde.org/show_bug.cgi?id=339169
And since akonotes resources just store the notes in maildir format, it will just show all your emails and email folders from there then.

If you deleted those "notes", then you deleted your actual emails unfortunately, I'm afraid.
rcameron
Registered Member
Posts
105
Karma
0
OS
einar wrote:What version of PIM are you using?

    KJots
    Version 4.13.3
    Using KDE Development Platform 4.13.3

Thanks for the reply -- I'm assuming all the components of KDE's PIM would have the above information, all the same?
It's running on fully-updated Linux Mint Quiana.


System information:
Linux Mint 17.3 | KDE Platform Version 4.14.2, and
Linux Mint 18.0 | KDE Platform Version 5.28.0
rcameron
Registered Member
Posts
105
Karma
0
OS
wolfi323 wrote:... You probably added one which points to ~/.local/share/local-mail/ ...

Thanks, that's perfect. Now I know where the two 'Notes' labels (or, 'resources'? Don't know what to call them, they're obviously not 'books' or 'pages') came from. As soon as I deleted the lines (there were two erroneous 'Notes' entries) both were gone from the Kjots window.

Actually, I didn't add the two 'Notes' entries from the Akonadi Resources Configuration page. I think it happened while I was troublshooting the 'Sleep' option.

I had switched .kde 'out' by renaming another (.kde) directory I was using a short while ago, hoping that one the Sleep function might work. It didn't. Instead, it failed to boot the Desktop. And, while I was waiting for the Desktop to load, there was a tremendous amount of hard disc activity -- I was wondering what was going on, the Desktop never loaded and afterwards I had to do a system reset.

I renamed the previous .kde to make it active, rebooted, and that brought up the desktop fine, but as soon as I went to use Kjots, I saw it was malfunctioning.

Don't know if this mean anything, but perhaps it makes the cause somewhat less of a mystery.

So, if it happens again, then I should come back to the Configuration page and clean-up, instead of doing deletions from inside Kjots.


System information:
Linux Mint 17.3 | KDE Platform Version 4.14.2, and
Linux Mint 18.0 | KDE Platform Version 5.28.0
wolfi323
Registered Member
Posts
1129
Karma
11
OS
rcameron wrote:I renamed the previous .kde to make it active, rebooted, and that brought up the desktop fine, but as soon as I went to use Kjots, I saw it was malfunctioning.

Maybe kjots created a new resource (knotes calls them "collections") on startup because there was none (the resource configuration files are in ~/.kde/share/config/), and this then pointed to the default ~/.local/share/local-mail/.

But that's just guessing...
rcameron
Registered Member
Posts
105
Karma
0
OS
wolfi323 wrote:
rcameron wrote:I renamed the previous .kde to make it active, rebooted, and that brought up the desktop fine, but as soon as I went to use Kjots, I saw it was malfunctioning.
... But that's just guessing...

Here's another piece of information that I now see is relevant. In the time since the previous .kde directory was in use, I began configuring KMail (trying to configure, more accurate) and got as far as partially configuring two inboxes.

When the 'old .kde' ran, akonadi 'saw' two new mailboxes, about which it knew nothing. From these, two new 'Notes' Collections were created, that then displayed their contents (inbox, and other boxes) in KJots, from each new email account. Because these inboxes were very full (too full, I know) KJots became unresponsive and appears to have crashed twice. Understandably, I suspect KJots was never intended to handle this type of a situation.

To the credit of KDE, the 'freeze' or 'crash' was handled gracefully. The error message was, something along the lines of, this program has become unresponsive -- would you like to terminate or wait?

Thanks, I'm glad you were familiar with this case. I feel better knowing there was a logical reason for what happened, and it's unlikely to be a repeat occurrence. And, please excuse any logical errors in my explanation! Corrections are to be welcomed. I am very new to KDE and akonadi ...


System information:
Linux Mint 17.3 | KDE Platform Version 4.14.2, and
Linux Mint 18.0 | KDE Platform Version 5.28.0


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]