{"action":"created","issue":{"url":"https://api.github.com/repos/rhinstaller/lorax/issues/102","repository_url":"https://api.github.com/repos/rhinstaller/lorax","labels_url":"https://api.github.com/repos/rhinstaller/lorax/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/rhinstaller/lorax/issues/102/comments","events_url":"https://api.github.com/repos/rhinstaller/lorax/issues/102/events","html_url":"https://github.com/rhinstaller/lorax/issues/102","id":142061429,"number":102,"title":"Unable to build an image using latest code.","user":{"login":"psachin","id":909861,"avatar_url":"https://avatars.githubusercontent.com/u/909861?v=3","gravatar_id":"","url":"https://api.github.com/users/psachin","html_url":"https://github.com/psachin","followers_url":"https://api.github.com/users/psachin/followers","following_url":"https://api.github.com/users/psachin/following{/other_user}","gists_url":"https://api.github.com/users/psachin/gists{/gist_id}","starred_url":"https://api.github.com/users/psachin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psachin/subscriptions","organizations_url":"https://api.github.com/users/psachin/orgs","repos_url":"https://api.github.com/users/psachin/repos","events_url":"https://api.github.com/users/psachin/events{/privacy}","received_events_url":"https://api.github.com/users/psachin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-19T13:25:04Z","updated_at":"2016-03-24T16:46:10Z","closed_at":"2016-03-24T16:46:10Z","body":"I don't know if this is know issue or not,\r\n\r\n`FileNotFoundError: [Errno 2] No such file or directory: '/root/results/images/install.img'`\r\n\r\nMore logs\r\n```\r\n\r\n2016-03-19 18:50:18,745: populating output tree and building boot images\r\npopulating output tree and building boot images\r\n2016-03-19 18:50:18,849: Problem rendering x86.tmpl ({'glob': <function LoraxTemplateRunner.__init__.<locals>.<lambda> at 0x7f45788ffd90>, 'inroot': '/var/tmp/lorax.cgmhvmc1/installroot', 'domacboot': True, 'lower': <function string_lower at 0x7f45788e30d0>, 'udev': <function udev_escape at 0x7f45788e3048>, 'isolabel': 'Fedora-23-x86_64', 'product': {'variant': None, 'isfinal': False, 'name': 'Fedora', 'bugurl': 'your distribution provided bug reporting tool', 'version': '23', 'release': '23'}, 'outroot': '/root/results', 'basearch': 'x86_64', 'libdir': 'lib64', 'kernels': [{'path': 'boot/vmlinuz-4.4.5-300.fc23.x86_64', 'initrd': {'path': 'boot/initramfs-4.4.5-300.fc23.x86_64.img'}, 'version': '4.4.5-300.fc23.x86_64', 'flavor': None, 'arch': 'x86_64'}], 'arch': {'basearch': 'x86_64', 'libdir': 'lib64', 'bcj': 'x86', 'buildarch': 'x86_64'}, 'runtime_img': 'images/install.img', 'exists': <function LoraxTemplateRunner.__init__.<locals>.<lambda> at 0x7f45788ff6a8>, 'workdir': '/var/tmp/lorax.cgmhvmc1', 'runtime_base': 'install.img', 'doupgrade': True}):\r\nProblem rendering x86.tmpl ({'glob': <function LoraxTemplateRunner.__init__.<locals>.<lambda> at 0x7f45788ffd90>, 'inroot': '/var/tmp/lorax.cgmhvmc1/installroot', 'domacboot': True, 'lower': <function string_lower at 0x7f45788e30d0>, 'udev': <function udev_escape at 0x7f45788e3048>, 'isolabel': 'Fedora-23-x86_64', 'product': {'variant': None, 'isfinal': False, 'name': 'Fedora', 'bugurl': 'your distribution provided bug reporting tool', 'version': '23', 'release': '23'}, 'outroot': '/root/results', 'basearch': 'x86_64', 'libdir': 'lib64', 'kernels': [{'path': 'boot/vmlinuz-4.4.5-300.fc23.x86_64', 'initrd': {'path': 'boot/initramfs-4.4.5-300.fc23.x86_64.img'}, 'version': '4.4.5-300.fc23.x86_64', 'flavor': None, 'arch': 'x86_64'}], 'arch': {'basearch': 'x86_64', 'libdir': 'lib64', 'bcj': 'x86', 'buildarch': 'x86_64'}, 'runtime_img': 'images/install.img', 'exists': <function LoraxTemplateRunner.__init__.<locals>.<lambda> at 0x7f45788ff6a8>, 'workdir': '/var/tmp/lorax.cgmhvmc1', 'runtime_base': 'install.img', 'doupgrade': True}):\r\n2016-03-19 18:50:19,052: \r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python3.4/site-packages/pylorax/ltmpl.py\", line 55, in parse\r\n    textbuf = template.render(**variables)\r\n  File \"/usr/lib/python3.4/site-packages/mako/template.py\", line 443, in render\r\n    return runtime._render(self, self.callable_, args, data)\r\n  File \"/usr/lib/python3.4/site-packages/mako/runtime.py\", line 803, in _render\r\n    **_kwargs_for_callable(callable_, data))\r\n  File \"/usr/lib/python3.4/site-packages/mako/runtime.py\", line 835, in _render_context\r\n    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)\r\n  File \"/usr/lib/python3.4/site-packages/mako/runtime.py\", line 860, in _exec_template\r\n    callable_(context, *args, **kwargs)\r\n  File \"/usr/share/lorax/templates.d/99-generic/x86.tmpl\", line 19, in render_body\r\n    <%\r\nFileNotFoundError: [Errno 2] No such file or directory: '/root/results/images/install.img'\r\n\r\n\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python3.4/site-packages/pylorax/ltmpl.py\", line 55, in parse\r\n    textbuf = template.render(**variables)\r\n  File \"/usr/lib/python3.4/site-packages/mako/template.py\", line 443, in render\r\n    return runtime._render(self, self.callable_, args, data)\r\n  File \"/usr/lib/python3.4/site-packages/mako/runtime.py\", line 803, in _render\r\n    **_kwargs_for_callable(callable_, data))\r\n  File \"/usr/lib/python3.4/site-packages/mako/runtime.py\", line 835, in _render_context\r\n    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)\r\n  File \"/usr/lib/python3.4/site-packages/mako/runtime.py\", line 860, in _exec_template\r\n    callable_(context, *args, **kwargs)\r\n  File \"/usr/share/lorax/templates.d/99-generic/x86.tmpl\", line 19, in render_body\r\n    <%\r\nFileNotFoundError: [Errno 2] No such file or directory: '/root/results/images/install.img'\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/sacpatil/github/lorax/src/sbin/lorax\", line 353, in <module>\r\n    main(sys.argv)\r\n  File \"/home/sacpatil/github/lorax/src/sbin/lorax\", line 209, in main\r\n    remove_temp=True, verify=opts.verify)\r\n  File \"/usr/lib/python3.4/site-packages/pylorax/__init__.py\", line 355, in run\r\n    treebuilder.build()\r\n  File \"/usr/lib/python3.4/site-packages/pylorax/treebuilder.py\", line 301, in build\r\n    self._runner.run(templatefile, kernels=self.kernels)\r\n  File \"/usr/lib/python3.4/site-packages/pylorax/ltmpl.py\", line 218, in run\r\n    commands = t.parse(templatefile, variables)\r\n  File \"/usr/lib/python3.4/site-packages/pylorax/ltmpl.py\", line 55, in parse\r\n    textbuf = template.render(**variables)\r\n  File \"/usr/lib/python3.4/site-packages/mako/template.py\", line 443, in render\r\n    return runtime._render(self, self.callable_, args, data)\r\n  File \"/usr/lib/python3.4/site-packages/mako/runtime.py\", line 803, in _render\r\n    **_kwargs_for_callable(callable_, data))\r\n  File \"/usr/lib/python3.4/site-packages/mako/runtime.py\", line 835, in _render_context\r\n    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)\r\n  File \"/usr/lib/python3.4/site-packages/mako/runtime.py\", line 860, in _exec_template\r\n    callable_(context, *args, **kwargs)\r\n  File \"x86_tmpl\", line 46, in render_body\r\nFileNotFoundError: [Errno 2] No such file or directory: '/root/results/images/install.img'\r\n```\r\n\r\nTrying to run\r\n\r\n```\r\nlorax -p Fedora -v 23 -r 23 \\\r\n      -s http://dl.fedoraproject.org/pub/fedora/linux/releases/23/Everything/x86_64/os/ \\\r\n      -s http://dl.fedoraproject.org/pub/fedora/linux/updates/23/x86_64/ \\\r\n      ./results/\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/rhinstaller/lorax/issues/comments/200918835","html_url":"https://github.com/rhinstaller/lorax/issues/102#issuecomment-200918835","issue_url":"https://api.github.com/repos/rhinstaller/lorax/issues/102","id":200918835,"user":{"login":"bcl","id":212092,"avatar_url":"https://avatars.githubusercontent.com/u/212092?v=3","gravatar_id":"","url":"https://api.github.com/users/bcl","html_url":"https://github.com/bcl","followers_url":"https://api.github.com/users/bcl/followers","following_url":"https://api.github.com/users/bcl/following{/other_user}","gists_url":"https://api.github.com/users/bcl/gists{/gist_id}","starred_url":"https://api.github.com/users/bcl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcl/subscriptions","organizations_url":"https://api.github.com/users/bcl/orgs","repos_url":"https://api.github.com/users/bcl/repos","events_url":"https://api.github.com/users/bcl/events{/privacy}","received_events_url":"https://api.github.com/users/bcl/received_events","type":"User","site_admin":false},"created_at":"2016-03-24T16:46:10Z","updated_at":"2016-03-24T16:46:10Z","body":"Fixed by #104"}}