Your message dated Wed, 14 Mar 2007 05:17:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#407201: fixed in python-libgmail 0.1.5.1-3
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: python-libgmail
Version: 0.1.5.1-2
Severity: important
I mount gmailfs:
mount.gmailfs none /mnt/gmail -o
username=my_username,password=my_password,fsname=fs_name
Copy a file to gmail:
cp ~/test.txt /mnt/gmail
However, when trying to read a file:
cat /mnt/gmail/test.txt
I get this error:
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/gmailfs.py", line 983, in read
buf = f.read(readlen,offset)
File "/usr/lib/python2.4/site-packages/gmailfs.py", line 489, in read
outbuf[upto:] =
self.readFromGmail((offset+upto)/self.blocksize,0)[readoffset:readoffset+thisread]
File "/usr/lib/python2.4/site-packages/gmailfs.py", line 519, in readFromGmail
a = msg.attachments[0]
IndexError: list index out of range
Therefore I compared libgmail.py from v0.1.5.1-1 with the one from v0.1.5.1-2
(and also v0.1.5.1+cvs20070102)
and found out, that there is a difference which causes this error:
0.1.5.1-1:
line 1418
self.attachments = [GmailAttachment(self, attachmentInfo)
for attachmentInfo in msgData[MI_ATTACHINFO]]
0.1.5.1-2:
line 1430
self.attachments = [GmailAttachment(self, attachmentInfo)
for attachmentInfo in msgData[MI_ATTACHINFO-1]]
If I change MI_ATTACHINFO-1 to MI_ATTACHINFO I can read files from GmailFS and
everything works for me.
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Versions of packages python-libgmail depends on:
ii python 2.4.4-2 An interactive high-level object-o
ii python-central 0.5.12 register and build utility for Pyt
python-libgmail recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: python-libgmail
Source-Version: 0.1.5.1-3
We believe that the bug you reported is fixed in the latest version of
python-libgmail, which is due to be installed in the Debian FTP archive:
python-libgmail_0.1.5.1-3.diff.gz
to pool/main/p/python-libgmail/python-libgmail_0.1.5.1-3.diff.gz
python-libgmail_0.1.5.1-3.dsc
to pool/main/p/python-libgmail/python-libgmail_0.1.5.1-3.dsc
python-libgmail_0.1.5.1-3_all.deb
to pool/main/p/python-libgmail/python-libgmail_0.1.5.1-3_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sebastien Delafond <[EMAIL PROTECTED]> (supplier of updated python-libgmail
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Tue, 13 Mar 2007 20:10:46 -0700
Source: python-libgmail
Binary: python-libgmail
Architecture: source all
Version: 0.1.5.1-3
Distribution: testing-proposed-updates
Urgency: low
Maintainer: Sebastien Delafond <[EMAIL PROTECTED]>
Changed-By: Sebastien Delafond <[EMAIL PROTECTED]>
Description:
python-libgmail - Python bindings to access Gmail accounts
Closes: 378312 407201
Changes:
python-libgmail (0.1.5.1-3) testing-proposed-updates; urgency=low
.
* Better handling of attachements (Closes: #407201, 378312).
Files:
39f338f85800fe1ef4db7aff5790e61c 731 python extra python-libgmail_0.1.5.1-3.dsc
f8f2d0580fb9d90c51d6e6c85095cb8f 3922 python extra
python-libgmail_0.1.5.1-3.diff.gz
df7f6cd837b6be97f85d79d1019d91e7 31614 python extra
python-libgmail_0.1.5.1-3_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFF92mmiZgNKcDdyD8RAsQTAJ98FWhCkgEcuuS0Vwu+icOZi9fEZQCgq5zz
q6WifgfbnL1tZZS5EO7SgMk=
=u31u
-----END PGP SIGNATURE-----
--- End Message ---