You are not logged in.
writing seems to be ok (there is some new messages in my incoming which seem to be cointaining a fs).
gmailfs.log
11/12/08 20:33:57 ERROR Exception getting query:subject:i=1226510997
11/12/08 20:34:22 ERROR Exception getting query:subject:i=1226510997
11/12/08 20:35:26 ERROR Error reading file/1
Traceback (most recent call last):
File "/usr/share/gmailfs/gmailfs.py", line 1017, in read
buf = f.read(readlen,offset)
File "/usr/share/gmailfs/gmailfs.py", line 495, in read
outbuf[upto:] = self.readFromGmail((offset+upto)/self.blocksize,0)[readoffset:readoffset+thisread]
File "/usr/share/gmailfs/gmailfs.py", line 533, in readFromGmail
self.lastBlockBuffer = a.content
File "/usr/lib/python2.5/site-packages/libgmail.py", line 1507, in _getContent
attid=self.id, th=self._parent._parent.id))
File "/usr/lib/python2.5/site-packages/libgmail.py", line 358, in _retrievePage
return pageData.decode('utf-8')
File "/usr/lib/python2.6/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x9a in position 0: unexpected code byte
Offline
bump
Offline
It seems if your script thing is referencing python2.5 and python2.6 paths. I don't believe that works well. Try making/installing the program again so it reflects python2.6 paths.
Last edited by pyther (2008-12-13 18:01:04)
Offline
well, I rebuilt libgmail against python 2.6 and enabled loglevel=debug for gmailfs
that's what i get now in gmailfs.log
11/18/08 04:54:24 DEBUG gmailfs.py:Gmailfs:release: /asadas 32768
11/18/08 04:55:30 DEBUG get stat:/asadas
11/18/08 04:55:30 DEBUG inode <gmailfs.GmailInode instance at 0x9a0e56c>
11/18/08 04:55:30 DEBUG statsTuple <gmailfs.GmailStat object at 0x9aa00ec>
11/18/08 04:55:30 DEBUG gmailfs.py:Gmailfs:open: /asadas
11/18/08 04:55:31 DEBUG gmailfs.py:Gmailfs:read: /asadas
11/18/08 04:55:31 DEBUG reading len:4096 offset:0
11/18/08 04:55:31 DEBUG about to try and find inode:1226973203 blocknumber:0
11/18/08 04:55:32 DEBUG got msg with subject:b=1226973203 x=0 q=__g__linux_fs_3__h__
11/18/08 04:55:32 DEBUG got 1 attachments
11/18/08 04:55:32 DEBUG read from gmail:ddasdfasf
11/18/08 04:55:33 DEBUG still to read:0
11/18/08 04:55:33 ERROR Error reading file/asadas
Traceback (most recent call last):
File "/usr/share/gmailfs/gmailfs.py", line 1019, in read
arr.fromlist(buf)
TypeError: array item must be char
11/18/08 04:55:33 DEBUG gmailfs.py:Gmailfs:read: /asadas
11/18/08 04:55:33 DEBUG reading len:4096 offset:0
11/18/08 04:55:33 DEBUG about to try and find inode:1226973203 blocknumber:0
11/18/08 04:55:33 DEBUG still to read:0
11/18/08 04:55:33 ERROR Error reading file/asadas
Traceback (most recent call last):
File "/usr/share/gmailfs/gmailfs.py", line 1019, in read
arr.fromlist(buf)
TypeError: array item must be char
11/18/08 04:55:33 DEBUG gmailfs.py:Gmailfs:release: /asadas 32768
UPD:
found the same questions unanswered
https://bugs.launchpad.net/ubuntu/+sour … bug/272275
https://bugs.launchpad.net/ubuntu/+sour … bug/298883
Last edited by qdiesel (2008-11-18 02:15:19)
Offline
btw, is there someone who have it working?
can anyone write versions of python and other dependencies?
Offline
bump
Offline
i have installed gmailfs from community and it doesn't work for me either. there are some messages in the inbox, but they don't contain anything and the subject seems strange as well. furthermore, there is no logfile in /var/log/. i don't have time to investigate this more for now, but i would still be interested, if someone has it working. btw GMail Drive under windows is working fine...
edit: typos
Last edited by jarda-wien (2009-01-26 14:04:07)
Offline
I'm guessing that there were changes in gmail which broke gmailfs.
You might want to look at dropbox if you need something like gmailfs. https://www.getdropbox.com/login#register
Offline
thanks for the tip, using it already!
Offline
sorry it's my fault
Last edited by rombeh (2009-01-27 11:43:43)
Offline