{"action":"created","issue":{"url":"https://api.github.com/repos/kivy/kivy-ios/issues/224","repository_url":"https://api.github.com/repos/kivy/kivy-ios","labels_url":"https://api.github.com/repos/kivy/kivy-ios/issues/224/labels{/name}","comments_url":"https://api.github.com/repos/kivy/kivy-ios/issues/224/comments","events_url":"https://api.github.com/repos/kivy/kivy-ios/issues/224/events","html_url":"https://github.com/kivy/kivy-ios/issues/224","id":189585015,"number":224,"title":"Error when install","user":{"login":"Mr-Binary","id":18282328,"avatar_url":"https://avatars.githubusercontent.com/u/18282328?v=3","gravatar_id":"","url":"https://api.github.com/users/Mr-Binary","html_url":"https://github.com/Mr-Binary","followers_url":"https://api.github.com/users/Mr-Binary/followers","following_url":"https://api.github.com/users/Mr-Binary/following{/other_user}","gists_url":"https://api.github.com/users/Mr-Binary/gists{/gist_id}","starred_url":"https://api.github.com/users/Mr-Binary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mr-Binary/subscriptions","organizations_url":"https://api.github.com/users/Mr-Binary/orgs","repos_url":"https://api.github.com/users/Mr-Binary/repos","events_url":"https://api.github.com/users/Mr-Binary/events{/privacy}","received_events_url":"https://api.github.com/users/Mr-Binary/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-16T04:30:08Z","updated_at":"2016-11-22T09:42:24Z","closed_at":null,"body":"After executing ```$ ./toolchain.py build kivy``` , showed the following error, I paste the last part.\r\n\r\n```bash\r\nchecking for /dev/ptmx... yes\r\nchecking for /dev/ptc... no\r\nchecking for %lld and %llu printf() format support... cross -- assuming yes\r\nchecking for %zd printf() format support... cross -- assuming yes\r\nchecking for socklen_t... yes\r\nchecking for build directories... done\r\nconfigure: creating ./config.status\r\nconfig.status: creating Makefile.pre\r\nconfig.status: creating Modules/Setup.config\r\nconfig.status: creating Misc/python.pc\r\nconfig.status: creating Modules/ld_so_aix\r\nconfig.status: creating pyconfig.h\r\ncreating Modules/Setup\r\ncreating Modules/Setup.local\r\ncreating Makefile\r\nTraceback (most recent call last):\r\n  File \"./toolchain.py\", line 1314, in <module>\r\n    ToolchainCL()\r\n  File \"./toolchain.py\", line 1085, in __init__\r\n    getattr(self, args.command)()\r\n  File \"./toolchain.py\", line 1109, in build\r\n    build_recipes(args.recipe, ctx)\r\n  File \"./toolchain.py\", line 977, in build_recipes\r\n    recipe.execute()\r\n  File \"/Users/albertgao/Codes/temp/kivy-ios/toolchain.py\", line 589, in execute\r\n    self.build_all()\r\n  File \"/Users/albertgao/Codes/temp/kivy-ios/toolchain.py\", line 56, in _cache_execution\r\n    f(self, *args, **kwargs)\r\n  File \"/Users/albertgao/Codes/temp/kivy-ios/toolchain.py\", line 676, in build_all\r\n    self.build(arch)\r\n  File \"/Users/albertgao/Codes/temp/kivy-ios/toolchain.py\", line 56, in _cache_execution\r\n    f(self, *args, **kwargs)\r\n  File \"/Users/albertgao/Codes/temp/kivy-ios/toolchain.py\", line 663, in build\r\n    self.build_arch(arch)\r\n  File \"/Users/albertgao/Codes/temp/kivy-ios/recipes/python/__init__.py\", line 55, in build_arch\r\n    self._patch_pyconfig()\r\n  File \"/Users/albertgao/Codes/temp/kivy-ios/recipes/python/__init__.py\", line 111, in _patch_pyconfig\r\n    fd.writelines(lines)\r\nTypeError: a bytes-like object is required, not 'str'\r\n```\r\n\r\nHow to solve this, please?\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/39269605-error-when-install?utm_campaign=plugin&utm_content=tracker%2F9081&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F9081&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/kivy/kivy-ios/issues/comments/262193054","html_url":"https://github.com/kivy/kivy-ios/issues/224#issuecomment-262193054","issue_url":"https://api.github.com/repos/kivy/kivy-ios/issues/224","id":262193054,"user":{"login":"Zen-CODE","id":3539755,"avatar_url":"https://avatars.githubusercontent.com/u/3539755?v=3","gravatar_id":"","url":"https://api.github.com/users/Zen-CODE","html_url":"https://github.com/Zen-CODE","followers_url":"https://api.github.com/users/Zen-CODE/followers","following_url":"https://api.github.com/users/Zen-CODE/following{/other_user}","gists_url":"https://api.github.com/users/Zen-CODE/gists{/gist_id}","starred_url":"https://api.github.com/users/Zen-CODE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zen-CODE/subscriptions","organizations_url":"https://api.github.com/users/Zen-CODE/orgs","repos_url":"https://api.github.com/users/Zen-CODE/repos","events_url":"https://api.github.com/users/Zen-CODE/events{/privacy}","received_events_url":"https://api.github.com/users/Zen-CODE/received_events","type":"User","site_admin":false},"created_at":"2016-11-22T09:42:24Z","updated_at":"2016-11-22T09:42:24Z","body":"Which folder with rm -rf? Only your app folder won't do it because these are other files pulled from the kivy-ios folders."}}
{"actor":{"display_login":"Zen-CODE"}}