gsync
gsync copied to clipboard
I'm getting an Exception
This
gsync drive://NetDisk /media/usb0
Results in this
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))
Just to be certain, check the NetDisk and usb0 exist and that the path is correct. Also check that you can right to usb0 with the user you're running the command as. On Mar 20, 2014 10:18 PM, "Jacob Ferrero" [email protected] wrote:
This gsync drive://NetDisk /media/usb0
Results in this
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))
— Reply to this email directly or view it on GitHubhttps://github.com/iwonbigbro/gsync/issues/45 .
Also, did you install gsync from pypi?
https://pypi.python.org/pypi/gsync
I will follow up pretty soon.
gsync master repository is now pretty stable again, so you can build and install from that to see if the issue has been fixed.
Can't get past authentication now. I copy the code in and it just says to do it again.
:+1: It's a problem for me too.
I've just installed gsync, using pip, following the installation instructions on the README.
When I try $ gsync drive://somepath/in/your/drive ~/some/local/path
(with my paths substituted in), I get the error in the original post. When I try gsync --authenticate
, I actually get a usage complaint. (Apparently, that option is no longer supported.)
me@mymachine:~$ gsync --authenticate
Usage:
gsync [options]... <path> <path>...
I also tried all of this after running sudo pip install --upgrade gsync
When I try with Python3, I get:
File "/usr/local/bin/gsync", line 58
except KeyboardInterrupt, e: