You are not logged in.

#1 2009-08-15 19:15:34

absolutevoid
Member
From: Keralam, India
Registered: 2009-08-12
Posts: 78
Website

Gmail FS

I tried to setup GMailFS and when given the mount command, the error message comes as follows:

Ignored option :rw
Ignored option :noauto
Traceback (most recent call last):
  File "/sbin/mount.gmailfs", line 155, in <module>
    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

What should i do now? please guide me.


Everything void is absolute and everything absolute is void.

Offline

#2 2009-08-15 20:02:46

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Gmail FS

Hello absolutevoid!

Which command did you give out ?

Offline

#3 2009-08-16 04:36:25

absolutevoid
Member
From: Keralam, India
Registered: 2009-08-12
Posts: 78
Website

Re: Gmail FS

In fstab, I created a new entry and set /mnt/G as the mount point. (I had already created the folder G in /mnt)

usr/local/bin/gmailfs.py /mnt/G gmailfs noauto,username=********,password=*******,fsname=*******

(in the above code, the file system type is given gmailfs. I had also tried it with giving the fsname, I had assigned. But then, the error was like there is no such filesystem)

In rc.conf, I entered fuse in modules

MODULES=( b43 fuse !snd_pcsp !pcspkr )

In /etc/gmailfs.conf, I had entered the values

username=*********** 
password=***********

fsname=**********

reference=myfsname:myusername:mypassword

Then in command line as root, I had issued the command: modprobe fuse
and then: mount /mnt/G

and got the error message, I had pasted atop.


Everything void is absolute and everything absolute is void.

Offline

#4 2009-08-16 06:43:14

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Gmail FS

Did you add the user to the fuse group ?
Did you try so ? -> /usr/bin/mount.gmailfs /mnt/gmailfs gmailfs noauto,user 0 0

Or can you try so ? ->
1 - Copy your original "/etc/gmailfs.conf" to your user's home directory "~".
2 - Rename it to ".gmailfs.conf" and edit it so that it reflects the user's gmail account credentials. Please find a very hard to gess "fsname"
3 - Lock your gmailfs.conf chmod 600 /home/%USER%/gmailfs.conf
4 - Add a "credentials=" option to your fstab
/usr/bin/mount.gmailfs /mnt/gmailfs gmailfs credentials=/home/%USER%/.gmailfs.conf,noauto,user 0 0

Or as root from command line ?
mount -t gmailfs /usr/bin/gmailfs.py /mountpoint -o username=gmailuser,password=gmailpass,fsname=zOlRRa

Or as normal user?
/sbin/mount.gmailfs /usr/bin/gmailfs.py ~/gmail/

Offline

#5 2009-08-16 10:51:16

absolutevoid
Member
From: Keralam, India
Registered: 2009-08-12
Posts: 78
Website

Re: Gmail FS

Tried all of them. nothing worked.


Everything void is absolute and everything absolute is void.

Offline

#6 2009-08-16 18:44:28

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Gmail FS

What were the error messages ?

Offline

#7 2009-08-16 20:13:04

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

Re: Gmail FS

GMailFS has been broken since Python 2.6 came out.

Offline

#8 2009-08-17 12:15:05

absolutevoid
Member
From: Keralam, India
Registered: 2009-08-12
Posts: 78
Website

Re: Gmail FS

@djszapi Error messages were the same: I had pasted it atop.

@Wintervenom Hmm. So there is not hope. Anyway, thank you for letting me know it. I would uninstall it.


Everything void is absolute and everything absolute is void.

Offline

Board footer

Powered by FluxBB