{"action":"created","issue":{"url":"https://api.github.com/repos/conda/conda-build/issues/349","labels_url":"https://api.github.com/repos/conda/conda-build/issues/349/labels{/name}","comments_url":"https://api.github.com/repos/conda/conda-build/issues/349/comments","events_url":"https://api.github.com/repos/conda/conda-build/issues/349/events","html_url":"https://github.com/conda/conda-build/issues/349","id":61191091,"number":349,"title":"Incorrect handling of unicode in git log files","user":{"login":"jochym","id":5993422,"avatar_url":"https://avatars.githubusercontent.com/u/5993422?v=3","gravatar_id":"","url":"https://api.github.com/users/jochym","html_url":"https://github.com/jochym","followers_url":"https://api.github.com/users/jochym/followers","following_url":"https://api.github.com/users/jochym/following{/other_user}","gists_url":"https://api.github.com/users/jochym/gists{/gist_id}","starred_url":"https://api.github.com/users/jochym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jochym/subscriptions","organizations_url":"https://api.github.com/users/jochym/orgs","repos_url":"https://api.github.com/users/jochym/repos","events_url":"https://api.github.com/users/jochym/events{/privacy}","received_events_url":"https://api.github.com/users/jochym/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-03-13T19:12:25Z","updated_at":"2015-09-08T08:50:13Z","closed_at":null,"body":"The binstar build service crashes on UTF git log entries (https://github.com/jochym/Elastic.git):\r\n\r\nThe output from `git log -n1` reads:\r\n\r\n----------------------------------------------\r\ngit log -n1\r\ncommit caf4906ee99fa816a0e14114815d42e7cf6f7d2d\r\nAuthor: Paweł T. Jochym <pawel.jochym@ifj.edu.pl>\r\nDate:   Mon Feb 9 00:53:34 2015 +0100\r\n\r\n    Build number.\r\n\r\n----------------------------------------------\r\n\r\nThe output from conda-build (1.11.0-py27_0):\r\n\r\n--------------------------------------------------\r\n\r\nInitialized empty Git repository in /opt/miniconda/conda-bld/git_cache/__github.com_jochym_Elastic.git/\r\nInitialized empty Git repository in /opt/miniconda/conda-bld/work/.git/\r\n==> git log -n1 <==\r\n\r\nAn unexpected error has occurred, please consider sending the\r\nfollowing traceback to the conda GitHub issue tracker at:\r\n\r\n    https://github.com/conda/conda-build/issues\r\n\r\nInclude the output of the command 'conda info' in your report.\r\n\r\n\r\nTraceback (most recent call last):\r\n  File \"/opt/miniconda/bin/conda-build\", line 5, in <module>\r\n    sys.exit(main())\r\n  File \"/opt/miniconda/lib/python2.7/site-packages/conda_build/main_build.py\", line 112, in main\r\n    args_func(args, p)\r\n  File \"/opt/miniconda/lib/python2.7/site-packages/conda_build/main_build.py\", line 321, in args_func\r\n    args.func(args, p)\r\n  File \"/opt/miniconda/lib/python2.7/site-packages/conda_build/main_build.py\", line 280, in execute\r\n    channel_urls=channel_urls, override_channels=args.override_channels)\r\n  File \"/opt/miniconda/lib/python2.7/site-packages/conda_build/build.py\", line 347, in build\r\n    source.provide(m.path, m.get_section('source'))\r\n  File \"/opt/miniconda/lib/python2.7/site-packages/conda_build/source.py\", line 250, in provide\r\n    git_source(meta, recipe_dir)\r\n  File \"/opt/miniconda/lib/python2.7/site-packages/conda_build/source.py\", line 134, in git_source\r\n    git_info()\r\n  File \"/opt/miniconda/lib/python2.7/site-packages/conda_build/source.py\", line 162, in git_info\r\n    print(stdout + u'\\n')\r\nUnicodeEncodeError: 'ascii' codec can't encode character u'\\u0142' in position 60: ordinal not in range(128)\r\ncommand exited with status 1\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/conda/conda-build/issues/comments/138483079","html_url":"https://github.com/conda/conda-build/issues/349#issuecomment-138483079","issue_url":"https://api.github.com/repos/conda/conda-build/issues/349","id":138483079,"user":{"login":"gdementen","id":832092,"avatar_url":"https://avatars.githubusercontent.com/u/832092?v=3","gravatar_id":"","url":"https://api.github.com/users/gdementen","html_url":"https://github.com/gdementen","followers_url":"https://api.github.com/users/gdementen/followers","following_url":"https://api.github.com/users/gdementen/following{/other_user}","gists_url":"https://api.github.com/users/gdementen/gists{/gist_id}","starred_url":"https://api.github.com/users/gdementen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdementen/subscriptions","organizations_url":"https://api.github.com/users/gdementen/orgs","repos_url":"https://api.github.com/users/gdementen/repos","events_url":"https://api.github.com/users/gdementen/events{/privacy}","received_events_url":"https://api.github.com/users/gdementen/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T08:50:13Z","updated_at":"2015-09-08T08:50:13Z","body":"For the record, this is probably related to #170, #360, #456 (and associated PR #458)  and \r\nhttps://github.com/conda/conda/issues/1486"}}