gsync icon indicating copy to clipboard operation
gsync copied to clipboard

I'm getting an Exception

Open Queatz opened this issue 10 years ago • 6 comments

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))

Queatz avatar Mar 21 '14 02:03 Queatz

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 .

plecavalier avatar Mar 21 '14 11:03 plecavalier

Also, did you install gsync from pypi?

https://pypi.python.org/pypi/gsync

iwonbigbro avatar Mar 21 '14 12:03 iwonbigbro

I will follow up pretty soon.

Queatz avatar Apr 01 '14 05:04 Queatz

gsync master repository is now pretty stable again, so you can build and install from that to see if the issue has been fixed.

iwonbigbro avatar Apr 02 '14 23:04 iwonbigbro

Can't get past authentication now. I copy the code in and it just says to do it again.

Queatz avatar Jun 10 '14 08:06 Queatz

:+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:

entrity avatar Jan 09 '16 20:01 entrity