gmailfs fails with python-libgmail version in the archive

Bug #31223 reported by Philipp Kern
8
Affects Status Importance Assigned to Milestone
gmailfs (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Tries to mount a gmail account with gmailfs result in the following failure:

Traceback (most recent call last):
  File "/usr/bin/mount.gmailfs", line 157, in ?
    import gmailfs
  File "/usr/share/gmailfs/gmailfs.py", line 29, in ?
    from libgmail.lgconstants import *
ImportError: No module named lgconstants

gmailfs:
  Installed: 0.6-2ubuntu1
python-libgmail:
  Installed: 0.0.8+cvs20050208-2ubuntu2

Revision history for this message
Nathan Howell (neh) wrote :

This happens because google changed gmail... the newer versions of python-libgmail work (at least, 0.1.3.3 does, it's the only one I've tried).

Revision history for this message
Philipp Kern (pkern) wrote :

It looks more like an incompatibility of the gmailfs and python-libgmail versions currently in the archive, than a protocol change. As stated in the bug report python-libgmail 0.0.8+cvs20050208 is in, not 0.1.3.3. So anyone bumped gmailfs without updating the corresponding library.

Revision history for this message
Robin Sonefors (ozamosi) wrote :

The problem seems to be that python-libgmail is too old. Since that old version didn't have lgconstants, but instead constants, this error appears.

There is another problem: python-libgmail is very old, and that that version doesn't work at all, since it is impossible to log in using it.

From the python-libgmail changelog:
1.1.0
 * Applied patch that handles login redirect URL properly now
   Login now works.

So, what's needed is for python-libgmail to get bumped.

Revision history for this message
Dave Love (fx-gnu) wrote :

You need an updated libgmail (Debian's should just be
synched), but you also need gmailfs 0.7 (see Debian
#342174). Unfortunately that doesn't work either. It
complains about the mount options not being defined
when they are and fails to log in too. I haven't
managed to debug it yet. (A libgmail demo does login
OK.)

Revision history for this message
Matti Lindell (mlind) wrote :

Is this still an issue with Edgy's 0.7.2-2 version?

Changed in gmailfs:
status: Unconfirmed → Needs Info
Revision history for this message
Michael R. Head (burner) wrote :

No, this isn't the problem with gmailfs anymore.

 Currently, bug 62767 is the problem that prevents gmailfs from working.

Revision history for this message
Matti Lindell (mlind) wrote :

This should be fixed now as Bug #62767 was fixed too.
Reopen if python-libgmail still causes problems.

Changed in gmailfs:
status: Needs Info → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.