Bug#863570: mb2md fails on mboxes from bugs.debian.org

Daniel Kahn Gillmor dkg at fifthhorseman.net
Sun May 28 18:28:05 UTC 2017


Package: mb2md
Version: 3.20-8
Severity: normal

I pulled an mbox for debian bug #861536 from this URL:

     https://bugs.debian.org/cgi-bin/bugreport.cgi?mbox=yes;bug=861536;mboxmaint=yes

Then i ran mb2md on it to try to turn the mbox into a maildir.
however, it produced a single file in the maildir, rather than the
14-message thread it should have created.

I wrote the following python3 program to extract the messages instead:

-------------------
#/usr/bin/python3
import mailbox
import sys
mbox = mailbox.mbox(sys.argv[1])
mdir = mailbox.Maildir(sys.argv[2])
for x in mbox:
    mdir.add(x)
-------------------

and this python program extracted the 14 messages as expected.

I have not dug any deeper into mb2md to figure out why it is
misbehaving.

    --dkg


-- System Information:
Debian Release: 9.0
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing'), (200, 'unstable-debug'), (200, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64
 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mb2md depends on:
ii  libtimedate-perl  2.3000-2
ii  perl              5.24.1-2

mb2md recommends no packages.

mb2md suggests no packages.

-- no debconf information



More information about the pkg-perl-maintainers mailing list