Package: gmailfs
Version: 0.7.1-6
Severity: normal

After mounting a gmailfs file system I can't list the contents:

 # mount -t gmailfs none /root/gmailfs -o \
 username=my.user.name,password=my.password,fsname=gfsSillyMe
 # ls gmailfs
 Traceback (most recent call last):
   File "/usr/share/gmailfs/gmailfs.py", line 701, in getdir
     log.debug("thread.summary is " + thread.snippet)
 TypeError: cannot concatenate 'str' and 'list' objects
 Traceback (most recent call last):
   File "/usr/lib/python2.3/site-packages/fuse.py", line 40, in __call__
     return apply(self.func, args, kw)
   File "/usr/share/gmailfs/gmailfs.py", line 725, in getdir
     return map(lambda x: (x,0), lst)
 TypeError: argument 2 to map() must support iteration
 ls: reading directory gmailfs: Invalid argument
 # echo "Silly content" > gmailfs/test
 # ls gmailfs
 Traceback (most recent call last):
   File "/usr/share/gmailfs/gmailfs.py", line 701, in getdir
     log.debug("thread.summary is " + thread.snippet)
 TypeError: cannot concatenate 'str' and 'list' objects
 Traceback (most recent call last):
   File "/usr/lib/python2.3/site-packages/fuse.py", line 40, in __call__
     return apply(self.func, args, kw)
   File "/usr/share/gmailfs/gmailfs.py", line 725, in getdir
     return map(lambda x: (x,0), lst)
 TypeError: argument 2 to map() must support iteration
 ls: reading directory gmailfs: Invalid argument
 # cat gmailfs/test
 Silly content
 #

This pulls down the usefulness of gmailfs somewhat :(

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-k7
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages gmailfs depends on:
ii  fuse-utils                    2.5.3-2.1  Filesystem in USErspace (utilities
ii  python                        2.3.5-11   An interactive high-level object-o
ii  python-fuse                   2.5-4      Python bindings for FUSE (Filesyst
ii  python-libgmail               0.1.4-3    Python bindings to access Gmail ac

Versions of packages gmailfs recommends:
ii  encfs                         1.2.5-1-1  encrypted virtual filesystem

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to