Crystal03 / google-docs-fs

Automatically exported from code.google.com/p/google-docs-fs
GNU General Public License v2.0
0 stars 0 forks source link

Mount not working on relative paths #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
gmount Google-Docs ...@gmail.com

What is the expected output? What do you see instead?
For it to sucessfully mount the folder.
Instead this happens:

Traceback (most recent call last):
  File "./gFile.py", line 526, in <module>
    main()
  File "./gFile.py", line 521, in main
    gfs.main()
  File "/usr/lib/python2.6/site-packages/fuse.py", line 755, in main
    main(**d)
fuse.FuseError: filesystem initialization failed

What version of the product are you using? On what operating system?
1.0beta4 AUR

Please provide any additional information below.
When I try something such as: gmount ~/Google-Docs it works. This is just a 
minor issue mainly for new users.

Original issue reported on code.google.com by mjbauer95 on 25 Jul 2009 at 5:21

GoogleCodeExporter commented 9 years ago
I've never had that problem and I always use relative path names. Perhaps it's
related to the way AUR installs files? The gmount script that comes in the 
tarball is
different to the gmount script that ends up in /usr/bin. INSTALL.py modifies it 
so
that it can access gFile.py. The gmount script included is so I can test the 
file
system without having to run INSTALL.py after every change.

Could you paste the contents of your /usr/bin/gmount and I'll have a look at it?
Thanks
Scott W

Original comment by d38dm8nw81k1ng@gmail.com on 26 Jul 2009 at 9:37

GoogleCodeExporter commented 9 years ago
#!/bin/sh

## Create the temporary directory 
mkdir -p ~/.google-docs-fs/

## Mount the file system
if [ $# -lt 2 ]
    then
    echo "Usage: gmount [mountpoint] [googlemail] [args]"
    echo "Mounts a Google Docs account onto mountpoint."
    echo "Accepts all FUSE arguments.\n"
    echo "Arguments:"
    echo "\t-d Print debugging output."
    echo "\nPlease report any bugs to http://code.google.com/p/google-docs-fs/issues/list"
else
    cd /usr/share/google-docs-fs
    ./gFile.py $*
fi

Original comment by mjbauer95 on 28 Jul 2009 at 5:02

GoogleCodeExporter commented 9 years ago
I see the problem. tocer has altered the gmount file. Erase the line that says
cd /usr/share/google-docs-fs
and replace
./gFile.py $*
with
/usr/share/google-docs-fs/gFile.py $*

That will solve your problem
Scott W

Original comment by d38dm8nw81k1ng@gmail.com on 28 Jul 2009 at 9:11

GoogleCodeExporter commented 9 years ago

Original comment by d38dm8nw81k1ng@gmail.com on 29 Jul 2009 at 8:58