LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
LinkBack Search this Thread
Old 03-26-2007, 01:24 AM   #1
shriny
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:
http://www.linuxquestions.org/questi...hlight=GMailFS

I download the following packages:
  • fuse-2.6.3(latest version)
  • fuse-python(latest version)
  • libgmail-0.1.5.1(latest 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/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.
 
Old 03-28-2007, 10:51 PM   #2
shriny
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!
3x
 
Old 03-28-2007, 10:56 PM   #3
canonuser
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
 
  


Reply

Tags
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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 10:42 PM.

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