question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Blows up when trying to print a long line.

See original GitHub issue
  • I am on the latest Hyper.app version
  • I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: Mac OS Sierra 10.12.3
  • Hyper.app version: 1.3.1.1628
  • Link of a Gist with the contents of your .hyper.js: https://gist.github.com/mruhlin/d099e0dd089c53eb49b1948b114b1267
  • Relevant information from devtools (CMD+ALT+I on Mac OS, CTRL+SHIFT+I elsewhere): “Uncaught TypeError: Cannot read property ‘wcNode’ of undefined” (uh, it’s minified, but the code looks like it’s trying to do something related to splitting the long string into multiple lines.
  • The issue is reproducible in vanilla Hyper.app: Is Vanilla

Issue

I’m working in a ruby cli and printing large objects. At a certain size, the UI just stops printing mid-string and hangs. I’ve tested it out locally just by making big strings, and it appears to be somewhat varied in how big the line is before it blows up.

  • open new hyper window
  • open new ruby console: irb
  • print a string that is made up of 1000 Xs: puts "X" * 1000. This one works
  • print a string that is made up of 10000 Xs puts "X" * 10000. This one breaks. UI appears to hang. Opening developer tools shows the console error “Uncaught TypeError: Cannot read property ‘wcNode’ of undefined”.

Substitute larger numbers if 10000 works for you. In my testing I’ve seen it handle 5000 just fine some times and blow up at 1250 other times.

Note that I am able to echo large lines from bash, cat a long single-line file, etc no problem. So there might be something unique to ruby going on here?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:6

github_iconTop GitHub Comments

8reactions
chaboucommented, May 13, 2017

Reproduced on v1.3.3. I’m reopening it because of your good and simple HTR! And #687 seems to be more a general performance question.

0reactions
chaboucommented, Nov 1, 2017

Thank you for you feedback

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix lines in printout. How to clean a printhead - YouTube
This video is to explain how I unclogged my printers printhead. I kept getting these weird lines in my print or sometimes the...
Read more >
How to Clean an Epson Printhead - LD Products
It's unavoidable that print heads clog over time as small amounts of ink residue dry up and collect in the nozzles.
Read more >
Faint Print - 5 Things That Could Cause Your Printer Problem
Ghosting is a sure sign of a problem with the fuser. Try removing your fuser unit (after unplugging your printer) and check to...
Read more >
Windows 10 - any program crashes/freezes when trying to ...
Symptoms: Any program freezes/craches tryint to print page to Panasonic KX-MB263RU. Tested on Chrome (crash), OpenOffice (freeze), Windows ...
Read more >
Improving Windows Print Spooler stability - PaperCut
Try stopping and starting the Print Spooler service · On your Windows Print Server open services.msc. · Right click on the Print Spooler...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found