Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create_service command git error #3

Closed
ghost opened this issue Apr 14, 2021 · 0 comments
Closed

create_service command git error #3

ghost opened this issue Apr 14, 2021 · 0 comments

Comments

@ghost
Copy link

ghost commented Apr 14, 2021

after installing fastapi_serviceutils I try running the following command,

create_service -n exampleservice -p 9999 -a "John Doe" -e john.doe@jdmail.com -ep example -o /Documents 

I get the following error message,

tuncovacik@Tuncs-MacBook-Pro ~ % create_service -n exampleservice -p 9999 -a "John Doe" -e john.doe@jdmail.com -ep example -o /Documents 
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.9/bin/create_service", line 8, in <module>
    sys.exit(main())
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/fastapi_serviceutils/cli/create_service.py", line 107, in main
    filepath = clone(
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/cookiecutter/vcs.py", line 101, in clone
    subprocess.check_output(
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 424, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['git', 'clone', 'ssh://git@github.com/skallfass/fastapi_serviceutils_template.git']' returned non-zero exit status 128.

I simply followed up the following guideline
https://fastapi-serviceutils.readthedocs.io/en/latest/exampleservice.html#creating-new-service

could anyone please help resolving this issue?
many thanks

@ghost ghost closed this as completed Apr 22, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants