[tryton-dev] RFC on duplicate records in calls

2017-01-13 Thread Cédric Krier
Hi,

I would like to have comments on https://bugs.tryton.org/issue6184

I would be in favor of the second options (assert + RPC).

Thanks,
-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

-- 
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/20170113112246.GF29451%40tetsuo.


Re: [tryton-dev] Tryton cookiecutter error

2017-01-13 Thread Cédric Krier
On 2017-01-12 17:13, Vincent Bastos wrote:
> 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

You must use the URL: hg+https://hg.tryton.org/cookiecutter
because cookiecutter does not know the type of repository.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

-- 
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/20170113092047.GC29451%40tetsuo.


Re: [tryton-dev] Tryton cookiecutter error

2017-01-13 Thread Sergi Almacellas Abellana

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 

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.