[Bug 879413] Re: maildir lib broken in ubuntu 11.10 amd64
Matthias Klose
doko at ubuntu.com
Fri Apr 20 12:32:36 UTC 2012
fixed in 2.7.3 in precise
** Changed in: python2.7 (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/879413
Title:
maildir lib broken in ubuntu 11.10 amd64
Status in “python2.7” package in Ubuntu:
Fix Released
Bug description:
under ubuntu 11.10 amd64 and only in python2.7 (not in 2.6) maildir
lib is broken:
first create a maildir and populate it with a message:
$ 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',create=True)
>>> mbox.add('a message')
'1319201695.M222846P12967Q1.deeppurple'
>>>
then try to list messages:
$ 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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/879413/+subscriptions
More information about the foundations-bugs
mailing list