Public bug reported: under ubuntu 11.10 amd64 and only in python2.7 (not in 2.6) maildir lib is broken:
$ cd /tmp/.Trash $ python Python 2.7.2+ (default, Oct 4 2011, 20:06:09) [GCC 4.6.1] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from mailbox import Maildir >>> mbox = Maildir('test') >>> mbox.items() [] $ python2.6 Python 2.6.7 (r267:88850, Aug 11 2011, 12:18:09) [GCC 4.6.1] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from mailbox import Maildir >>> mbox = Maildir('test') >>> mbox.items() [('1319198719.M215779P11777Q1.deeppurple', <rfc822.Message instance at 0x7ffe46413710>)] i tested on an ubuntu 10.10 python2.6 and it's ok. Additional informaiton: $ lsb_release -rd Description: Ubuntu 11.10 Release: 11.10 $ apt-cache policy python2.7 python2.7: Installed: 2.7.2-5ubuntu1 Candidate: 2.7.2-5ubuntu1 Version table: *** 2.7.2-5ubuntu1 0 500 http://it.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages 100 /var/lib/dpkg/status ** Affects: python2.7 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/879413 Title: maildir lib broken in ubuntu 11.10 amd64 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/879413/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs