Hi,

On Sat, 13 Jun 2020 12:13:59 +0200 Xavier Brochard <xav...@alternatif.org> 
wrote:
snip

> xfilter_bayes_db_init: opening db: /home/anne/.sylfilter/junk.db
> 
> ** (process:21314): WARNING **: 12:04:05.137: Cannot open database: 
> /home/anne/.sylfilter/junk.db
> Database initialization error.

I've tried to check source code sylfilter 0.8.
It seems that this error is occurerd in QDBM layer. (In QDBM, system call may 
be failed)

Here is the call tree of this situation:

main(src/sylfilter.c)
=> xfilter_bayes_db_init(lib/filters/bayes-filter.c)
==> xfilter_kvs_open(lib/filter-kvs.c)
===> ke.open
====> qdbm_open = dpopen (QDBM layer)


"** Sylpheed-WARNING: summary_junk_func: junk filter command returned 127"

means that error was caused at src/sylfilter.c.

 dbpath = xfilter_utils_get_base_dir();
 if (xfilter_bayes_db_init(dbpath) < 0) {
         fprintf(stderr, "Database initialization error.\n");
         xfilter_done();
         return 127;
 }


So, as you mentioned "the problem is with db access.", it has database error.
But the reason why it has happend was not uncertain.
Hmm...

Regards,

Reply via email to