Tuesday, 20 September 2011

First steps to basex interface

The current state...
velvet:~/basex-node# node test_start_stop.js 
Modified require.paths: /root/basex-node/../,/root/local/node,/root/.node_modules,/root/.node_libraries,/root/local/node/lib/node
Queueing info for next server connection.
Queueing quit for next server connection.
Stream connected 127.0.0.1:1984 fd 6
checking server ready state...
send 127.0.0.1:1984 fd 6: *1
$4
info

net read 127.0.0.1:1984 fd 6: 5109341874956173

events.js:45
        throw arguments[1]; // Unhandled 'error' event
                       ^
Error: basex reply parser error: Error: invalid state unknown type
    at basexReplyParser.execute (/root/basex-node/lib/parser/javascript.js:231:31)
    at BasexClient.on_data (/root/basex-node/index.js:320:27)
    at Socket. (/root/basex-node/index.js:91:14)
    at Socket.emit (events.js:64:17)
    at Socket._onReadable (net.js:678:14)
    at IOWatcher.onReadable [as callback] (net.js:177:10)
    at basexReplyParser. (/root/basex-node/index.js:83:28)
    at basexReplyParser.emit (events.js:64:17)
    at basexReplyParser.parser_error (/root/basex-node/lib/parser/javascript.js:52:10)
    at basexReplyParser.execute (/root/basex-node/lib/parser/javascript.js:231:18)
    at BasexClient.on_data (/root/basex-node/index.js:320:27)
    at Socket. (/root/basex-node/index.js:91:14)
    at Socket.emit (events.js:64:17)
    at Socket._onReadable (net.js:678:14)
    at IOWatcher.onReadable [as callback] (net.js:177:10)

No comments:

Post a Comment