Your message dated Tue, 11 Nov 2008 18:47:08 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#502458: fixed in python-libgmail 0.1.11-1
has caused the Debian Bug report #502458,
regarding python-libgmail: libgmail crashes on threads containing messages from
google chat
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
502458: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502458
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: python-libgmail
Version: 0.1.9-2
Severity: normal
Tags: patch
libgmail crashes when trying to parse a thread that contains a google
chat log (from using 'Reply by chat' or similiar options). The problem
is extracting attachments - the pseudo mail message created by google
chat leaves this blank, which causes the attempt to iterate over the
list to fail.
While I haven't tested libgmail 0.1.10, it doesn't look like the
relevant code has changed between the versions, so I suspect the same
problem will occur there.
The following patch fixes the problem for me.
--- libgmail.py 2008-10-16 18:53:20.000000000 +0200
+++ libgmail_modified.py 2008-10-16 18:52:52.000000000 +0200
@@ -1448,8 +1448,14 @@
self.bcc = msgData[MI_BCC]
self.sender = msgData[MI_AUTHOREMAIL]
- self.attachments = [GmailAttachment(self, attachmentInfo)
- for attachmentInfo in msgData[MI_ATTACHINFO]]
+ # Messages created by google chat (from reply with chat, etc.)
+ # don't have any attachments, so we need this check not to choke
+ # on them
+ try:
+ self.attachments = [GmailAttachment(self, attachmentInfo)
+ for attachmentInfo in msgData[MI_ATTACHINFO]]
+ except TypeError:
+ self.attachments = []
# TODO: Populate additional fields & cache...(?)
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages python-libgmail depends on:
ii python 2.5.2-2 An interactive high-level object-o
ii python-central 0.6.8 register and build utility for Pyt
ii python-clientcookie 1.3.0-1.1 Python module for automating HTTP
python-libgmail recommends no packages.
python-libgmail suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: python-libgmail
Source-Version: 0.1.11-1
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.11-1.diff.gz
to pool/main/p/python-libgmail/python-libgmail_0.1.11-1.diff.gz
python-libgmail_0.1.11-1.dsc
to pool/main/p/python-libgmail/python-libgmail_0.1.11-1.dsc
python-libgmail_0.1.11-1_all.deb
to pool/main/p/python-libgmail/python-libgmail_0.1.11-1_all.deb
python-libgmail_0.1.11.orig.tar.gz
to pool/main/p/python-libgmail/python-libgmail_0.1.11.orig.tar.gz
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.8
Date: Tue, 11 Nov 2008 10:25:56 -0800
Source: python-libgmail
Binary: python-libgmail
Architecture: source all
Version: 0.1.11-1
Distribution: unstable
Urgency: low
Maintainer: Sebastien Delafond <[EMAIL PROTECTED]>
Changed-By: Sebastien Delafond <[EMAIL PROTECTED]>
Description:
python-libgmail - Python bindings to access Gmail accounts
Closes: 502458
Changes:
python-libgmail (0.1.11-1) unstable; urgency=low
.
* New upstream release (Closes: #502458).
Checksums-Sha1:
5fdb7ca0c46ed498922837680c473168f8a905ec 1162 python-libgmail_0.1.11-1.dsc
485a06227043104e192839e895325f2c9df09d15 30433
python-libgmail_0.1.11.orig.tar.gz
59661f49bfa2fb54af6105abcce224f51c955084 22757 python-libgmail_0.1.11-1.diff.gz
d348973bae5fa8c615a5f9abcc539a617a6792ca 36018 python-libgmail_0.1.11-1_all.deb
Checksums-Sha256:
c673e9eee4b6863ab3367959dc58071219ac6f42050663816374d0c477cf7247 1162
python-libgmail_0.1.11-1.dsc
2d94f1230f591dfa6d1b726338063f28b89b2f82ba5b866ab077c86c598de43e 30433
python-libgmail_0.1.11.orig.tar.gz
259f1514e2440c09ba631730852fe409fc69e1da9f7d7633122d10f76a238cb4 22757
python-libgmail_0.1.11-1.diff.gz
eded0ca55b53ea0c7db67bf6f05ce84b41218efbc09241591cc7f80024ed9fe5 36018
python-libgmail_0.1.11-1_all.deb
Files:
f3880a2623ee153b0b7b4cad31c33349 1162 python extra python-libgmail_0.1.11-1.dsc
247477ac98b39658fdcdee8d65639e51 30433 python extra
python-libgmail_0.1.11.orig.tar.gz
c2b69120f4c54bd2e81a6823b1f88e39 22757 python extra
python-libgmail_0.1.11-1.diff.gz
75dcf219f94f050ed25aeaec76d84d94 36018 python extra
python-libgmail_0.1.11-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFJGc/jiZgNKcDdyD8RAoYiAJ9tQPrKpIToYsbRsASD5RMAZBkU2ACgxfr7
8z/tPUrkEsks4jj8AAKJDyA=
=x41b
-----END PGP SIGNATURE-----
--- End Message ---