Google has heavily modified the Gmail interface fairly (more AJAX, fewer page refreshes), heavily breaking libgmail. Fortunately, though, the folks at Google have kept the old interface. A quick patch will modify libgmail to use this old interface again.
- Download my patch here.
- cd to the directory containing libgmail. It might be located at /usr/lib/python-2.5/site-packages or /usr/local/lib/python-2.5/site-packages (or python-2.4 if you still have version 2.4). You’ll need su, obviously, unless you run your system as root.
- Patch with: patch libgmail.py libgmail.patch
- Test your scripts that use libgmail.py.
Until the developers of libgmail update their code, this will suffice. I haven’t tested the patch on older versions of libgmail (I’m using the newest version), but patch should at least report a fuzzy match.
By the way, I have found the next programming language that I intend to learn.