You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have just updated to 0.1.4 using npm, using Node 0.10.13 and having the issue with both Sphinx 2.0.4 and now 2.0.8. I had been happily using 0.1.3 with Node 0.8.15 and Sphinx 2.0.4.
On performing a query I get the correct result back, however I then get a null response back shortly after.
At the end you can see the data:null line which then crashes Node with the following error
home/ubuntu/releases/20130711011458/node_modules/limestone/limestone.js:591
var new_buffer = new Buffer(this.data.length + data.length);
^
TypeError: Cannot read property 'length' of null
at Object.response_output.append (/home/ubuntu/releases/20130711011458/node_modules/limestone/limestone.js:591$
at Socket.readResponseData (/home/ubuntu/releases/20130711011458/node_modules/limestone/limestone.js:563:26)
at Socket.EventEmitter.emit (events.js:92:17)
at emitReadable_ (_stream_readable.js:408:10)
at emitReadable (_stream_readable.js:404:5)
at Socket.Readable.read (_stream_readable.js:266:5)
at Socket.onSocketEnd (net.js:258:10)
at Socket.EventEmitter.emit (events.js:92:17)
at TCP.onread (net.js:552:10)
I have patched this locally by returning from the readResponseData() function if data is found to be null. Not completely sure what the impact of this is though.
The text was updated successfully, but these errors were encountered:
I have just updated to 0.1.4 using npm, using Node 0.10.13 and having the issue with both Sphinx 2.0.4 and now 2.0.8. I had been happily using 0.1.3 with Node 0.8.15 and Sphinx 2.0.4.
On performing a query I get the correct result back, however I then get a null response back shortly after.
This is my code snippet using async
I also added a logging line on limestone.js at line 560
console.log('data:' + data);
This is log output
At the end you can see the data:null line which then crashes Node with the following error
I have patched this locally by returning from the
readResponseData()
function ifdata
is found to benull
. Not completely sure what the impact of this is though.The text was updated successfully, but these errors were encountered: