{"action":"opened","issue":{"url":"https://api.github.com/repos/obfuscurity/tasseo/issues/97","labels_url":"https://api.github.com/repos/obfuscurity/tasseo/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/obfuscurity/tasseo/issues/97/comments","events_url":"https://api.github.com/repos/obfuscurity/tasseo/issues/97/events","html_url":"https://github.com/obfuscurity/tasseo/issues/97","id":66694453,"number":97,"title":"Uncaught TypeError: Cannot read property 'points' of undefined","user":{"login":"mauricioabreu","id":1437542,"avatar_url":"https://avatars.githubusercontent.com/u/1437542?v=3","gravatar_id":"","url":"https://api.github.com/users/mauricioabreu","html_url":"https://github.com/mauricioabreu","followers_url":"https://api.github.com/users/mauricioabreu/followers","following_url":"https://api.github.com/users/mauricioabreu/following{/other_user}","gists_url":"https://api.github.com/users/mauricioabreu/gists{/gist_id}","starred_url":"https://api.github.com/users/mauricioabreu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mauricioabreu/subscriptions","organizations_url":"https://api.github.com/users/mauricioabreu/orgs","repos_url":"https://api.github.com/users/mauricioabreu/repos","events_url":"https://api.github.com/users/mauricioabreu/events{/privacy}","received_events_url":"https://api.github.com/users/mauricioabreu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-06T20:10:37Z","updated_at":"2015-04-06T20:10:37Z","closed_at":null,"body":"Hey,\r\n\r\nI am sorry if my report lacks of information.\r\n\r\nI am having this error after starting tasseo running ```foreman start```\r\nI can see this error on Google Chrome console.\r\n\r\nVersions used:\r\nRuby 1.9.2 (same as listed in the documentation)\r\nCentos 6.4 (ruby-devel package and rvm)\r\ncollectd 5.4.x\r\nInfluxDB 0.9\r\n\r\nI am setting INFLUXDB_URL and INFLUXDB_AUTH environment variables pointing to my local machine.\r\n\r\n```\r\nINFLUXDB_URL = http://192.168.33.15:8086/db/test\r\nINFLUXDB_AUTH=test:test\r\n```\r\n\r\nWhy do I need to use ```open``` as described in the docs? \r\n\r\nFollows the code raising the error in the title:\r\n\r\n```javascript\r\n  refreshMetric: function(metric, period) {\r\n    var self = this;\r\n\r\n    $.ajax({\r\n      url: this.urlForMetric(metric, period),\r\n      dataType: 'json',\r\n      error: function(xhr, textStatus, errorThrown) { console.log(errorThrown); },\r\n      success: function(metricResult) {\r\n        var datapoints = metricResult[0].points;\r\n        var newDatapoints = _.map(datapoints, function(datapoint) {\r\n          return { x: datapoint[0], y: datapoint[datapoint.length - 1] } // <--- THIS LINE\r\n        })\r\n        metric.update(newDatapoints)\r\n      }\r\n    })\r\n  },\r\n```\r\nDo you need more info? My InfluxDB and collectd instances are up and running fine.\r\n\r\n"}}