After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 80715 - Some multipart binaries won't decode in 0.11.3
Some multipart binaries won't decode in 0.11.3
Status: RESOLVED FIXED
Product: Pan
Classification: Other
Component: general
pre-0.11.0 betas
Other Linux
: Normal normal
: 0.12.0
Assigned To: Charles Kerr
Charles Kerr
Depends on:
Blocks:
 
 
Reported: 2002-05-03 17:12 UTC by tgamble
Modified: 2006-06-18 05:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
part 1 of a two-part message (153.06 KB, text/plain)
2002-05-03 17:45 UTC, Charles Kerr
Details
part 2 (4.28 KB, text/plain)
2002-05-03 17:46 UTC, Charles Kerr
Details

Description tgamble 2002-05-03 17:12:03 UTC
By way of example:

alt.binaries.pictures.suze
{15_3779; Victoria & Cherry}: suzeFan - 2377h003.jpg (1_2)

These multiparts are saved as attachment sources rather than decoded.

The log shows:
Fri, 03 May 2002 14:03:02 - Decoded "/pub2/pics/new/{15_3779; Victoria & 
Cherry}: suzeFan - 2377h003.jpg (1_2)" from group 
"alt.binaries.pictures.suze", "{15_3779; Victoria & Cherry}: suzeFan - 
2377h003.jpg (1/2)" part #-1

It looks as though Pan isn't picking up the second (and subsequent) part(s).
Comment 1 Charles Kerr 2002-05-03 17:45:56 UTC
Created attachment 8162 [details]
part 1 of a two-part message
Comment 2 Charles Kerr 2002-05-03 17:46:39 UTC
Created attachment 8163 [details]
part 2
Comment 3 Charles Kerr 2002-05-03 17:50:16 UTC
This is a two-parter: one bug for Pan and an RFE for GMime.

The pan bug is, of course, that Pan doesn't pull down articles
2..n for displaying inline images.  This will be fixed in 0.12.

It also looks like GMime needs to be tweaked to handle
the message/partial mime content-type.  Attached above is
a two-part article that could be used as a test case.
Comment 4 Jeffrey Stedfast 2002-05-03 18:00:30 UTC
hmmm, maybe in gmime2 I can have another class GMimeMessagePartial and
have a 

GMimeMessage *
g_mime_message_partial_merge (GMimeMessagePartial *first_part, ...);

or something.

If you guys have any ideas on interfaces, let me know.

I guess I'll probably have to write that stream class with multiple
stream backends idea afterall :-)
Comment 5 Jeffrey Stedfast 2002-05-12 07:45:06 UTC
ok, my job is done here.

I've implemented GMimeStreamCat and GMimeMessagePartial for ya. As I
mentioned on the devel mailing list though, I still may have to change
the GMimeMessagePartial interfaces a tad in order to fully comply with
rfc1521 (need to merge envelope message's non-MIME headers with the
encapsulated message/partial's headers.)
Comment 6 Charles Kerr 2002-05-19 01:23:03 UTC
FYI, I'll be getting into the GMessagePartial stuff in Pan next week.
Comment 7 Charles Kerr 2002-05-21 06:06:49 UTC
Fixed in CVS, will be in 0.11.93