Re: [Patch] make IMAP messages translatable



On 01/11/2019 08:39:36 PM Fri, Peter Bloomfield wrote:
Hi Albrecht:

On 01/05/2019 03:28:44 PM Sat, Peter Bloomfield wrote:
…
I've pushed all three patches to GitLab, autocrypt branch. I've had one instance of some CRITICAL messages 
related to AutoCrypt, but to my shame I was not in gdb so I didn't get a stack trace. I /am/ in gdb now, so 
if it happens again I should be able to debug.

The message is:

(balsa:9235): autocrypt-CRITICAL **: 11:18:05.376: autocrypt_from_message: assertion 'LIBBALSA_IS_MESSAGE(message) && (message->headers != NULL) && 
(message->headers->from != NULL) && (message->headers->content_type != NULL) && GMIME_IS_OBJECT(message->mime_msg) && 
(autocrypt_db != NULL)' failed

and it fails because message->mime_msg is NULL. I see it only in IMAP mailboxes, and only for certain 
messages--perhaps those with HTML parts(?). Do we really need mime_msg, or can we get the autocrypt headers instead 
from message->headers?

Could the attached work?

Peter

Attachment: alt-autocrypt.diff
Description: Text Data

Attachment: pgpex0UqTadhk.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]