Exception in libgsync when trying to sync a directory on 14.04 on ARM.
Python 2.7.6 Ubuntu Trusty 14.04 on armhf (In a crouton chroot on a chromebook) Version: Installed from pip
Issue: After installing (with a deleted ~/.gsync directory) and trying to sync a google drive folder to an empty local directory, I get the following error. This time the released version does in fact put json into my credentials file.
(trusty)user@localhost:/opt/gsync$ sudo pip install gsync Downloading/unpacking gsync Downloading gsync-0.1.14.tar.gz (44kB): 44kB downloaded Running setup.py (path:/tmp/pip_build_root/gsync/setup.py) egg_info for package gsync
Requirement already satisfied (use --upgrade to upgrade): google-api-python-client>=1.2 in /usr/local/lib/python2.7/dist-packages (from gsync) Requirement already satisfied (use --upgrade to upgrade): docopt>=0.6.0 in /usr/local/lib/python2.7/dist-packages (from gsync) Requirement already satisfied (use --upgrade to upgrade): httplib2>=0.8 in /usr/lib/python2.7/dist-packages (from gsync) Requirement already satisfied (use --upgrade to upgrade): oauth2client>=1.1 in /usr/local/lib/python2.7/dist-packages (from gsync) Requirement already satisfied (use --upgrade to upgrade): python-dateutil>=1.5 in /usr/local/lib/python2.7/dist-packages (from gsync) Requirement already satisfied (use --upgrade to upgrade): urllib3>=1.5 in /usr/lib/python2.7/dist-packages (from gsync) Requirement already satisfied (use --upgrade to upgrade): six in /usr/lib/python2.7/dist-packages (from python-dateutil>=1.5->gsync) Installing collected packages: gsync Running setup.py install for gsync changing mode of build/scripts-2.7/gsync from 644 to 755
changing mode of /usr/local/bin/gsync to 755
Successfully installed gsync
Cleaning up...
(trusty)user@localhost:/opt/gsync$ cd ~
(trusty)user@localhost:~$ rm -rf .gsync/
(trusty)user@localhost:~$ gsync --debug --authenticate
Usage:
gsync [options]...
Same here, bit annoying that gsync is trying to swallow tracebacks.
Mine is an RPi running Raspbian, and I get it even when trying to sync a file, not just a directory.
Same issue seen on RasPi running Linux raspbian 3.18.5+ #744 armv6l GNU/Linux . DEBUG: 'Exception': File "/usr/local/lib/python2.7/dist-packages/libgsync/drive/init.py", line 382, in walk names = self.listdir(top) File "/usr/local/lib/python2.7/dist-packages/libgsync/drive/init.py", line 599, in listdir ents = self._query(parentId = str(ent.id)) sent 0 bytes received 0 bytes 0.00 bytes/sec
is there a solution for this issue? i have the same one and cant seem to find a solution
I have the same issue Ubuntu 18.04 LTS DEBUG: 'Exception': File "/usr/local/lib/python2.7/dist-packages/libgsync/drive/init.py", line 382, in walk names = self.listdir(top) File "/usr/local/lib/python2.7/dist-packages/libgsync/drive/init.py", line 599, in listdir ents = self._query(parentId = str(ent.id))
UPDATE: I have tried installing and running gsync from a virtual environment, to no avail. Is this an issue with Python 2.7?