{"action":"created","issue":{"url":"https://api.github.com/repos/passiomatic/coldsweat/issues/87","labels_url":"https://api.github.com/repos/passiomatic/coldsweat/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/passiomatic/coldsweat/issues/87/comments","events_url":"https://api.github.com/repos/passiomatic/coldsweat/issues/87/events","html_url":"https://github.com/passiomatic/coldsweat/issues/87","id":71072357,"number":87,"title":"python sweat.py upgrade fail","user":{"login":"vaz-ar","id":3344540,"avatar_url":"https://avatars.githubusercontent.com/u/3344540?v=3","gravatar_id":"","url":"https://api.github.com/users/vaz-ar","html_url":"https://github.com/vaz-ar","followers_url":"https://api.github.com/users/vaz-ar/followers","following_url":"https://api.github.com/users/vaz-ar/following{/other_user}","gists_url":"https://api.github.com/users/vaz-ar/gists{/gist_id}","starred_url":"https://api.github.com/users/vaz-ar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vaz-ar/subscriptions","organizations_url":"https://api.github.com/users/vaz-ar/orgs","repos_url":"https://api.github.com/users/vaz-ar/repos","events_url":"https://api.github.com/users/vaz-ar/events{/privacy}","received_events_url":"https://api.github.com/users/vaz-ar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-26T14:02:31Z","updated_at":"2015-04-26T14:10:16Z","closed_at":"2015-04-26T14:08:54Z","body":"Hi,\r\nI tried upgrading from 0.9.4 to 0.9.5 and got this error when I tried to run `python sweat.py upgrade` :\r\n```\r\nTraceback (most recent call last):\r\n  File \"sweat.py\", line 9, in <module>\r\n    from coldsweat.commands import run\r\n  File \"/home/coldsweat/coldsweat/__init__.py\", line 45, in <module>\r\n    config = load_config(os.path.join(installation_dir, 'etc/config'))\r\n  File \"/home/coldsweat/coldsweat/config.py\", line 58, in load_config\r\n    for k, v in parser.items(section)\r\n  File \"/usr/lib/python2.7/ConfigParser.py\", line 655, in items\r\n    for option in options]\r\n  File \"/usr/lib/python2.7/ConfigParser.py\", line 691, in _interpolate\r\n    self._interpolate_some(option, L, rawval, section, vars, 1)\r\n  File \"/usr/lib/python2.7/ConfigParser.py\", line 723, in _interpolate_some\r\n    option, section, rest, var)\r\nConfigParser.InterpolationMissingOptionError: Bad value substitution:\r\n        section: [log]\r\n        option : format\r\n        key    : asctime\r\n        rawval : ] %(process)d %(levelname)s %(message)s\r\n```"},"comment":{"url":"https://api.github.com/repos/passiomatic/coldsweat/issues/comments/96387504","html_url":"https://github.com/passiomatic/coldsweat/issues/87#issuecomment-96387504","issue_url":"https://api.github.com/repos/passiomatic/coldsweat/issues/87","id":96387504,"user":{"login":"passiomatic","id":56371,"avatar_url":"https://avatars.githubusercontent.com/u/56371?v=3","gravatar_id":"","url":"https://api.github.com/users/passiomatic","html_url":"https://github.com/passiomatic","followers_url":"https://api.github.com/users/passiomatic/followers","following_url":"https://api.github.com/users/passiomatic/following{/other_user}","gists_url":"https://api.github.com/users/passiomatic/gists{/gist_id}","starred_url":"https://api.github.com/users/passiomatic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/passiomatic/subscriptions","organizations_url":"https://api.github.com/users/passiomatic/orgs","repos_url":"https://api.github.com/users/passiomatic/repos","events_url":"https://api.github.com/users/passiomatic/events{/privacy}","received_events_url":"https://api.github.com/users/passiomatic/received_events","type":"User","site_admin":false},"created_at":"2015-04-26T14:10:16Z","updated_at":"2015-04-26T14:10:16Z","body":"Yes, I've forgotten to document that specific change to config file. For the record new [log] section has only two sections: \r\n\r\n```\r\n; Values are: DEBUG (more verbose), INFO, WARNING, ERROR, CRITICAL (less verbose)\r\n;level: INFO\r\n\r\n; Comment to avoid logging to a file altogether\r\nfilename: coldsweat.log\r\n```"}}