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: http://www.linuxquestions.org/questi...hlight=GMailFS I download the following packages:
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/gmailfs.py /mnt/google -o username=***@gmail.com,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/gmailfs.py", line 1135, in main server = Gmailfs(mountpoint, **namedOptions) File "/usr/bin/gmailfs.py", line 607, in __init__ self.ga.login() File "/usr/lib/python2.4/site-packages/libgmail.py", line 304, in login pageData = self._retrievePage(req) File "/usr/lib/python2.4/site-packages/libgmail.py", line 333, in _retrievePage resp = urllib2.urlopen(req) File "/usr/lib/python2.4/urllib2.py", line 130, in urlopen return _opener.open(url, data) File "/usr/lib/python2.4/urllib2.py", line 364, in open response = meth(req, response) File "/usr/lib/python2.4/urllib2.py", line 468, in http_response code, msg, hdrs = response.code, response.msg, response.info() 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 urllib2.py, in this script, when libgmail.py 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, response.info() if code not in (200, 206): ..... " when comes to the "code, msg, hdrs = response.code, response.msg, response.info()" 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: FC6 python 2.4.3 fuse-2.6.3 fuse-python libgmail-0.1.5.1 pyOpenSSL-0.6 pyOpenSSLProxy-0.1 gmailfs-0.7.3 I use a proxy to get to internet, and I'm sure I can get access to the internet correctly. |
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! 3x |
Hello Everyone
Anyone can tell me what is the compatable verison of gcvs for redhat ws 4.0 |
All times are GMT -5. The time now is 10:34 PM. |