By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 29 - kmail won't open without a .kde folder
Summary: kmail won't open without a .kde folder
Status: RESOLVED INVALID
Alias: None
Product: TDE
Classification: Unclassified
Component: tdenetwork (show other bugs)
Version: 3.5.10
Hardware: Other Linux
: P5 enhancement
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2009-01-02 13:43 CST by paulatgm
Modified: 2012-10-19 15:23 CDT (History)
2 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description paulatgm 2009-01-02 13:43:07 CST
We're using .kde3 for all our kde3 application configs.  I do not have kde4 installed at all, so do not have a .kde directory.

When I try to start contact, it fails and a popup show that kmail can't open the folder .kde/share/apps/kmail.
Comment 1 Timothy Pearson 2009-01-02 18:57:00 CST
Confirmed.  It looks like all of the KDE PIM applications are ignoring the KDEHOME environment variable.
Comment 2 Timothy Pearson 2009-01-03 15:07:11 CST
After much debugging, I found the answer.
1. You are running an upgraded system (not a clean installation of KDE3 from scratch)
2. kmail, knotes, and a few other applications leave full paths (!) in their configuration files
3. kmail (or other app) has been run at least once under the old ~/.kde based installation

The fix is easy: just open ~/.kde3/share/config/kmailrc and change the path that contains .kde to contain .kde3 instead.

If you like, you can do a search in the ~/.kde3/share/config directory for all text files containing .kde/ and it will show all the configuration files that have this problem.
Comment 3 paulatgm 2009-01-03 19:14:36 CST
Sorry I had to file a bug on this, but maybe someone else will learn from it.

You're correct.  Here's the offending line from .kde/share/config/kmailrc:

folders[$e]=$HOME/.kde/share/apps/kmail/mail

But, actually, I did not upgrade.  Instead, I copied my hardy kde3 ~/.kde to the intrepid ~/.kde3.  I don't actually use kmail, but it must have set up a config some time ago in hardy.

FWIW, They can be found with:

$ grep -ir '\.kde/' .kde3/

and fixed with:

$ perl -i -p -e 's/\.kde\//\.kde3\//g;' .kde3/share/config/kmailrc

regards,