Not sure if fonctional :/ i got this
cookiecutter.exceptions.RepositoryNotFound: A valid repository for "/usr/lib/python3.6/site-packages/molecule/command/init/../../cookiecutter/role" could not be found in the following locations:
/usr/lib/python3.6/site-packages/molecule/command/init/../../cookiecutter/role
/usr/lib/python3.6/site-packages/molecule/command/init/../../cookiecutter/role
molecule init role -r rpm
--> Initializing new role rpm...
Traceback (most recent call last):
File "/usr/bin/molecule", line 10, in <module>
sys.exit(main())
File "/usr/lib/python3.6/site-packages/click/core.py", line 721, in call
return self.main(args, kwargs)
File "/usr/lib/python3.6/site-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/usr/lib/python3.6/site-packages/click/core.py", line 1065, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3.6/site-packages/click/core.py", line 1065, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3.6/site-packages/click/core.py", line 894, in invoke
return ctx.invoke(self.callback, ctx.params)
File "/usr/lib/python3.6/site-packages/click/core.py", line 534, in invoke
return callback(args, kwargs)
File "/usr/lib/python3.6/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, kwargs)
File "/usr/lib/python3.6/site-packages/molecule/command/init/role.py", line 128, in role
r.execute()
File "/usr/lib/python3.6/site-packages/molecule/command/init/role.py", line 61, in execute
self._process_templates('role', self._command_args, role_directory)
File "/usr/lib/python3.6/site-packages/molecule/command/init/base.py", line 61, in _process_templates
no_input=True,
File "/usr/lib/python3.6/site-packages/cookiecutter/main.py", line 63, in cookiecutter
password=password
File "/usr/lib/python3.6/site-packages/cookiecutter/repository.py", line 122, in determine_repo_dir
'\n'.join(repository_candidates)
cookiecutter.exceptions.RepositoryNotFound: A valid repository for "/usr/lib/python3.6/site-packages/molecule/command/init/../../cookiecutter/role" could not be found in the following locations:
/usr/lib/python3.6/site-packages/molecule/command/init/../../cookiecutter/role
/usr/lib/python3.6/site-packages/molecule/command/init/../../cookiecutter/role
This update has been submitted for testing by wakko666.
This update has been pushed to testing.
Ok for me and necessary for running in fedora 28 because of python 3.6 because of bug Fedora@1575821
Not sure if fonctional :/ i got this cookiecutter.exceptions.RepositoryNotFound: A valid repository for "/usr/lib/python3.6/site-packages/molecule/command/init/../../cookiecutter/role" could not be found in the following locations: /usr/lib/python3.6/site-packages/molecule/command/init/../../cookiecutter/role /usr/lib/python3.6/site-packages/molecule/command/init/../../cookiecutter/role
@yodatak - Can you provide more detail about what you were trying to do when you got that error?
With: sudo dnf --enablerepo=updates-testing install python-molecule
molecule init role -r rpm --> Initializing new role rpm... Traceback (most recent call last): File "/usr/bin/molecule", line 10, in <module> sys.exit(main()) File "/usr/lib/python3.6/site-packages/click/core.py", line 721, in call return self.main(args, kwargs) File "/usr/lib/python3.6/site-packages/click/core.py", line 696, in main rv = self.invoke(ctx) File "/usr/lib/python3.6/site-packages/click/core.py", line 1065, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3.6/site-packages/click/core.py", line 1065, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3.6/site-packages/click/core.py", line 894, in invoke return ctx.invoke(self.callback, ctx.params) File "/usr/lib/python3.6/site-packages/click/core.py", line 534, in invoke return callback(args, kwargs) File "/usr/lib/python3.6/site-packages/click/decorators.py", line 17, in new_func return f(get_current_context(), *args, kwargs) File "/usr/lib/python3.6/site-packages/molecule/command/init/role.py", line 128, in role r.execute() File "/usr/lib/python3.6/site-packages/molecule/command/init/role.py", line 61, in execute self._process_templates('role', self._command_args, role_directory) File "/usr/lib/python3.6/site-packages/molecule/command/init/base.py", line 61, in _process_templates no_input=True, File "/usr/lib/python3.6/site-packages/cookiecutter/main.py", line 63, in cookiecutter password=password File "/usr/lib/python3.6/site-packages/cookiecutter/repository.py", line 122, in determine_repo_dir '\n'.join(repository_candidates) cookiecutter.exceptions.RepositoryNotFound: A valid repository for "/usr/lib/python3.6/site-packages/molecule/command/init/../../cookiecutter/role" could not be found in the following locations: /usr/lib/python3.6/site-packages/molecule/command/init/../../cookiecutter/role /usr/lib/python3.6/site-packages/molecule/command/init/../../cookiecutter/role
Do you also have python3-cookiecutter installed?
Scratch that. I think I see the issue. It looks like the setup.py isn't installing all of the needed files.
I'll get a new build submitted soon.
This update has been unpushed.
This update has been submitted for testing by wakko666.