{"action":"created","issue":{"url":"https://api.github.com/repos/buildout/buildout/issues/453","repository_url":"https://api.github.com/repos/buildout/buildout","labels_url":"https://api.github.com/repos/buildout/buildout/issues/453/labels{/name}","comments_url":"https://api.github.com/repos/buildout/buildout/issues/453/comments","events_url":"https://api.github.com/repos/buildout/buildout/issues/453/events","html_url":"https://github.com/buildout/buildout/issues/453","id":322158374,"node_id":"MDU6SXNzdWUzMjIxNTgzNzQ=","number":453,"title":"buildout executable path doesn't compare because of lower/upper case on windows","user":{"login":"projekt01","id":1159861,"node_id":"MDQ6VXNlcjExNTk4NjE=","avatar_url":"https://avatars3.githubusercontent.com/u/1159861?v=4","gravatar_id":"","url":"https://api.github.com/users/projekt01","html_url":"https://github.com/projekt01","followers_url":"https://api.github.com/users/projekt01/followers","following_url":"https://api.github.com/users/projekt01/following{/other_user}","gists_url":"https://api.github.com/users/projekt01/gists{/gist_id}","starred_url":"https://api.github.com/users/projekt01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projekt01/subscriptions","organizations_url":"https://api.github.com/users/projekt01/orgs","repos_url":"https://api.github.com/users/projekt01/repos","events_url":"https://api.github.com/users/projekt01/events{/privacy}","received_events_url":"https://api.github.com/users/projekt01/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-11T03:51:31Z","updated_at":"2018-06-19T11:01:52Z","closed_at":null,"author_association":"NONE","body":"Using an executable in [buildout] section ends with an error on windows.\r\n\r\n```\r\n[buildout]\r\nexecutable = C:\\Python27\\python.exe\r\n```\r\n\r\n```\r\nAn internal error occurred due to a bug in either zc.buildout or in a\r\nrecipe being used:\r\nTraceback (most recent call last):\r\n  File \"d:\\home\\.buildout\\eggs\\zc.buildout-2.11.3-py2.7.egg\\zc\\buildout\\buildout.py\", line 2127, in main\r\n    getattr(buildout, command)(args)\r\n  File \"d:\\home\\.buildout\\eggs\\zc.buildout-2.11.3-py2.7.egg\\zc\\buildout\\buildout.py\", line 797, in install\r\n    installed_files = self[part]._call(recipe.install)\r\n  File \"d:\\home\\.buildout\\eggs\\zc.buildout-2.11.3-py2.7.egg\\zc\\buildout\\buildout.py\", line 1557, in _call\r\n    return f()\r\n  File \"d:\\home\\.buildout\\eggs\\p01.recipe.setup-0.8.11-py2.7.egg\\p01\\recipe\\setup\\paste.py\", line 153, in install\r\n    eggs, ws = self.egg.working_set()\r\n  File \"d:\\home\\.buildout\\eggs\\zc.recipe.egg-1.3.2-py2.7.egg\\zc\\recipe\\egg\\egg.py\", line 101, in working_set\r\n    **kw)\r\n  File \"d:\\home\\.buildout\\eggs\\zc.buildout-2.11.3-py2.7.egg\\zc\\buildout\\easy_install.py\", line 915, in install\r\n    assert executable == sys.executable, (executable, sys.executable)\r\nAssertionError: ('C:\\\\Python27\\\\python.exe', 'c:\\\\python27\\\\python.exe')\r\n\r\n```\r\nSolution\r\n---------\r\nAs workarround you can use lowercase path to the executable:\r\n```\r\n[buildout]\r\nexecutable = c:\\python27\\python.exe\r\n```\r\n\r\nRegards\r\nRoger Ineichen"},"comment":{"url":"https://api.github.com/repos/buildout/buildout/issues/comments/398360123","html_url":"https://github.com/buildout/buildout/issues/453#issuecomment-398360123","issue_url":"https://api.github.com/repos/buildout/buildout/issues/453","id":398360123,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODM2MDEyMw==","user":{"login":"reinout","id":121433,"node_id":"MDQ6VXNlcjEyMTQzMw==","avatar_url":"https://avatars0.githubusercontent.com/u/121433?v=4","gravatar_id":"","url":"https://api.github.com/users/reinout","html_url":"https://github.com/reinout","followers_url":"https://api.github.com/users/reinout/followers","following_url":"https://api.github.com/users/reinout/following{/other_user}","gists_url":"https://api.github.com/users/reinout/gists{/gist_id}","starred_url":"https://api.github.com/users/reinout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reinout/subscriptions","organizations_url":"https://api.github.com/users/reinout/orgs","repos_url":"https://api.github.com/users/reinout/repos","events_url":"https://api.github.com/users/reinout/events{/privacy}","received_events_url":"https://api.github.com/users/reinout/received_events","type":"User","site_admin":false},"created_at":"2018-06-19T11:01:52Z","updated_at":"2018-06-19T11:01:52Z","author_association":"CONTRIBUTOR","body":"I looked at the code and I cannot actually find where that `executable` option is used. Apparently it *is*.\r\n\r\nWhere does the error occur? Is it perhaps inside a recipe? Buildout itself only seems to pass `sys.executable`."}}
{"actor":{"display_login":"reinout"}}