RealRaven2000 / quickFilters

Thunderbird Add-on: quickFilters
http://quickfilters.quickfolders.org/
Other
49 stars 11 forks source link

Filters have to be created multiple time and the oldest have empty searchTerms #13

Closed cbroult closed 3 years ago

cbroult commented 4 years ago

For several months I have notice that I had to regularly recreate some filters. Now I can no longer right click on Inbox > Run filters since that reports that many of my filters are failing to apply.

Saving the filters I can see that for some filters several entries exist that are empty (see cbroult@yahoo.com_2020-05-27_17-16.txt)

I have no idea as to why there is such a problem. I reckon that I have a very large amount of filters...

Please let me know how I can best help to fix that issue that seems to be related to https://www.mozdev.org/bugs/show_bug.cgi?id=26710.

RealRaven2000 commented 4 years ago

Did you try the "troubleshooting" feature? image

cbroult commented 4 years ago

Indeed I tried that button several times. Though it seems that nothing happens when I pressed it. I guess I am going to manually the JSON file and import it again to come to a clean state and monitor my filter list. If the issue is still present I am going to comment again on that ticket.

cbroult commented 4 years ago

I decided to start from scratch and recreate my filters one by one. Now I end up in a similar situation where a lot of searchTerms in the exported JSON are empty (cbroult@yahoo.com_2020-06-07_13-03.cleaned.json.txt) which causes a Run Filters on my Inbox to report multiple failures.

Using a script I removed the filters with empty searchTerms and after removing all the filters and importing the cleaned filters (cbroult@yahoo.com_2020-06-07_13-03.json.txt) then Run Filters is successful.

What should I be doing to help troubleshoot that issue?

RealRaven2000 commented 4 years ago

if you can reproduce creating a filter with empty conditions please make a step by step description here (with screenshots).

RealRaven2000 commented 3 years ago

Should I leave this issue open or close it? It still looks like it might be cause by a corrupted profile... A developer friend of mine said he recreates a fresh profile for all his production mail every year; I only repair folders from time to time. It doesn't seem like this is easily reproducible and almost certainly not fixable in the quickFilters codebase. So it is very very likely a Thundebird bug - or a whole group of bugs.

RealRaven2000 commented 1 year ago

I decided to start from scratch and recreate my filters one by one. Now I end up in a similar situation where a lot of searchTerms in the exported JSON are empty (cbroult@yahoo.com_2020-06-07_13-03.cleaned.json.txt) which causes a Run Filters on my Inbox to report multiple failures.

I wonder if something happened with the copy terms routine to fail. If you still use quickFIlt4ers, check the latest version and the error console (Ctrl+Shift+J) after creating a filter and when exporting.