Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-26-2007, 01:24 AM   #1
LQ Newbie
Registered: Mar 2007
Posts: 3

Rep: Reputation: 0
a GmailFS problem

I'm now trying to get GmailFS done on Fedora Core6.
from our forum, I find some relative threads about GmailFS issues, and mine is different with them.

here is what I have done:

I follow the steps one by one which was introduced by drkstr(one of senior member) in his article <GMailFS HOWTO: Guide to Using Your GMail Account as a Linux File System> under the following link:

I download the following packages:
  • fuse-2.6.3(latest version)
  • fuse-python(latest version)
  • libgmail- version)
  • gmailfs-0.7.3(latest version)

and I done exactly like this article, including correctly install all these packages and "modprobe fuse" etc.

since I am using a proxy to get access to the internet, and I found python need another two packages pyOpenSSL and pyOpenSSlProxy to enable its proxy function, so I download the latest pyOpenSSL and pyOpenSSlProxy packages and get them installed correctly.

I think all the needed packages are already installed correctly, but the gmailfs still didn't work.

when I type this:

"mount -t gmailfs /usr/bin/ /mnt/google -o username=***,password=******,fsname=***_gmailfs"

it print the following:

Ignored option :rw
Traceback (most recent call last):
File "/sbin/mount.gmailfs", line 164, in ?
main(mountpoint, namedOptions, useEncfs)
File "/sbin/mount.gmailfs", line 90, in main
gmailfs.main(mountpoint, namedOptions)
File "/usr/bin/", line 1135, in main
server = Gmailfs(mountpoint, **namedOptions)
File "/usr/bin/", line 607, in __init__
File "/usr/lib/python2.4/site-packages/", line 304, in login
pageData = self._retrievePage(req)
File "/usr/lib/python2.4/site-packages/", line 333, in _retrievePage
resp = urllib2.urlopen(req)
File "/usr/lib/python2.4/", line 130, in urlopen
return, data)
File "/usr/lib/python2.4/", line 364, in open
response = meth(req, response)
File "/usr/lib/python2.4/", line 468, in http_response
code, msg, hdrs = response.code, response.msg,
AttributeError: addinfourl instance has no attribute 'code'

and the gmailfs.log shows:

03/26/07 14:04:11 INFO Starting gmailfs in child process (PID 22212)
03/26/07 14:04:11 INFO waiting for /mnt/google/ to become a mountpoint
03/26/07 14:04:11 INFO Mountpoint: None
03/26/07 14:04:11 INFO Unnamed mount options: []
03/26/07 14:04:11 INFO Named mount options: {'password': '********'}
03/26/07 14:04:11 WARNING mount: warning, should mount with username=gmailuser option, using default
03/26/07 14:04:11 WARNING mount: warning, should mount with password=gmailpass option, using default
03/26/07 14:04:11 WARNING mount: warning, should mount with fsname=name option, using default
03/26/07 14:04:12 ERROR gmailfs child died, exiting...

with the above errors, I look into the source code, and find the main error which cause the program to exit is in the, in this script, when want to open a url of gmail, it get a response of nothing, the corresponding code is

"def http_response(self, request, response)
code, msg, hdrs = response.code, response.msg,
if code not in (200, 206):

when comes to the

"code, msg, hdrs = response.code, response.msg,"

the response object returns nothing, maybe it is null, so there is no code, no msg, no info, either.

so I don't know where the error is, is it the url? or the OpenSSLProxy, I didn't figure out yet

anyone have met with a similar problem before ??

I really appreciate anyone's answer, thanks in advance.

here is my computer's corresponding configuration:

python 2.4.3

I use a proxy to get to internet, and I'm sure I can get access to the internet correctly.
Old 03-28-2007, 10:51 PM   #2
LQ Newbie
Registered: Mar 2007
Posts: 3

Original Poster
Rep: Reputation: 0
no one had a similar problem like mine ??
I'm still on it now, and I located the problem to be the http_proxy library

any sugguestions will be really appreciated!
Old 03-28-2007, 10:56 PM   #3
LQ Newbie
Registered: Mar 2007
Posts: 1

Rep: Reputation: 0
Hello Everyone

Anyone can tell me what is the compatable verison of gcvs for redhat ws 4.0


fuse, gmail, gmailfs, openssl

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
GmailFS problem Black Hawk Ubuntu 1 03-19-2007 10:35 AM
gmailFS binary_dreamer Debian 9 08-31-2006 04:10 PM
Help with Gmailfs mdofl1 Linux - Software 1 10-22-2005 10:06 PM
gmailfs juniox Slackware 13 09-18-2005 12:17 PM
Gmailfs zoharPL Debian 4 04-03-2005 03:30 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:44 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration