Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GmailFS
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
geaaru
n00b
n00b


Joined: 25 Feb 2005
Posts: 73

PostPosted: Wed Oct 26, 2005 12:25 pm    Post subject: Reply with quote

Sorry! But I don't followed more the development of this program because when I tried it I saw that it was more unstable. However, I will see new features more soon possible and eventually I correct ebuild.
Bye
Back to top
View user's profile Send private message
geaaru
n00b
n00b


Joined: 25 Feb 2005
Posts: 73

PostPosted: Thu Oct 27, 2005 12:00 pm    Post subject: Reply with quote

I see that there is on cvs a new version of fuse-python and a new version of libgmail library. This week-end I try to make new ebuild and test if its are stables.
Libgmail v. 0.1.3.3 ( http://sourceforge.net/project/showfiles.php?group_id=113492 )
Fuse-python cvs: version 1.2 ( http://cvs.sourceforge.net/viewcvs.py/fuse/python/#dirlist )
Thanks. Bye!
Back to top
View user's profile Send private message
geaaru
n00b
n00b


Joined: 25 Feb 2005
Posts: 73

PostPosted: Sat Oct 29, 2005 5:17 pm    Post subject: Reply with quote

Fist step: :)

Now there is ebuild for libgmail-0.1.3.3

https://bugs.gentoo.org/show_bug.cgi?id=110803
Back to top
View user's profile Send private message
Poincare
n00b
n00b


Joined: 25 Feb 2006
Posts: 30
Location: This crappy AMD laptop...

PostPosted: Fri Mar 17, 2006 5:57 pm    Post subject: Reply with quote

Hi friends,

I am trying to get gmailfs to run properly and I get an error message when I run it.... See, when I am root I can mount it no problem. But, if I am just my wee old self, this is the error I get:

Code:

/usr/bin $ /sbin/mount.gmailfs  /usr/bin/gmailfs.py /media/gmailfs/
03/17/06 12:51:41 ERROR      Unable to find GMail account configuration
03/17/06 12:51:41 WARNING    Using default file system (Dangerous!)
03/17/06 12:51:41 WARNING    mount: warning, should mount with username=gmailuser option, using default
03/17/06 12:51:41 WARNING    mount: warning, should mount with password=gmailpass option, using default
03/17/06 12:51:41 WARNING    mount: warning, should mount with fsname=name option, using default
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 1130, in main
    server = Gmailfs(mountpoint, **namedOptions)
  File "/usr/bin/gmailfs.py", line 602, in __init__
    self.ga.login()
  File "/usr/lib/python2.4/site-packages/libgmail.py", line 317, in login
    raise GmailLoginFailure("Login failed. (Wrong username/password?)")
libgmail.GmailLoginFailure: 'Login failed. (Wrong username/password?)'
03/17/06 12:51:42 ERROR      gmailfs child died, exiting...
 /usr/bin $


Again, everything works fine as ROOT but when I am just a normal user I can't mount a gmailfs.... I have ~/.gmailfs configured from the /etc/gmailfs.conf so I don't know why it's NOT READING ~/.gmailfs which has the proper username=xxx password=xxxx and fsname=xxxxx.

Sorry, I'm a noob but I really want to get this working. Help please.......
Back to top
View user's profile Send private message
MorLipf
Apprentice
Apprentice


Joined: 09 Nov 2004
Posts: 226
Location: Solingen, Germany

PostPosted: Fri Jun 30, 2006 9:41 am    Post subject: Reply with quote

I get the same error when I try to mount it as root. How can I solve it?
Back to top
View user's profile Send private message
lonegd
Apprentice
Apprentice


Joined: 07 Dec 2003
Posts: 185
Location: UK

PostPosted: Fri Aug 18, 2006 10:59 am    Post subject: Reply with quote

Does this still work? Followed the Gentoo GmailFS install at http://gentoo-wiki.com/HOWTO_GmailFS but I cannot login. Appears to be a libgmail issue? Any ideas?

Code:

# mount -t gmailfs /usr/bin/gmailfs.py /mnt/gmail -o username=myaccount@googlemail.com,password=mypassword,fsname=zOlRRa
Ignored option :rw
08/18/06 11:53:50 ERROR      Unable to find GMail account configuration
08/18/06 11:53:50 WARNING    Using default file system (Dangerous!)
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 1130, in main
    server = Gmailfs(mountpoint, **namedOptions)
  File "/usr/bin/gmailfs.py", line 602, in __init__
    self.ga.login()
  File "/usr/lib/python2.4/site-packages/libgmail.py", line 320, in login
    pageData = self._retrievePage(redirectURL)
  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 356, in open
    req = meth(req)
  File "/usr/lib/python2.4/urllib2.py", line 943, in do_request_
    raise URLError('no host given')
urllib2.URLError: <urlopen error no host given>
08/18/06 11:53:51 ERROR      gmailfs child died, exiting...

_________________
Mark Cooper
http://pvrhw.goldfish.org/ - Open Source PVR Hardware Database
Back to top
View user's profile Send private message
EmperorofUnivrse
n00b
n00b


Joined: 21 Sep 2004
Posts: 58

PostPosted: Wed Aug 23, 2006 12:50 pm    Post subject: Reply with quote

I get (roughly) this error as well. Although, I just used the websites installation instructions for gmailfs since the ebuild didn't work for me. This is something I'd like to get working.
Back to top
View user's profile Send private message
urcindalo
l33t
l33t


Joined: 08 Feb 2005
Posts: 623
Location: Almeria, Spain

PostPosted: Sat Nov 11, 2006 6:04 pm    Post subject: Reply with quote

I just followed the guide in gentoo-wiki and this is the error I get (AMD64):
Code:
Ignored option :rw
11/11/06 19:01:45 ERROR      Unable to find GMail account configuration
11/11/06 19:01:45 WARNING    Using default file system (Dangerous!)
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 1130, in main
    server = Gmailfs(mountpoint, **namedOptions)
  File "/usr/bin/gmailfs.py", line 542, in __init__
    Fuse.__init__(self, mountpoint, **kw)
  File "/usr/lib64/python2.4/site-packages/fuse.py", line 603, in __init__
    self.parser = parserclass(*args, **kw)
  File "/usr/lib64/python2.4/site-packages/fuse.py", line 264, in __init__
    SubbedOptParse.__init__(self, *args, **kw)
  File "/usr/lib64/python2.4/site-packages/fuseparts/subbedopts.py", line 240, in __init__
    OptionParser.__init__(self, *args, **kw)
TypeError: __init__() got an unexpected keyword argument 'username'
11/11/06 19:01:45 ERROR      gmailfs child died, exiting...


Anyone got this working? How?
I travel a lot and this would be really, really useful. What's more, it will show off the Gentoo power ;)

Thanks in advance.
Back to top
View user's profile Send private message
lysergicacid
Guru
Guru


Joined: 25 Nov 2003
Posts: 352
Location: The Universe,Virgo Super Cluster,Milky Way,Earth

PostPosted: Mon Nov 27, 2006 4:07 am    Post subject: Reply with quote

havnig followed the instructions on the wiki and on the authors site & reading these forum posts i get almost same error
Code:
user@unimatrix0 ~ $ /sbin/mount.gmailfs /usr/bin/gmailfs.py /mnt/gmail/
11/27/06 04:03:09 ERROR      Unable to find GMail account configuration
11/27/06 04:03:09 WARNING    Using default file system (Dangerous!)
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 1130, in main
    server = Gmailfs(mountpoint, **namedOptions)
  File "/usr/bin/gmailfs.py", line 542, in __init__
    Fuse.__init__(self, mountpoint, **kw)
  File "/usr/lib/python2.4/site-packages/fuse.py", line 603, in __init__
    self.parser = parserclass(*args, **kw)
  File "/usr/lib/python2.4/site-packages/fuse.py", line 264, in __init__
    SubbedOptParse.__init__(self, *args, **kw)
  File "/usr/lib/python2.4/site-packages/fuseparts/subbedopts.py", line 240, in __init__
    OptionParser.__init__(self, *args, **kw)
TypeError: __init__() got multiple values for keyword argument 'usage'
11/27/06 04:03:10 ERROR      gmailfs child died, exiting...


this something broken in libgmail or something google have done possibly ? anyone got this working lately please ?
_________________
[img]http://valid.canardpc.com/cache/banner/2040927.png[/img]
Desktop:
[img]http://valid.canardpc.com/cache/banner/2703952.png[/img]
Back to top
View user's profile Send private message
ram32
n00b
n00b


Joined: 28 Oct 2006
Posts: 15

PostPosted: Sun Dec 03, 2006 11:34 pm    Post subject: Reply with quote

the same thing... WTF?? :(
Back to top
View user's profile Send private message
dbnex
n00b
n00b


Joined: 04 Jul 2005
Posts: 5

PostPosted: Mon Dec 11, 2006 5:22 am    Post subject: gmailfs Reply with quote

ram32 wrote:
the same thing... WTF?? :(


I have the same problem; mu solution:

- download gmailfs http://richard.jones.name/google-hacks/gmail-filesystem/gmailfs-0.7.2.tar.gz
- untar
- cd gmailfs-0.7.2
- cp gmailfs.py /usr/local/bin/
- cp mount.gmailfs /sbin/
- cp gmailfs.conf /etc/
- vim /etc/gmailfs.conf # change your login and password
- mount -t gmailfs /usr/local/bin/gmailfs.py /mnt/gmailfs/ -o username=loginname,password=yourpass,fsname=fsname

this work in my computer ..

thanks
Back to top
View user's profile Send private message
dbnex
n00b
n00b


Joined: 04 Jul 2005
Posts: 5

PostPosted: Mon Dec 11, 2006 6:02 am    Post subject: gmailfs Reply with quote

ram32 wrote:
the same thing... WTF?? :(


sorry.. I forget this command:

- export FUSE_PYTHON_COMPAT=0.1

thanks
Back to top
View user's profile Send private message
lysergicacid
Guru
Guru


Joined: 25 Nov 2003
Posts: 352
Location: The Universe,Virgo Super Cluster,Milky Way,Earth

PostPosted: Mon Dec 11, 2006 9:17 am    Post subject: Re: gmailfs Reply with quote

dbnex wrote:
ram32 wrote:
the same thing... WTF?? :(


I have the same problem; mu solution:

- download gmailfs http://richard.jones.name/google-hacks/gmail-filesystem/gmailfs-0.7.2.tar.gz
- untar
- cd gmailfs-0.7.2
- cp gmailfs.py /usr/local/bin/
- cp mount.gmailfs /sbin/
- cp gmailfs.conf /etc/
- vim /etc/gmailfs.conf # change your login and password
- mount -t gmailfs /usr/local/bin/gmailfs.py /mnt/gmailfs/ -o username=loginname,password=yourpass,fsname=fsname

this work in my computer ..

thanks


tried that as it says on the howto / wiki and that guys sites instructions this solution does not work for me anyone else still got same problem ?
_________________
[img]http://valid.canardpc.com/cache/banner/2040927.png[/img]
Desktop:
[img]http://valid.canardpc.com/cache/banner/2703952.png[/img]
Back to top
View user's profile Send private message
dbnex
n00b
n00b


Joined: 04 Jul 2005
Posts: 5

PostPosted: Mon Dec 11, 2006 10:37 pm    Post subject: gmailfs Reply with quote

whatis problem??
put your error here..

thanks
Back to top
View user's profile Send private message
EmperorofUnivrse
n00b
n00b


Joined: 21 Sep 2004
Posts: 58

PostPosted: Mon Feb 26, 2007 3:01 am    Post subject: Reply with quote

Something is broken with the configuration parser in /usr/bin/gmailfs.py

If you look through and change the "default" variables in that python script it works fine. I wish this project were better maintained. I know somebody mentioned a fork... I might be able to spare some help if that is still going on.
Back to top
View user's profile Send private message
leguaan
Tux's lil' helper
Tux's lil' helper


Joined: 04 Feb 2005
Posts: 107
Location: Slovakia

PostPosted: Sat Mar 10, 2007 4:38 pm    Post subject: Reply with quote

Anybody can help me?
I followed the howto and when mounting (same output for command line and fstab mounting) I get following:

mount command:
Code:
Vigor12 david # mount -t gmailfs /usr/local/bin/gmailfs.py /mnt/gmailfs -o username=myusername,password=mypassword,fsname=aazzeerrttyy

output:
Quote:
Ignored option :rw
Traceback (most recent call last):
File "/sbin/mount.gmailfs", line 155, in ?
pyfile, mountpoint, namedOptions, useEncfs = parseCommandLineArgs(sys.argv[1:])
File "/sbin/mount.gmailfs", line 67, in parseCommandLineArgs
log.error("file %s doesn't exist, or is not a file" % pyfile)
NameError: global name 'log' is not defined


I'd like to have this working just out of curiosity :) cool thing even if without much practical use for people who have ftp / sftp storage at their disposal...
_________________
Since he could no longer be of any use to me,I left him there on the stones without much regret and whistled down a few vultures which settled down on him in order to guard him. (Kafka)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page Previous  1, 2, 3, 4
Page 4 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum