{"action":"created","issue":{"url":"https://api.github.com/repos/arjunmehta/node-geo-proximity/issues/11","labels_url":"https://api.github.com/repos/arjunmehta/node-geo-proximity/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/arjunmehta/node-geo-proximity/issues/11/comments","events_url":"https://api.github.com/repos/arjunmehta/node-geo-proximity/issues/11/events","html_url":"https://github.com/arjunmehta/node-geo-proximity/issues/11","id":63847701,"number":11,"title":"Cannot read property 'ZRANGEBYSCORE' of undefined","user":{"login":"hems","id":27327,"avatar_url":"https://avatars.githubusercontent.com/u/27327?v=3","gravatar_id":"","url":"https://api.github.com/users/hems","html_url":"https://github.com/hems","followers_url":"https://api.github.com/users/hems/followers","following_url":"https://api.github.com/users/hems/following{/other_user}","gists_url":"https://api.github.com/users/hems/gists{/gist_id}","starred_url":"https://api.github.com/users/hems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hems/subscriptions","organizations_url":"https://api.github.com/users/hems/orgs","repos_url":"https://api.github.com/users/hems/repos","events_url":"https://api.github.com/users/hems/events{/privacy}","received_events_url":"https://api.github.com/users/hems/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-23T22:21:58Z","updated_at":"2015-03-23T22:29:28Z","closed_at":"2015-03-23T22:26:58Z","body":"Any idea on what might be causing the error?\r\n\r\nI'm running redis 2.8.19 on my localhost\r\n\r\n\"add\" and \"find\" are just aliases for the functions your have in your readme file.\r\n\r\n````\r\ncoffee> add 'xxx', 43.6667, -79.4167, ( error, reply ) -> console.log arguments\r\ncoffee> { '0': null, '1': 1 }\r\n\r\ncoffee> find 43.6667, -79.4167, 500, ( error, reply ) -> console.log arguments\r\n/Volumes/backpack/git/oceanelevent/whatever/redis-geo/node_modules/geo-proximity/lib/query.js:91\r\n        multi.ZRANGEBYSCORE(zset, range[0], range[1]);\r\n             ^\r\nTypeError: Cannot read property 'ZRANGEBYSCORE' of undefined\r\n  at buildMultiWithoutValues (/Volumes/backpack/git/oceanelevent/whatever/redis-geo/node_modules/geo-proximity/lib/query.js:91:14)\r\n  at queryByRanges (/Volumes/backpack/git/oceanelevent/whatever/redis-geo/node_modules/geo-proximity/lib/query.js:59:9)\r\n  at Set.nearby (/Volumes/backpack/git/oceanelevent/whatever/redis-geo/node_modules/geo-proximity/main.js:97:5)\r\n  at module.exports (/Volumes/backpack/git/oceanelevent/whatever/redis-geo/src/lib/people/find.coffee:6:13)\r\n  at repl:1:5\r\n  at Object.exports.runInThisContext (vm.js:70:17)\r\n  at REPLServer.replDefaults.eval (/usr/local/Cellar/nvm/0.23.0/v0.11.13/lib/node_modules/coffee-script/lib/coffee-script/repl.js:46:42)\r\n  at bound (domain.js:257:14)\r\n  at REPLServer.runBound [as eval] (domain.js:270:12)\r\n  at repl.js:277:12\r\n  at REPLServer.<anonymous> (/usr/local/Cellar/nvm/0.23.0/v0.11.13/lib/node_modules/coffee-script/lib/coffee-script/repl.js:79:9)\r\n  at REPLServer.EventEmitter.emit (events.js:129:20)\r\n  at REPLServer.Interface._onLine (readline.js:202:10)\r\n  at REPLServer.Interface._line (readline.js:531:8)\r\n  at REPLServer.Interface._ttyWrite (readline.js:812:14)\r\n  at ReadStream.onkeypress (readline.js:101:10)\r\n  at ReadStream.EventEmitter.emit (events.js:129:20)\r\n  at emitKey (readline.js:1149:12)\r\n  at ReadStream.onData (readline.js:892:14)\r\n  at ReadStream.EventEmitter.emit (events.js:107:17)\r\n  at readableAddChunk (_stream_readable.js:159:16)\r\n  at ReadStream.Readable.push (_stream_readable.js:126:10)\r\n  at TTY.onread (net.js:514:20)\r\n````"},"comment":{"url":"https://api.github.com/repos/arjunmehta/node-geo-proximity/issues/comments/85231498","html_url":"https://github.com/arjunmehta/node-geo-proximity/issues/11#issuecomment-85231498","issue_url":"https://api.github.com/repos/arjunmehta/node-geo-proximity/issues/11","id":85231498,"user":{"login":"arjunmehta","id":862049,"avatar_url":"https://avatars.githubusercontent.com/u/862049?v=3","gravatar_id":"","url":"https://api.github.com/users/arjunmehta","html_url":"https://github.com/arjunmehta","followers_url":"https://api.github.com/users/arjunmehta/followers","following_url":"https://api.github.com/users/arjunmehta/following{/other_user}","gists_url":"https://api.github.com/users/arjunmehta/gists{/gist_id}","starred_url":"https://api.github.com/users/arjunmehta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arjunmehta/subscriptions","organizations_url":"https://api.github.com/users/arjunmehta/orgs","repos_url":"https://api.github.com/users/arjunmehta/repos","events_url":"https://api.github.com/users/arjunmehta/events{/privacy}","received_events_url":"https://api.github.com/users/arjunmehta/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T22:29:28Z","updated_at":"2015-03-23T22:29:28Z","body":"Hum, strange that the add method worked though!"}}