{"action":"created","issue":{"url":"https://api.github.com/repos/certbot/certbot/issues/3319","repository_url":"https://api.github.com/repos/certbot/certbot","labels_url":"https://api.github.com/repos/certbot/certbot/issues/3319/labels{/name}","comments_url":"https://api.github.com/repos/certbot/certbot/issues/3319/comments","events_url":"https://api.github.com/repos/certbot/certbot/issues/3319/events","html_url":"https://github.com/certbot/certbot/issues/3319","id":167189356,"number":3319,"title":"Certbot apache plugin fails with TypeError: 'NoneType' object has no attribute '__getitem__'","user":{"login":"j4m35","id":6158416,"avatar_url":"https://avatars.githubusercontent.com/u/6158416?v=3","gravatar_id":"","url":"https://api.github.com/users/j4m35","html_url":"https://github.com/j4m35","followers_url":"https://api.github.com/users/j4m35/followers","following_url":"https://api.github.com/users/j4m35/following{/other_user}","gists_url":"https://api.github.com/users/j4m35/gists{/gist_id}","starred_url":"https://api.github.com/users/j4m35/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j4m35/subscriptions","organizations_url":"https://api.github.com/users/j4m35/orgs","repos_url":"https://api.github.com/users/j4m35/repos","events_url":"https://api.github.com/users/j4m35/events{/privacy}","received_events_url":"https://api.github.com/users/j4m35/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/certbot/certbot/labels/apache","name":"apache","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"SwartzCr","id":649860,"avatar_url":"https://avatars.githubusercontent.com/u/649860?v=3","gravatar_id":"","url":"https://api.github.com/users/SwartzCr","html_url":"https://github.com/SwartzCr","followers_url":"https://api.github.com/users/SwartzCr/followers","following_url":"https://api.github.com/users/SwartzCr/following{/other_user}","gists_url":"https://api.github.com/users/SwartzCr/gists{/gist_id}","starred_url":"https://api.github.com/users/SwartzCr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SwartzCr/subscriptions","organizations_url":"https://api.github.com/users/SwartzCr/orgs","repos_url":"https://api.github.com/users/SwartzCr/repos","events_url":"https://api.github.com/users/SwartzCr/events{/privacy}","received_events_url":"https://api.github.com/users/SwartzCr/received_events","type":"User","site_admin":false},"assignees":[{"login":"SwartzCr","id":649860,"avatar_url":"https://avatars.githubusercontent.com/u/649860?v=3","gravatar_id":"","url":"https://api.github.com/users/SwartzCr","html_url":"https://github.com/SwartzCr","followers_url":"https://api.github.com/users/SwartzCr/followers","following_url":"https://api.github.com/users/SwartzCr/following{/other_user}","gists_url":"https://api.github.com/users/SwartzCr/gists{/gist_id}","starred_url":"https://api.github.com/users/SwartzCr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SwartzCr/subscriptions","organizations_url":"https://api.github.com/users/SwartzCr/orgs","repos_url":"https://api.github.com/users/SwartzCr/repos","events_url":"https://api.github.com/users/SwartzCr/events{/privacy}","received_events_url":"https://api.github.com/users/SwartzCr/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/certbot/certbot/milestones/22","html_url":"https://github.com/certbot/certbot/milestones/0.9.0","labels_url":"https://api.github.com/repos/certbot/certbot/milestones/22/labels","id":1805759,"number":22,"title":"0.9.0","description":"Nginx plugin, DNS Challenge support, plus lots of polish and bugfixes","creator":{"login":"bmw","id":6504915,"avatar_url":"https://avatars.githubusercontent.com/u/6504915?v=3","gravatar_id":"","url":"https://api.github.com/users/bmw","html_url":"https://github.com/bmw","followers_url":"https://api.github.com/users/bmw/followers","following_url":"https://api.github.com/users/bmw/following{/other_user}","gists_url":"https://api.github.com/users/bmw/gists{/gist_id}","starred_url":"https://api.github.com/users/bmw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmw/subscriptions","organizations_url":"https://api.github.com/users/bmw/orgs","repos_url":"https://api.github.com/users/bmw/repos","events_url":"https://api.github.com/users/bmw/events{/privacy}","received_events_url":"https://api.github.com/users/bmw/received_events","type":"User","site_admin":false},"open_issues":25,"closed_issues":67,"state":"open","created_at":"2016-06-02T19:22:08Z","updated_at":"2016-07-30T02:11:04Z","due_on":"2016-08-03T07:00:00Z","closed_at":null},"comments":2,"created_at":"2016-07-23T15:36:46Z","updated_at":"2016-07-30T22:39:05Z","closed_at":null,"body":"I've just installed Certbot on my Gentoo system; using the following packages so that the GIT version will be pulled:\r\n```\r\n=app-crypt/certbot-apache-9999\r\n=app-crypt/certbot-9999\r\n=app-crypt/acme-9999\r\n```\r\n\r\nWhen I run certbot:\r\n```\r\n# certbot --apache\r\nAn unexpected error occurred:\r\nTypeError: 'NoneType' object has no attribute '__getitem__'\r\nPlease see the logfiles in /var/log/letsencrypt for more details.\r\n```\r\n\r\nAnd the log is as follows:\r\n```\r\n# cat letsencrypt.log\r\n2016-07-23 15:30:43,953:DEBUG:certbot.main:Root logging level set at 20\r\n2016-07-23 15:30:43,954:INFO:certbot.main:Saving debug log to /var/log/letsencrypt/letsencrypt.log\r\n2016-07-23 15:30:43,962:DEBUG:certbot.main:certbot version: 0.9.0.dev0\r\n2016-07-23 15:30:43,962:DEBUG:certbot.main:Arguments: ['--apache']\r\n2016-07-23 15:30:43,963:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#webroot,PluginEntryPoint#null,PluginEntryPoint#manual,PluginEntryPoint#standalone)\r\n2016-07-23 15:30:43,965:DEBUG:certbot.plugins.selection:Requested authenticator apache and installer apache\r\n2016-07-23 15:30:44,307:DEBUG:certbot.main:Exiting abnormally:\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python-exec/python2.7/certbot\", line 9, in <module>\r\n    load_entry_point('certbot==0.9.0.dev0', 'console_scripts', 'certbot')()\r\n  File \"/usr/lib64/python2.7/site-packages/certbot/main.py\", line 770, in main\r\n    return config.func(config, plugins)\r\n  File \"/usr/lib64/python2.7/site-packages/certbot/main.py\", line 504, in run\r\n    installer, authenticator = plug_sel.choose_configurator_plugins(config, plugins, \"run\")\r\n  File \"/usr/lib64/python2.7/site-packages/certbot/plugins/selection.py\", line 184, in choose_configurator_plugins\r\n    authenticator = installer = pick_configurator(config, req_inst, plugins)\r\n  File \"/usr/lib64/python2.7/site-packages/certbot/plugins/selection.py\", line 24, in pick_configurator\r\n    (interfaces.IAuthenticator, interfaces.IInstaller))\r\n  File \"/usr/lib64/python2.7/site-packages/certbot/plugins/selection.py\", line 76, in pick_plugin\r\n    verified.prepare()\r\n  File \"/usr/lib64/python2.7/site-packages/certbot/plugins/disco.py\", line 219, in prepare\r\n    return [plugin_ep.prepare() for plugin_ep in self._plugins.itervalues()]\r\n  File \"/usr/lib64/python2.7/site-packages/certbot/plugins/disco.py\", line 105, in prepare\r\n    self._initialized.prepare()\r\n  File \"/usr/lib64/python2.7/site-packages/certbot_apache/configurator.py\", line 191, in prepare\r\n    self.vhosts = self.get_virtual_hosts()\r\n  File \"/usr/lib64/python2.7/site-packages/certbot_apache/configurator.py\", line 573, in get_virtual_hosts\r\n    new_vhost = self._create_vhost(path)\r\n  File \"/usr/lib64/python2.7/site-packages/certbot_apache/configurator.py\", line 540, in _create_vhost\r\n    filename = get_file_path(self.aug.get(\"/augeas/files%s/path\" % get_file_path(path)))\r\n  File \"/usr/lib64/python2.7/site-packages/certbot_apache/configurator.py\", line 1805, in get_file_path\r\n    avail_fp = vhost_path[6:]\r\nTypeError: 'NoneType' object has no attribute '__getitem__'\r\n```\r\n\r\nWould appreciate any help in the matter. Thanks."},"comment":{"url":"https://api.github.com/repos/certbot/certbot/issues/comments/236393732","html_url":"https://github.com/certbot/certbot/issues/3319#issuecomment-236393732","issue_url":"https://api.github.com/repos/certbot/certbot/issues/3319","id":236393732,"user":{"login":"titanofold","id":1702740,"avatar_url":"https://avatars.githubusercontent.com/u/1702740?v=3","gravatar_id":"","url":"https://api.github.com/users/titanofold","html_url":"https://github.com/titanofold","followers_url":"https://api.github.com/users/titanofold/followers","following_url":"https://api.github.com/users/titanofold/following{/other_user}","gists_url":"https://api.github.com/users/titanofold/gists{/gist_id}","starred_url":"https://api.github.com/users/titanofold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/titanofold/subscriptions","organizations_url":"https://api.github.com/users/titanofold/orgs","repos_url":"https://api.github.com/users/titanofold/repos","events_url":"https://api.github.com/users/titanofold/events{/privacy}","received_events_url":"https://api.github.com/users/titanofold/received_events","type":"User","site_admin":false},"created_at":"2016-07-30T22:39:05Z","updated_at":"2016-07-30T22:39:05Z","body":"This is affecting me, too. My certs are to expire today, and I can't downgrade to 0.8. (Unless someone can tell me how to downgrade.)"}}
{"actor":{"display_login":"titanofold"}}