El 13/01/17 a les 02:13, Vincent Bastos ha escrit:
Hey,

I thought I would try to use the Tryton cookiecutter, but I am getting
the following error:

(tryton38testmodule)*➜  **tryton38testmodule*cookiecutter
https://hg.tryton.org/cookiecutter

Traceback (most recent call last):

  File "/usr/local/bin/cookiecutter", line 11, in <module>

    sys.exit(main())

  File "/Library/Python/2.7/site-packages/click/core.py", line 610, in
__call__

    return self.main(*args, **kwargs)

  File "/Library/Python/2.7/site-packages/click/core.py", line 590, in main

    rv = self.invoke(ctx)

  File "/Library/Python/2.7/site-packages/click/core.py", line 782, in
invoke

    return ctx.invoke(self.callback, **ctx.params)

  File "/Library/Python/2.7/site-packages/click/core.py", line 416, in
invoke

    return callback(*args, **kwargs)

  File "/Library/Python/2.7/site-packages/cookiecutter/cli.py", line 70,
in main

    cookiecutter(template, checkout, no_input)

  File "/Library/Python/2.7/site-packages/cookiecutter/main.py", line
79, in cookiecutter

    no_input=no_input

  File "/Library/Python/2.7/site-packages/cookiecutter/vcs.py", line 97,
in clone

    repo_type, repo_url = identify_repo(repo_url)

  File "/Library/Python/2.7/site-packages/cookiecutter/vcs.py", line 69,
in identify_repo

    raise UnknownRepoType

cookiecutter.exceptions.UnknownRepoType


You should indicate the repo type in the cookiecutter URL. This is explained on their docs:

https://cookiecutter.readthedocs.io/en/latest/usage.html#works-directly-with-git-and-hg-mercurial-repos-too



--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk

--
You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/9b66e0a7-e1ba-8787-9a04-ed3fb1e9ac3e%40koolpi.com.

Reply via email to