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'm getting this error when trying to print a (rather large) variable. After the error, trying to run other lines gives a checkmark but no actual output.
Atom Version: 1.11.2 Electron Version: 0.37.8 System: Mac OS X 10.10.5 Thrown From: Hydrogen package, v0.15.0
Stack Trace
Uncaught Error: toString failed
At events.js:154
Error: toString failed
at Buffer.toString (buffer.js:490:11)
at toJSON (/Users/dnowacki/.atom/packages/Hydrogen/node_modules/jmp/index.js:225:33)
at Function.Message._decode (/Users/dnowacki/.atom/packages/Hydrogen/node_modules/jmp/index.js:217:18)
at Socket.<anonymous> (/Users/dnowacki/.atom/packages/Hydrogen/node_modules/jmp/index.js:330:35)
at emitMany (events.js:121:13)
at Socket.emit (events.js:195:7)
at Socket._flushRead (/Users/dnowacki/.atom/packages/Hydrogen/node_modules/zmq/lib/index.js:638:15)
at Socket._flushReads (/Users/dnowacki/.atom/packages/Hydrogen/node_modules/zmq/lib/index.js:676:23)
at _zmq.onReadReady (/Users/dnowacki/.atom/packages/Hydrogen/node_modules/zmq/lib/index.js:297:10)
The text was updated successfully, but these errors were encountered:
At the moment, I'm inclined to work around this issue by wrapping the body of Message::_decode in a try-catch block and return null if an exception of this kind is thrown.
* Workaround for Buffer.toString failure caused by exceeding the maximum
supported length in V8.
* See issue nodejs/node#4266
and PR nodejs/node#4394Fixes#22
See nteract/hydrogen#491 and nodejs/node#4394
I'm getting this error when trying to
print
a (rather large) variable. After the error, trying to run other lines gives a checkmark but no actual output.Atom Version: 1.11.2
Electron Version: 0.37.8
System: Mac OS X 10.10.5
Thrown From: Hydrogen package, v0.15.0
Stack Trace
Uncaught Error: toString failed
The text was updated successfully, but these errors were encountered: