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

This recipe is failing on Windows+Python2 #3

Closed
ocefpaf opened this issue Mar 25, 2016 · 2 comments · Fixed by #4
Closed

This recipe is failing on Windows+Python2 #3

ocefpaf opened this issue Mar 25, 2016 · 2 comments · Fixed by #4

Comments

@ocefpaf
Copy link
Member

ocefpaf commented Mar 25, 2016

Traceback (most recent call last):
  File "C:\conda\Scripts\conda-build-script.py", line 4, in <module>
    sys.exit(main())
  File "C:\conda\lib\site-packages\conda_build\main_build.py", line 194, in main
    args_func(args, p)
  File "C:\conda\lib\site-packages\conda_build\main_build.py", line 474, in args_func
    args.func(args, p)
  File "C:\conda\lib\site-packages\conda_build\main_build.py", line 423, in execute
    include_recipe=args.include_recipe)
  File "C:\conda\lib\site-packages\conda_build\build.py", line 417, in build
    m.parse_again(permit_undefined_jinja=False)
  File "C:\conda\lib\site-packages\conda_build\metadata.py", line 351, in parse_again
    self.meta = parse(self._get_contents(permit_undefined_jinja))
  File "C:\conda\lib\site-packages\conda_build\metadata.py", line 628, in _get_contents
    env.globals.update(context_processor(self, path))
  File "C:\conda\lib\site-packages\conda_build\jinja_context.py", line 65, in context_processor
    ctx = get_environ(m=initial_metadata)
  File "C:\conda\lib\site-packages\conda_build\environ.py", line 165, in get_dict
    m.get_value('source/git_rev')))
  File "C:\conda\lib\site-packages\conda_build\environ.py", line 64, in get_git_build_info
    remote_details = subprocess.check_output(["git", "remote", "-v"], env=env)
  File "C:\conda\lib\subprocess.py", line 566, in check_output
    process = Popen(stdout=PIPE, *popenargs, **kwargs)
  File "C:\conda\lib\subprocess.py", line 710, in __init__
    errread, errwrite)
  File "C:\conda\lib\subprocess.py", line 958, in _execute_child
    startupinfo)
TypeError: environment can only contain strings
Command exited with code 1
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

Successfully merging a pull request may close this issue.

2 participants