Re: [Patch/GMime3 branch] Autocrypt
Albrecht Dreß <[email protected]> Sat, 30 Nov 2019 11:56:16 +0100
| Newsgroups | gmane.comp.gnome.apps.balsa |
|---|---|
| Message-ID | <[email protected]> |
Hi Peter! Am 30.11.19 04:31 schrieb(en) Peter Bloomfield: > Testing the autocrypt code with a message to myself, I get an error notification: > > Autocrypt error: insert user “my-user-id@my-isp” failed: UNIQUE constraint failed: autocrypt.addr > > The origin of the error is in add_or_update_user_info() at line 252 in libbalsa/autocrypt.c (autocrypt_from_message). > > If this is really just an attempt to add my info to the database when it's already there, reporting it at the error level seems heavy handed. But perhaps it's a real error--I'm not clear about that. This is really odd, as the code should check if the address is already in the sqlite db, and will perform a SQL update (instead of an insert) in this case… This code didn't change compared with the master branch, btw… I'll look into it. Thanks for the report! Best, Albrecht. _______________________________________________ balsa-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/balsa-list
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEcCEPemLFTtyGf4zATKlvDmfn2fgFAl3iStAACgkQTKlvDmfn 2fhfewgAy2qZkLhudclMi/iIGbjL0ZvuQH7OL9LhCWf8cPhHEbNx9fKxflQu1tmC W8wBQEfutE7mPffo8RlUl2dqAgJRqiAbl5tczUD1c7VgAiNhtWl3wkdrYAWlevFN TN6Fo0Mq7P6dhw7MKFJYOpJ86FmvAbsFFrEhAgUFL/o5/ztwA5Rg7sTYX2xiBqOW mogy01wqH2zGM5sqRKsouzNf5w4/B0YDnAdvQJDun9ws/7pBelUWV3iPsJaalWvJ mkdOuQxo+CfSIKZR/pbYh2iNtYPxKya8xz83mX5t41RTQubXNrzMtZlbO6cUL+9G 5XKlFkfMLpcGHcNz/wZbXk1tEXm0Og== =kYyd -----END PGP SIGNATURE-----