{"action":"closed","issue":{"url":"https://api.github.com/repos/firehol/netdata/issues/562","repository_url":"https://api.github.com/repos/firehol/netdata","labels_url":"https://api.github.com/repos/firehol/netdata/issues/562/labels{/name}","comments_url":"https://api.github.com/repos/firehol/netdata/issues/562/comments","events_url":"https://api.github.com/repos/firehol/netdata/issues/562/events","html_url":"https://github.com/firehol/netdata/issues/562","id":160658295,"number":562,"title":"Please consider changing hashbang in mysql.chart.py to \"#!/usr/bin/env python3\"","user":{"login":"andrzejc","id":11991081,"avatar_url":"https://avatars.githubusercontent.com/u/11991081?v=3","gravatar_id":"","url":"https://api.github.com/users/andrzejc","html_url":"https://github.com/andrzejc","followers_url":"https://api.github.com/users/andrzejc/followers","following_url":"https://api.github.com/users/andrzejc/following{/other_user}","gists_url":"https://api.github.com/users/andrzejc/gists{/gist_id}","starred_url":"https://api.github.com/users/andrzejc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrzejc/subscriptions","organizations_url":"https://api.github.com/users/andrzejc/orgs","repos_url":"https://api.github.com/users/andrzejc/repos","events_url":"https://api.github.com/users/andrzejc/events{/privacy}","received_events_url":"https://api.github.com/users/andrzejc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2016-06-16T13:12:39Z","updated_at":"2016-06-17T08:38:51Z","closed_at":"2016-06-17T08:38:51Z","body":"Currently the MySQL python plugin has hardcoded path to python3 executable to /usr/bin/python3. There's lots of systems where python3 is installed in alternative location (e.g. /usr/local/bin/python3, /opt/bin/python3 etc.) and the plugin won't work out of the box (with a misleading info in netdata error log that file mysql.chart.py is not found). Changing the hashbang to use env to locate python3 fixes the issue and makes the plugin runnable out-of-the-box for much larger user base."}}
{"actor":{"display_login":"ktsaou"}}