OrkoHunter / keep

A Meta CLI toolkit : Personal shell command keeper and snippets manager
MIT License
599 stars 54 forks source link

Git push not working #53

Closed dna75 closed 5 years ago

dna75 commented 5 years ago

When I use the Keep Push command I get the following output; Traceback (most recent call last): File "/usr/bin/keep", line 10, in sys.exit(cli()) File "/usr/lib64/python3.4/site-packages/click/core.py", line 764, in call return self.main(*args, **kwargs) File "/usr/lib64/python3.4/site-packages/click/core.py", line 717, in main rv = self.invoke(ctx) File "/usr/lib64/python3.4/site-packages/click/core.py", line 1132, in invoke cmd_name, cmd, args = self.resolve_command(ctx, args) File "/usr/lib64/python3.4/site-packages/click/core.py", line 1171, in resolve_command cmd = self.get_command(ctx, cmd_name) File "/usr/lib/python3.4/site-packages/keep/cli.py", line 59, in get_command None, None, ['cli']) File "/usr/lib/python3.4/site-packages/keep/commands/cmd_push.py", line 17 gist_url = f"https://gist.github.com/{token['gist']}"

Commands.json is created on Github but doesn't contain anything.

rahuliyer95 commented 5 years ago

You need to upgrade your python version. Try using the latest one

OrkoHunter commented 5 years ago

Hi @dna75 ! Please use Python 3.6 or later. The error is because of the use of f-strings.

dna75 commented 5 years ago

Thanks! I forgot to change the version