[PATCH] Do not attept to output part raw if part is not GMimePart.
Dmitry Kurochkin
dmitry.kurochkin at gmail.com
Tue Sep 6 09:49:47 PDT 2011
Hi Jamie.
On Tue, 06 Sep 2011 09:43:00 -0700, Jameson Graef Rollins <jrollins at finestructure.net> wrote:
> On Fri, 3 Jun 2011 10:01:06 -0700, Jameson Graef Rollins <jrollins at finestructure.net> wrote:
> > This was a minor oversite in checking of part type when outputing
> > content raw. This was causing gmime was to throw an exception to
> > stderr.
>
> I'm finding it perplexing that this patch still hasn't been applied,
> considering how small it is and that it fixes a real bug. Isn't anyone
> else experiencing this same issue? I would really like to hear either
> way, if people either are or are *not* experiencing this issue.
>
> To reiterate, this bug can be triggered very simply with the following
> command:
>
> $ notmuch show --part=1 --format=raw id:"87wrgccedd.fsf at yoom.home.cworth.org" >/dev/null
>
> Please do let me know want you find.
>
For me this results in:
(process:15727): GLib-GObject-WARNING **: invalid cast from `GMimeMultipart' to `GMimePart'
(process:15727): gmime-CRITICAL **: g_mime_part_get_content_object: assertion `GMIME_IS_PART (mime_part)' failed
(process:15727): GLib-GObject-WARNING **: invalid cast from `GMimeMultipartSigned' to `GMimePart'
(process:15727): gmime-CRITICAL **: g_mime_part_get_content_object: assertion `GMIME_IS_PART (mime_part)' failed
HTH,
Dmitry
> jamie.
> _______________________________________________
> notmuch mailing list
> notmuch at notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch
More information about the notmuch
mailing list