Log entry "not enough messages to train a classifier"

Hello,
since last update of the mail app I have following warning in my nextcloud log:
“not enough messages to train a classifier”
It is shown ~ every hour.

Is something wrong with the installation? Should this be really a warning?

Thanks!

Nextcloud version: 18.0.6
Mail-App version: 1.4.0

Good point. I guess it should be a info or debug statement. The code in question is at mail/lib/Service/Classification/ImportanceClassifier.php at 7d695701631060bf1d929d9e15de99e4b6e2fb68 · nextcloud/mail · GitHub. Mind submitting your first pull request to our repo? :slight_smile:

Cheers

Yes, I can submit a pull request. Is there a small HowTo? Do I need to have access rights?
I think this line should also be changed:

2 Likes

See https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/about-pull-requests

Good catch! Indeed both lines should be changed.

I have the some error every hour. Thanks for proceeding the request!

Is there a link to the github issue ?
Or any details explanation why this happens, I am quite certain that my mail app should have enough data for the classifiers :wink:

thanks

Here you can find the pull request:

1 Like