iwonbigbro / gsync

RSync for Google Drive - GSync
Other
238 stars 50 forks source link

gsync --authenticate fails #106

Open AnilGupte opened 5 years ago

AnilGupte commented 5 years ago

sudo gsync --authenticate

gives this error.

File "/usr/local/bin/gsync", line 58 except KeyboardInterrupt, e: ^ SyntaxError: invalid syntax

Incidentally, or perhaps relevantly, no ~/.gsync directory exists. Environment is Raspbian GNU/Linux 9 (stretch) on Raspberry Pi 3B+

matthew-brett commented 5 years ago

This must be because the code is Python 2, and not adapted for Python 3.

Would you consider running futurize over it? I've had good experience with that.

matthew-brett commented 5 years ago

I'm happy to help with converting to compatibility with Pythons 2 and 3, just let me know.

yotsimitsu commented 2 years ago

Has this ever been solved? I'm getting the same error...