gsync icon indicating copy to clipboard operation
gsync copied to clipboard

gsync --authenticate fails

Open AnilGupte opened this issue 5 years ago • 3 comments

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+

AnilGupte avatar Jun 04 '19 09:06 AnilGupte

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 avatar Aug 28 '19 12:08 matthew-brett

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

matthew-brett avatar Aug 28 '19 12:08 matthew-brett

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

yotsimitsu avatar Jul 05 '22 07:07 yotsimitsu