Skip to content

Don't know how to decode strings from CombinedBuffer #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jakewins opened this issue Oct 15, 2015 · 0 comments
Closed

Don't know how to decode strings from CombinedBuffer #2

jakewins opened this issue Oct 15, 2015 · 0 comments

Comments

@jakewins
Copy link
Contributor

Just to record this somewhere, this popped up when playing with the driver today, I guess we need to sort out being able to decode utf-8 when it's split into chunks;

Error: Don't know how to decode strings from `CombinedBuffer( position=6 )
  b1 71 91 b3 4e 89 6e 6f 64 65 2f 32 36 38 31 91 86 54 49 43 4b 45 54 a1 82 69 64 c9 00 9c `.
    at Object.decode (/Users/jake/Code/neo4j-javascript-driver/build/node/internal/utf8.js:37:17)
    at Unpacker.unpack (/Users/jake/Code/neo4j-javascript-driver/build/node/internal/packstream.js:366:34)
    at node (/Users/jake/Code/neo4j-javascript-driver/build/node/internal/connector.js:132:54)
    at Unpacker.unpackStruct (/Users/jake/Code/neo4j-javascript-driver/build/node/internal/packstream.js:305:16)
    at Unpacker.unpack (/Users/jake/Code/neo4j-javascript-driver/build/node/internal/packstream.js:372:21)
    at Unpacker.unpackList (/Users/jake/Code/neo4j-javascript-driver/build/node/internal/packstream.js:285:25)
    at Unpacker.unpack (/Users/jake/Code/neo4j-javascript-driver/build/node/internal/packstream.js:368:21)
    at Unpacker.unpackStruct (/Users/jake/Code/neo4j-javascript-driver/build/node/internal/packstream.js:309:34)
    at Unpacker.unpack (/Users/jake/Code/neo4j-javascript-driver/build/node/internal/packstream.js:372:21)
    at Dechunker.Connection._dechunker.onmessage (/Users/jake/Code/neo4j-javascript-driver/build/node/internal/connector.js:250:42)
    at Dechunker._onHeader (/Users/jake/Code/neo4j-javascript-driver/build/node/internal/chunking.js:214:14)
    at Dechunker.AWAITING_CHUNK (/Users/jake/Code/neo4j-javascript-driver/build/node/internal/chunking.js:163:21)
lutovich added a commit to lutovich/neo4j-javascript-driver that referenced this issue Sep 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant