Package Details: gdrivefs 0.14.8-2

Git Clone URL: https://aur.archlinux.org/gdrivefs.git (read-only)
Package Base: gdrivefs
Description: A complete FUSE adapter for Google Drive
Upstream URL: https://github.com/dsoprea/GDriveFS
Keywords: drive fuse google
Licenses: GPL2
Submitter: jetm
Maintainer: jetm
Last Packager: jetm
Votes: 21
Popularity: 1.798538
First Submitted: 2015-08-15 15:35
Last Updated: 2016-11-10 19:08

Latest Comments

jetm commented on 2016-11-10 19:13

Bump up new revision gdrivefs 0.14.8-2. Changelog:

- Fix an issue with oauth2client. Thanks to @nagyesz, whom reported and provided the fix.

nagyesz commented on 2016-11-10 12:59

I have the following error:
...
File "/usr/lib/python2.7/site-packages/gdrivefs/gdtool/chunked_download.py", line 22, in ChunkedDownload
@oauth2client.util.positional(4)
AttributeError: 'module' object has no attribute 'util'

Patching chunked_download.py the following way helped:
delete:
import oauth2client
add:
try:
from oauthclient import util
except ImportError:
from oauth2client import _helpers as util

and change @oauth2client.util references to @util

Rumcajs commented on 2016-10-11 07:20

Ok guys i tried this :

sudo gdfstool mount /home/andy/gdfs.creds /mnt/gdrivefs

gdfstool mount /home/andy/gdfs.creds /home/andy/mnt/gdrivefs

sudo gdfs -o rw,nonempty,noatime,allow_other,uid=1000,gid=100,big_writes,default_permissions,default_perm_folder=775,default_perm_file_noneditable=444,default_perm_file_editable=664 /home/andy/gdfs.creds /home/andy/mnt/gdrivefs

Gives me the same error, currently i use the grive aur package, but i like the gdrivefs concept with fuse and mount and i will like to use it, any idea what can cause the problem ? One more thing the file gdfs.creds gets deleted every time i tried to mount the fs, is this a normal behavior ?

Cheers

jevv commented on 2016-10-10 17:06

@Rumcajs, can you try the following command instead?

sudo gdfstool mount <full_path>/gdfs.creds /mnt/gdrivefs

And see if that works? I'm using this command flawlessly:

sudo gdfs -o rw,nonempty,noatime,allow_other,uid=1000,gid=100,big_writes,default_permissions,default_perm_folder=775,default_perm_file_noneditable=444,default_perm_file_editable=664 /var/cache/gdfs/creds/<creds_file> /media/tmp/net/gdrive/<destination_dir>

It might be "~" is not getting interpreted by sudo as you'd expect...

Rumcajs commented on 2016-10-09 11:48

Dont works for me, installed ok, then i follow this instruction : https://github.com/dsoprea/GDriveFS

>sudo gdfstool mount ~/gdfs.creds /mnt/gdrivefs

Traceback (most recent call last):
File "/usr/bin/gdfstool", line 125, in <module>
main()
File "/usr/bin/gdfstool", line 120, in main
_handle_mountpoint(args)
File "/usr/bin/gdfstool", line 72, in _handle_mountpoint
option_string=option_string)
File "/usr/lib/python2.7/site-packages/gdrivefs/gdfs/gdfuse.py", line 863, in mount
gdrivefs.gdtool.account_info.AccountInfo().get_data()
File "/usr/lib/python2.7/site-packages/gdrivefs/gdtool/account_info.py", line 18, in get_data
gd = get_gdrive()
File "/usr/lib/python2.7/site-packages/gdrivefs/gdtool/drive.py", line 802, in get_gdrive
_THREAD_STORAGE.gm = _GdriveManager()
File "/usr/lib/python2.7/site-packages/gdrivefs/gdtool/drive.py", line 178, in __init__
self.__auth = GdriveAuth()
File "/usr/lib/python2.7/site-packages/gdrivefs/gdtool/drive.py", line 114, in __init__
self.__check_authorization()
File "/usr/lib/python2.7/site-packages/gdrivefs/gdtool/drive.py", line 118, in __check_authorization
self.__credentials = self.__authorize.get_credentials()
File "/usr/lib/python2.7/site-packages/gdrivefs/gdtool/oauth_authorize.py", line 115, in get_credentials
return self.__step2_check_auth_cache()
File "/usr/lib/python2.7/site-packages/gdrivefs/gdtool/oauth_authorize.py", line 83, in __step2_check_auth_cache
credentials = pickle.loads(credentials_serialized)
File "/usr/lib/python2.7/pickle.py", line 1388, in loads
return Unpickler(file).load()
File "/usr/lib/python2.7/pickle.py", line 864, in load
dispatch[key](self)
KeyError: '4'

zoe commented on 2016-07-17 07:07

The link of source :
https://github.com/dsoprea/GDriveFS/archive/0.16.6.tar.gz
is dead.