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

KMail crashing at start-up [SOLVED]

Tags: None
(comma "," separated)
petern
Registered Member
Posts
27
Karma
0
OS

KMail crashing at start-up [SOLVED]

Mon Feb 25, 2013 3:19 pm
I am running a fully updated PCLinuxOS system on a desktop PC with 4 GBytes Ram and a twin-core AMD processor. I have successfully used KMail for a number of years, but at present cannot get access to the KMail application, nor access any of my previous incoming or outgoing e-mails. The problem (which as you will see may be self-inflicted) appears to be related to akonadi/nepomuk, and the case history is set out in a thread on the PCLOS forum at:

http://www.pclinuxos.com/forum/index.ph ... 666.0.html

The details of the current problem, including error codes from a command line invocation of KMail are included in the third post.

I don't use KWallet, Kontact, etc, so only need to get KMail (and KAlarm) up and running again; however, getting access to KMail and its contents is vital to me. Any help on this would be greatly appreciated.

petern

Last edited by petern on Fri Mar 01, 2013 5:43 pm, edited 1 time in total.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: KMail crashing at start-up

Mon Feb 25, 2013 11:14 pm
Can you check in "akonadiconsole" whether the "Local Folders" resource points to a valid path? (click on it and select configure).


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
petern
Registered Member
Posts
27
Karma
0
OS

Re: KMail crashing at start-up

Tue Feb 26, 2013 8:36 pm
Einar,

Thanks for your response. I have looked in akonadiconsole, and find the following under the Agents tab:

KMail Folders points to

home/userhome/.kde4/share/apps/kmail/mail

which is correct, and all the mail folders are shown with

Status: Online, Idle
Status message: Ready


The only apparent anomaly is that Akonadi Nepomuk Feeder is shown as:

Status: Offline, Broken
Status Message: Nepomuk is not operational: Nepomuk is not running


Additionally, I have ascertained that the folder home/userhome/.kde4/share/apps/kmail/mail/.inbox.directory clearly still contains the archive of messages.

I hope this information is useful, although on my installation I couldn't locate the entry "Local Folders" in akonadiconsole to which you referred.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: KMail crashing at start-up

Wed Feb 27, 2013 7:57 pm
You don't have a local folders resource. Try creating one in "akonadiconsole". Click on "Add" and select local folders (it should be there). Otherwise list here the choices you are offered.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
petern
Registered Member
Posts
27
Karma
0
OS

Re: KMail crashing at start-up

Wed Feb 27, 2013 11:12 pm
Thanks, Einar, for your latest reply.

Opening akonadiconsole from Konsole I am still getting an error message:

[peter_h@localhost ~]$ akonadiconsole
KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work

Items already available in the Agents list in Akonadi Console are:

POP Account #1
Notes
POP Account #2
Mail Dispatcher Agent
POP Account #3
Mail Filter Agent
POP Account #4
Archive Mail Agent
Active Alarms
Archived Alarms
Alarm Templates
KMail Folders
Default Address Book
Akonadi Nepomuk Feeder

Items listed as available to be ADDed are:

AkoNotes
Akonadi Nepomuk Feeder
Archive Mail Agent
Birthdays & Anniversaries
DAV groupware resource
Dummy MailTransport Resource
Google Calendars and Tasks
Google Contacts
ICal Calendar File
IMAP E-Mail Server
Invitations Dispatcher Agent
KAlarm Calendar File
KAlarm Directory
KDE Accounts
KDE Address Book (traditional)
KDE Calendar (traditional)
KMail Mail Folder
Knut
Local Bookmarks
Mail Dispatcher Agent
Mail Filter Agent
Maildir
Mbox
Microblog (Twitter and Identi.ca)
Nepomuk Tags (Virtual Folders)
Notes
Open-Xchange Groupware Server
POP3 E-Mail Server
Personal Contacts
Usenet Newsgroups (NNTP)
VCard Directory
VCard File

I don't see anything identified specifically as Local Folders - perhaps I am looking in the wrong place?
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: KMail crashing at start-up

Thu Feb 28, 2013 6:49 am
No, you're right, I forgot how it's called. Create a "Maildir" resource, name it "Local Folders" and point it to .local/share/local-mail/

See if you still have a crash after that.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
petern
Registered Member
Posts
27
Karma
0
OS

Re: KMail crashing at start-up  Topic is solved

Thu Feb 28, 2013 6:25 pm
Einar, thanks. KMail is now running perfectly, with all the original e-mails in place. The only adjustment I had to make after following your instruction over Maildir was to re-specify the destinations of the message filters, which seemed to have been re-set to a random selection of the mailboxes in the application. However all now seems well with KMail, and the revived system has survived a re-boot, so I'm hopeful that's sorted out.

However, I still can't set any alarms in KAlarm and I wonder if you have any ideas on that one, and whether it is related to the akonadi problem? I'm still getting the following error message when I start akonadiconsole from Konsole:

KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work

On a trivial point, I tried to put an exclamation mark in my opening sentence above, and it displayed simply as a vertical bar (which may have been a vertical bar, or maybe a lowercase L). Thought somebody on the web team ought to know - or is it an attempt to avoid furious comments on the Forum (add exclamation mark here)

petern
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: KMail crashing at start-up

Thu Feb 28, 2013 7:42 pm
For KAlarm, please open a specific thread in the KAlarm forum.
That other console error is mostly harmless from a user point of view (it's meant for developers).

As for the forum issue, please open a separate thread in the feedback forum. Lastly, if your issue is solved, please mark this topic as such. Thanks!


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
petern
Registered Member
Posts
27
Karma
0
OS
Thanks Einar (insert exclamation mark here)

I'll raise the other points elsewhere as you suggest.

Petern


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]