Your message dated Tue, 13 Mar 2007 20:11:57 -0700 with message-id <[EMAIL PROTECTED]> and subject line Fixed in 0.1.5.1+cvs20070102-2 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 ---
--- End Message ---

