{"action":"created","issue":{"url":"https://api.github.com/repos/librosa/librosa/issues/505","repository_url":"https://api.github.com/repos/librosa/librosa","labels_url":"https://api.github.com/repos/librosa/librosa/issues/505/labels{/name}","comments_url":"https://api.github.com/repos/librosa/librosa/issues/505/comments","events_url":"https://api.github.com/repos/librosa/librosa/issues/505/events","html_url":"https://github.com/librosa/librosa/issues/505","id":205662784,"number":505,"title":"Support for numpy >=1.12","user":{"login":"bmcfee","id":1190540,"avatar_url":"https://avatars.githubusercontent.com/u/1190540?v=3","gravatar_id":"","url":"https://api.github.com/users/bmcfee","html_url":"https://github.com/bmcfee","followers_url":"https://api.github.com/users/bmcfee/followers","following_url":"https://api.github.com/users/bmcfee/following{/other_user}","gists_url":"https://api.github.com/users/bmcfee/gists{/gist_id}","starred_url":"https://api.github.com/users/bmcfee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmcfee/subscriptions","organizations_url":"https://api.github.com/users/bmcfee/orgs","repos_url":"https://api.github.com/users/bmcfee/repos","events_url":"https://api.github.com/users/bmcfee/events{/privacy}","received_events_url":"https://api.github.com/users/bmcfee/received_events","type":"User","site_admin":false},"labels":[{"id":16995034,"url":"https://api.github.com/repos/librosa/librosa/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":{"login":"bmcfee","id":1190540,"avatar_url":"https://avatars.githubusercontent.com/u/1190540?v=3","gravatar_id":"","url":"https://api.github.com/users/bmcfee","html_url":"https://github.com/bmcfee","followers_url":"https://api.github.com/users/bmcfee/followers","following_url":"https://api.github.com/users/bmcfee/following{/other_user}","gists_url":"https://api.github.com/users/bmcfee/gists{/gist_id}","starred_url":"https://api.github.com/users/bmcfee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmcfee/subscriptions","organizations_url":"https://api.github.com/users/bmcfee/orgs","repos_url":"https://api.github.com/users/bmcfee/repos","events_url":"https://api.github.com/users/bmcfee/events{/privacy}","received_events_url":"https://api.github.com/users/bmcfee/received_events","type":"User","site_admin":false},"assignees":[{"login":"bmcfee","id":1190540,"avatar_url":"https://avatars.githubusercontent.com/u/1190540?v=3","gravatar_id":"","url":"https://api.github.com/users/bmcfee","html_url":"https://github.com/bmcfee","followers_url":"https://api.github.com/users/bmcfee/followers","following_url":"https://api.github.com/users/bmcfee/following{/other_user}","gists_url":"https://api.github.com/users/bmcfee/gists{/gist_id}","starred_url":"https://api.github.com/users/bmcfee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmcfee/subscriptions","organizations_url":"https://api.github.com/users/bmcfee/orgs","repos_url":"https://api.github.com/users/bmcfee/repos","events_url":"https://api.github.com/users/bmcfee/events{/privacy}","received_events_url":"https://api.github.com/users/bmcfee/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-02-06T18:01:44Z","updated_at":"2017-02-10T08:34:22Z","closed_at":null,"body":"It looks like we have some lurking index type errors that crash and burn on systems with numpy 1.12.  This is a result of changes listed [here](https://github.com/numpy/numpy/blob/master/doc/release/1.12.0-notes.rst#deprecationwarning-to-error).\r\n\r\nThis is definitely a bug, and should be fixed ahead of the 0.5 release."},"comment":{"url":"https://api.github.com/repos/librosa/librosa/issues/comments/278886744","html_url":"https://github.com/librosa/librosa/issues/505#issuecomment-278886744","issue_url":"https://api.github.com/repos/librosa/librosa/issues/505","id":278886744,"user":{"login":"jblsmith","id":5400535,"avatar_url":"https://avatars.githubusercontent.com/u/5400535?v=3","gravatar_id":"","url":"https://api.github.com/users/jblsmith","html_url":"https://github.com/jblsmith","followers_url":"https://api.github.com/users/jblsmith/followers","following_url":"https://api.github.com/users/jblsmith/following{/other_user}","gists_url":"https://api.github.com/users/jblsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/jblsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jblsmith/subscriptions","organizations_url":"https://api.github.com/users/jblsmith/orgs","repos_url":"https://api.github.com/users/jblsmith/repos","events_url":"https://api.github.com/users/jblsmith/events{/privacy}","received_events_url":"https://api.github.com/users/jblsmith/received_events","type":"User","site_admin":false},"created_at":"2017-02-10T08:34:22Z","updated_at":"2017-02-10T08:34:22Z","body":"I think I'm getting the same error you report here: a type error arising from an attempt to use a float as an index when trying to run commands like librosa.feature.chroma_cqt. [I got this both via the main version and librosa-0.4.3rc0. I'm not running anaconda.]\r\n\r\nThe problem seems to be that variables like hop_length get cast as floats at some point. I edited my local copy of utils.py, audio.py, and a couple others with the simplest fix—wrapping the offending variables with int()—and the errors went away.\r\n\r\nI didn't initiate a pull request because I don't know if mine is a deep fix (similar errors could persist elsewhere in the same files), and I don't know if my edits pass the sniff test for kludginess!"}}
{"actor":{"display_login":"jblsmith"}}