Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 32

Thread: GmailFS how to for Ubuntu 5.10

  1. #21
    Join Date
    Nov 2005
    Beans
    1

    Re: GmailFS how to for Ubuntu 5.10

    Mount it once with this command

    mount.gmailfs "/usr/local/bin/libgmail.py" YOUR/MOUNT/POINT/ -o username=YOUR_ACTUAL_USERNAME,password=YOUR_ACTUAL _PASSWORD,fsname=zOlRRa
    When I try to mount it I get the following message

    bash: mount.gmailfs: command not found

  2. #22
    Join Date
    Oct 2005
    Location
    Poland
    Beans
    1
    Distro
    Ubuntu Breezy 5.10

    Re: GmailFS how to for Ubuntu 5.10

    after type this:

    Code:
    misiek@zlom:/mnt/gmail$ mount.gmailfs "/usr/local/bin/libgmail.py" /mnt/gmail/ -o username=*****,password=******,fsname=zOlRRa
    i have that:
    Code:
    Traceback (most recent call last):
      File "/usr/local/bin/mount.gmailfs", line 155, in ?
        pyfile, mountpoint, namedOptions, useEncfs = parseCommandLineArgs(sys.argv[1:])
      File "/usr/local/bin/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 i must do with this ?;/

  3. #23
    Join Date
    Jan 2006
    Beans
    13

    Re: GmailFS how to for Ubuntu 5.10

    I get:

    Code:
    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/local/bin/gmailfs.py", line 1133, in main
        server.main()
      File "/usr/lib/python2.4/site-packages/fuse.py", line 115, in main
        apply(main, (), d)
    TypeError: argument 21 must be string, not None
    Frustrating errors

  4. #24
    Join Date
    Nov 2005
    Beans
    13

    Re: GmailFS how to for Ubuntu 5.10

    me too, im getting:

    Code:
    Traceback (most recent call last):
      File "/usr/local/bin/mount.gmailfs", line 159, in ?
        import gmailfs
      File "/usr/local/bin/gmailfs.py", line 20, in ?
        from fuse import Fuse
      File "/usr/lib/python2.4/site-packages/fuse.py", line 68
        self.mountpoint = /media/gdrive/

  5. #25
    Join Date
    May 2006
    Beans
    1

    Re: GmailFS how to for Ubuntu 5.10

    I get exactly the same error than misiek2000.
    Code:
    mount.gmailfs "/usr/local/bin/libgmail.py" /media/gmail -o username=******,password=******,fsname=zOlRRa
    Traceback (most recent call last):
      File "/usr/bin/mount.gmailfs", line 153, in ?
        pyfile, mountpoint, odata, useEncfs = parseCommandLineArgs(sys.argv[1:])
      File "/usr/bin/mount.gmailfs", line 66, in parseCommandLineArgs
        log.error("file %s doesn't exist, or is not a file" % pyfile)
    NameError: global name 'log' is not defined
    I'm using Dapper, Fuse seems OK.
    Is there any solution found since April?

  6. #26
    Join Date
    Nov 2005
    Beans
    33

    Re: GmailFS how to for Ubuntu 5.10

    the log error i fixed by moving gmailfs.py to /usr/local/bin/

    or you can look at mount.gmailfs and its like line 8 default_gmailfs_location, modify that to where ever you want gmailfs.py to reside.

    Although, I'm getting the same error as franke:

    Code:
    Traceback (most recent call last):
      File "/usr/bin/mount.gmailfs", line 165, in ?
        main(mountpoint, namedOptions, useEncfs)
      File "/usr/bin/mount.gmailfs", line 91, in main
        gmailfs.main(mountpoint, namedOptions)
      File "/usr/local/bin/gmailfs.py", line 1133, in main
        server.main()
      File "/usr/lib/python2.4/site-packages/fuse.py", line 115, in main
        apply(main, (), d)
    TypeError: argument 21 must be string, not None

  7. #27
    Join Date
    Jun 2006
    Beans
    2

    Re: GmailFS how to for Ubuntu 5.10

    Quote Originally Posted by ZavezPasVu View Post
    I get exactly the same error than misiek2000.
    Code:
    mount.gmailfs "/usr/local/bin/libgmail.py" /media/gmail -o username=******,password=******,fsname=zOlRRa
    Traceback (most recent call last):
      File "/usr/bin/mount.gmailfs", line 153, in ?
        pyfile, mountpoint, odata, useEncfs = parseCommandLineArgs(sys.argv[1:])
      File "/usr/bin/mount.gmailfs", line 66, in parseCommandLineArgs
        log.error("file %s doesn't exist, or is not a file" % pyfile)
    NameError: global name 'log' is not defined
    I'm using Dapper, Fuse seems OK.
    Is there any solution found since April?
    I am also getting this exact error. any help would be appreciated.

  8. #28
    Join Date
    Jul 2005
    Beans
    141
    Distro
    Ubuntu 6.10 Edgy

    Re: GmailFS how to for Ubuntu 5.10

    Quote Originally Posted by proteusdeimos View Post
    I am also getting this exact error. any help would be appreciated.
    I was getting that error to and it was because I was using the wrong path to the file libgmail.py.

    In the command
    Code:
    mount.gmailfs "/usr/local/bin/libgmail.py" /media/gmail -o username=******,password=******,fsname=zOlRRa
    Is /usr/local/bin really where you put libgmail.py? Or did you (like me) put it in /usr/local/bin/libgmail-0.1.4? If you just copied the folder libgmail-0.1.4 to /usr/local/bin, then you did the second. So your mount command should be
    Code:
    mount.gmailfs "/usr/local/bin/libgmail-0.1.4/libgmail.py" /media/gmail -o username=******,password=******,fsname=zOlRRa
    ~Andrew S.

  9. #29
    Join Date
    May 2006
    Location
    Israel
    Beans
    228

    Re: GmailFS how to for Ubuntu 5.10

    Many thanks to Prospero on the procedure to follow, and to Andrew S. for the pointer on correct file address.

    I've gone through this twice by now, removing everything and reinstalling. Realize this is not the cleverest way, but just don't know better yet.

    When I get to the mount.gmailfs command, I always get the following:
    Code:
    Traceback (most recent call last):
      File "/sbin/mount.gmailfs", line 159, in ?
        import gmailfs
    ImportError: No module named gmailfs
    There *is* an /sbin/mount.gmailfs file, and I have no idea what is meant by 'No module named gmailfs"...

    What can I do?

    Thanks,
    Jackn
    Haim Roitgrund

  10. #30
    Join Date
    Jul 2005
    Beans
    22

    Re: GmailFS how to for Ubuntu 5.10

    Hroit,

    You're most likely missing gmailfs.py. I put mine under /usr/local/bin

Page 3 of 4 FirstFirst 1234 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •