trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2017

Kmail not saving/importing filters

From: russell@... (Russell Brown)
Date: Fri, 3 Mar 2017 15:59:21 +0000 (GMT)
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.

-- 
 Regards,
     Russell
 --------------------------------------------------------------------
| Russell Brown          | MAIL: russell@... PHONE: 01780 471800 |
| Lady Lodge Systems     | WWW Work: http://www.lls.com              |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk         |
 --------------------------------------------------------------------