Hi,
Just upgraded a site to 14.0.4 and my users are having real problems with Kmail not saving/reading back filters in kmailrc (KMail 1.9.10 Trinity R14.0.4 on Debian Jessie).
I can set a filter within Kmail and it looks fine but when I quit and restart there are no filters shown in Settings->Configure Filters.
I can export the filters to a file but when I do so, I see the following on the 'console' (I'm running via ssh -X/xterm, /opt/trinity/bin/kmail):
TQLayout "unnamed" added to KMail::FilterSelectionDialog "filterselection", which already has a layout
This appears when I click 'Overwrite' after selecting a filename.
The file content looks fine:
[Filter #0] Applicability=0 AutomaticName=false ConfigureShortcut=false ConfigureToolbar=false Icon= StopProcessingHere=true accounts-set= action-args-0=Banana\tnice action-name-0=add header actions=1 apply-on=check-mail,manual-filtering contentsA=Weeble fieldA=<body> funcA=contains name=<<body>>: Weeble operator=and rules=1
but if I try to import this file (within the same kmail session or in a new one) I again get the "TQLayout "unnamed"..." message when I select the file and there are no filters shown in the selection popup.
Looking at kmailrc, when I set a filter in Kmail I can see the filter section has been added (same as the above).
Quit Kmail and Filter #0 is still in kmailrc.
Start kmail and I get this on the 'console':
#/opt/trinity/bin/kmail DCOPClient::attachInternal. Attach failed Could not open network socket DCOPClient::attachInternal. Attach failed Could not open network socket [tdebuildsycoca] tdebuildsycoca running... [dcopserver] DCOP Cleaning up dead connections. [TDE NM Backend ERROR] [/build/buildd/tdelibs-trinity-14.0.4/tdecore/tdehw/networkbackends/network-manager/network-manager.cpp:1224] org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files [TDE NM Backend ERROR] [/build/buildd/tdelibs-trinity-14.0.4/tdecore/tdehw/networkbackends/network-manager/network-manager.cpp:1224] org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files [TDE NM Backend ERROR] [/build/buildd/tdelibs-trinity-14.0.4/tdecore/tdehw/networkbackends/network-manager/network-manager.cpp:1803] org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files build-jessie:~% WeaverThreadLogger: thread (ID: 3) suspended. WeaverThreadLogger: thread (ID: 2) suspended. WeaverThreadLogger: thread (ID: 1) suspended. WeaverThreadLogger: thread (ID: 4) suspended.
Some of that is obviously because I'm running via ssh -X but none of it obviously applies to kmail.
Go to Settings->Configure Filters and there are no filters shown.
~/.trinity/share/config/kmailrc still contains the [Filter #0] section but kmail's just not read it in or ignored it.
Try the import thing again... and I get the same result as before.
Ummmmmmmmm..... any ideas?
I'm happy to compile/debug/try test versions etc but I've no idea where start looking in the kmail source.
TIA.
PS - If it has any bearing, I am using the kiosk settings but I've been doing that for decades and it's never caused owt like this.
Russell Brown wrote:
WeaverThreadLogger: thread (ID: 3) suspended.
WeaverThreadLogger: thread (ID: 2) suspended. WeaverThreadLogger: thread (ID: 1) suspended. WeaverThreadLogger: thread (ID: 4) suspended.
This is Kmail shutting down
Some of that is obviously because I'm running via ssh -X but none of it obviously applies to kmail.
Go to Settings->Configure Filters and there are no filters shown.
~/.trinity/share/config/kmailrc still contains the [Filter #0] section but kmail's just not read it in or ignored it.
Try the import thing again... and I get the same result as before.
Ummmmmmmmm..... any ideas?
I'm happy to compile/debug/try test versions etc but I've no idea where start looking in the kmail source.
kmail is in TDEPIM - perhaps it is best to open a bug ticket first. Check the file permissions on the file and tree, but when you write file gets modified, it shouldn't be a problem
If you want to debug compile with Debug option and set markers. Look into bugs - there are few related to kmail.
you will be looking at kmail/kmkernel.cpp: // this shares the kmailrc parsing too (via TDESharedConfig), and reads values from it kmail/kmkernel.cpp: mySelf->mConfig = TDESharedConfig::openConfig( "kmailrc" );
Before doing this have a look into the newer versions provided by Slavek, perhaps the problem is fixed, because I am using the development (14.1) version and I can not reproduce the problem. I do "Settings" -> "Create Filters" then after creating some rule I apply/ok I closed/opened Kmail and filter rule is still there. I even rebooted and it is still there. So either you have some local problem or it is fixed in 14.1. Check the bugs around KMail.
regards