tag 412986 + moreinfo
thanks

Hi Paul,

could you tell me what version of python-libgmail you're using ? In
general, it is good to use reportbug to file bugs, since it will list
all the dependencies for the package you report against.

Cheers,

--Seb

On Thu, Mar 01, 2007 at 03:38:57PM +0100, paul wrote:
> Package: gmailfs
> Version: 0.7.2-2
> 
> When trying to read a file from gmailfs file system does not work.
> Writing goes ok, and the attachment in the gmail message contains the
> file, uncorrupted.
> 
> I opened a Gmail account 27 feb 2007, and tried to switch from Swedish
> to English to see if it solved the problem. It did not, obviously.
> 
> To recreate the misbehaviour:
> 
> * start from scratch with all gmail messages deleted (obviously, you may
> not want to do this as you may have interesting stuff on your account.
> This is what I did, it is probably not needed to recreate the misbehaviour.)
> 
> *mount the system with
> /sbin/mount.gmailfs  none $mntpnt -o
> username=$username,password=$password,fsname=$fsname
> where I have set the $mntpnt etc. to proper values. (just in case you
> wondered...)
> 
> *create a file:
> cp afile $mntpnt
> 
> *(the file now shows up in an attachment in gmail inbox, not corrupted).
> 
> *try to read the file:
> cat $mntpnt/afile
> 
> Then the following error message arrives on the screen:
> 
> 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
> 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
> cp: läser "gmail/rdfind_osX104_compile_from_source_shortened.txt":
> Ogiltigt argument
> 
> the file was not readable!
> 
> *the file is still ok in gmail inbox.
> 
> I also tried with -e to make it encrypted. It does not work either.
> 
> Some system info:
> uname -a
> Linux voltaire 2.6.18-4-686 #1 SMP Wed Feb 21 16:06:54 UTC 2007 i686
> GNU/Linux
> 
> stat /usr/bin/python
> File: "/usr/bin/python" -> "python2.4"
> 
> dpkg -s python
> Package: python
> Status: install ok installed
> Priority: standard
> Section: python
> Installed-Size: 608
> Maintainer: Matthias Klose <[EMAIL PROTECTED]>
> Architecture: all
> Source: python-defaults
> Version: 2.4.4-2
> 
> fusermount --version
> fusermount version: 2.5.3
> 
> dpkg -s libc6 | grep ^Version
> Version: 2.3.6.ds1-11
> 
> 
> paul sundvall
> 


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

Reply via email to