when I run mazer install --namespace yuwzho git+https://....., it fails with
Traceback (most recent call last):
File "/home/yuwzho/.ansible/devel/bin/mazer", line 11, in <module>
load_entry_point('mazer==0.3.0', 'console_scripts', 'mazer')()
File "/home/yuwzho/.ansible/devel/local/lib/python2.7/site-packages/ansible_galaxy_cli/main.py", line 35, in main
exit_code = cli.run()
File "/home/yuwzho/.ansible/devel/local/lib/python2.7/site-packages/ansible_galaxy_cli/cli/galaxy.py", line 208, in run
return self.execute()
File "/home/yuwzho/.ansible/devel/local/lib/python2.7/site-packages/ansible_galaxy_cli/cli/__init__.py", line 150, in execute
return fn()
File "/home/yuwzho/.ansible/devel/local/lib/python2.7/site-packages/ansible_galaxy_cli/cli/galaxy.py", line 272, in execute_install
force_overwrite=self.options.force)
File "/home/yuwzho/.ansible/devel/local/lib/python2.7/site-packages/ansible_galaxy/actions/install.py", line 126, in install_repository_specs_loop
force_overwrite=force_overwrite)
File "/home/yuwzho/.ansible/devel/local/lib/python2.7/site-packages/ansible_galaxy/actions/install.py", line 82, in install_repositories_matching_repository
_specs
force_overwrite=force_overwrite)
File "/home/yuwzho/.ansible/devel/local/lib/python2.7/site-packages/ansible_galaxy/actions/install.py", line 235, in install_repositories
force_overwrite=force_overwrite)
File "/home/yuwzho/.ansible/devel/local/lib/python2.7/site-packages/ansible_galaxy/actions/install.py", line 334, in install_repository
find_results=find_results)
File "/home/yuwzho/.ansible/devel/local/lib/python2.7/site-packages/ansible_galaxy/install.py", line 56, in fetch
fetch_results = fetcher.fetch(find_results=find_results)
File "/home/yuwzho/.ansible/devel/local/lib/python2.7/site-packages/ansible_galaxy/fetch/scm_url.py", line 37, in fetch
version=self.repository_spec.version)
File "/home/yuwzho/.ansible/devel/local/lib/python2.7/site-packages/ansible_galaxy/utils/scm_archive.py", line 60, in scm_archive_content
stderr=devnull, stdout=devnull)
File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
raise child_exception
TypeError: execv() arg 2 must contain only strings
It passes a semver.VersionInfo to execv() now
ISSUE TYPE
Bugfix Pull Request
MAZER VERSION
name = mazer
version = 0.3.0
config_file = /home/yuwzho/.ansible/mazer.yml
uname = Linux, ansible, 4.15.0-1030-azure, #31-Ubuntu SMP Tue Oct 30 18:35:53 UTC 2018, x86_64
executable_location = /home/yuwzho/.ansible/devel/bin/mazer
python_version = 2.7.15rc1 (default, Nov 12 2018, 14:31:15) [GCC 7.3.0]
python_executable = /home/yuwzho/.ansible/devel/bin/python
SUMMARY
when I run
mazer install --namespace yuwzho git+https://.....
, it fails withIt passes a
semver.VersionInfo
toexecv()
nowISSUE TYPE
MAZER VERSION
ADDITIONAL INFORMATION