{"action":"created","issue":{"url":"https://api.github.com/repos/bundlewrap/bundlewrap/issues/271","repository_url":"https://api.github.com/repos/bundlewrap/bundlewrap","labels_url":"https://api.github.com/repos/bundlewrap/bundlewrap/issues/271/labels{/name}","comments_url":"https://api.github.com/repos/bundlewrap/bundlewrap/issues/271/comments","events_url":"https://api.github.com/repos/bundlewrap/bundlewrap/issues/271/events","html_url":"https://github.com/bundlewrap/bundlewrap/issues/271","id":170907473,"number":271,"title":"svc_systemd throws exception when the service is in failed state","user":{"login":"ettoredn","id":739903,"avatar_url":"https://avatars.githubusercontent.com/u/739903?v=3","gravatar_id":"","url":"https://api.github.com/users/ettoredn","html_url":"https://github.com/ettoredn","followers_url":"https://api.github.com/users/ettoredn/followers","following_url":"https://api.github.com/users/ettoredn/following{/other_user}","gists_url":"https://api.github.com/users/ettoredn/gists{/gist_id}","starred_url":"https://api.github.com/users/ettoredn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ettoredn/subscriptions","organizations_url":"https://api.github.com/users/ettoredn/orgs","repos_url":"https://api.github.com/users/ettoredn/repos","events_url":"https://api.github.com/users/ettoredn/events{/privacy}","received_events_url":"https://api.github.com/users/ettoredn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-12T16:18:12Z","updated_at":"2016-12-23T01:04:27Z","closed_at":"2016-12-23T01:04:26Z","body":"I'm using 2.7.1 and experiencing the following problem with svc_systemd:\n\n```\nsvc_systemd = {\n    'php7.0-fpm': {},\n}\n```\n\nresults in the following when php7.0-fpm is in failed state:\n\n```\n# bw apply\n[..]\nTraceback (most recent call last):\n  File \"/Library/Python/2.7/site-packages/bundlewrap/cmdline/__init__.py\", line 66, in wrapper\n    return f(*args, **kwargs)\n  File \"/Library/Python/2.7/site-packages/bundlewrap/cmdline/__init__.py\", line 155, in main\n    for line in output:\n  File \"/Library/Python/2.7/site-packages/bundlewrap/cmdline/apply.py\", line 80, in bw_apply\n    worker_pool.run()\n  File \"/Library/Python/2.7/site-packages/bundlewrap/concurrency.py\", line 150, in run\n    traceback = \"\".join(format_tb(exc.__traceback__))\n  File \"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/traceback.py\", line 76, in format_tb\n    return format_list(extract_tb(tb, limit))\n  File \"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/traceback.py\", line 95, in extract_tb\n    f = tb.tb_frame\nAttributeError: 'list' object has no attribute 'tb_frame'\n```\n\nService php7.0-fpm status\n\n```\n#  systemctl status php7.0-fpm\n● php7.0-fpm.service - The PHP 7.0 FastCGI Process Manager\n   Loaded: loaded (/lib/systemd/system/php7.0-fpm.service; enabled)\n   Active: failed (Result: exit-code) since Fri 2016-08-12 18:15:06 CEST; 1min 53s ago\n     Docs: man:php-fpm7.0(8)\n  Process: 19403 ExecStart=/usr/sbin/php-fpm7.0 --nodaemonize --fpm-config /etc/php/7.0/fpm/php-fpm.conf (code=exited, status=78)\n Main PID: 19403 (code=exited, status=78)\n```\n\nIf I remove the svc_systemd entry, everything works fine.\n"},"comment":{"url":"https://api.github.com/repos/bundlewrap/bundlewrap/issues/comments/268923778","html_url":"https://github.com/bundlewrap/bundlewrap/issues/271#issuecomment-268923778","issue_url":"https://api.github.com/repos/bundlewrap/bundlewrap/issues/271","id":268923778,"user":{"login":"trehn","id":28724,"avatar_url":"https://avatars.githubusercontent.com/u/28724?v=3","gravatar_id":"","url":"https://api.github.com/users/trehn","html_url":"https://github.com/trehn","followers_url":"https://api.github.com/users/trehn/followers","following_url":"https://api.github.com/users/trehn/following{/other_user}","gists_url":"https://api.github.com/users/trehn/gists{/gist_id}","starred_url":"https://api.github.com/users/trehn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trehn/subscriptions","organizations_url":"https://api.github.com/users/trehn/orgs","repos_url":"https://api.github.com/users/trehn/repos","events_url":"https://api.github.com/users/trehn/events{/privacy}","received_events_url":"https://api.github.com/users/trehn/received_events","type":"User","site_admin":false},"created_at":"2016-12-23T01:04:26Z","updated_at":"2016-12-23T01:04:26Z","body":"can't reproduce, closing until real exception is reported"}}
{"actor":{"display_login":"trehn"}}