unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: Colin Ramsay <info@colinramsay.co.uk>, notmuch@notmuchmail.org
Subject: Re: notmuch_message_remove_tag & std::length_error
Date: Tue, 02 Nov 2021 06:48:06 -0300	[thread overview]
Message-ID: <87sfweyjl5.fsf@tethera.net> (raw)
In-Reply-To: <CAGPrPqwG2NibaS=2sqFp_C=z4ZzePZS3behxV5_nNG4M3o_FUQ@mail.gmail.com>

Colin Ramsay <info@colinramsay.co.uk> writes:

> Hi, I'm using Dart to work with libnotmuch and when calling
> notmuch_message_remove_tag a std::length_error is thrown.
>
> I'm out of my comfort zone here so there's been a bit of fumbling to get to
> this point. I have tried doing the same tag removal with both alot and the
> notmuch commandline tools and it works, and I've checked that the arguments
> I'm passing are valid, so I'm at a bit of a loss.
>
> I just wondered if anyone could shed any light on when
> notmuch_message_remove_tag would throw a length_error?

libnotmuch is a C library (ABI wise), so it should never throw
exceptions. Alas, bugs happen. Any chance you can reproduce the problem
in C?

d

      reply	other threads:[~2021-11-02  9:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-02  8:58 notmuch_message_remove_tag & std::length_error Colin Ramsay
2021-11-02  9:48 ` David Bremner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sfweyjl5.fsf@tethera.net \
    --to=david@tethera.net \
    --cc=info@colinramsay.co.uk \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).