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.

Hello,

svg-term works perfect on my machine with the given 113643 example cast.

There seems to be an issue with new formats. I had to download my new cast in the version 1 syntax as svg-term told me that only version 1 and version 2 syntax are supported.

Watch cast: https://asciinema.org/a/znqFxSzM9CmIJINrmn2IzPX5g Download JSON: https://asciinema.org/a/znqFxSzM9CmIJINrmn2IzPX5g.cast?dl=true

Setup

svg-term: 2.0.3 NodeJS: 8.7.0 NPM: 5.6.0 OS: Ubuntu 17.04

Command

svg-term --in 156579.json --out 156579.svg
svg-term --cast znqFxSzM9CmIJINrmn2IzPX5g --out 156579.svg

Issue

The terminal and sometimes my whole machine is freezing - there is no way to cancle it using CTRL+C. No output is being processed.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
marioneblcommented, Jan 13, 2018

Spent some more time on this. load-asciicast indeed does not enter an infinite loop, it just gets very very slow for certain casts:

cast width height size render time
156787 208 58 29K 145s
156838 112 32 28K 13s
156579 155 43 59K > 300s

What jumped at me is the big dimensions. Forcing down the screen buffer size leads to notable speed increases:

cast width height size render time
156787 80 25 29K 5s
156838 80 25 28K 5s
156579 80 25 59K 11s

I’ll create an issue with asciinema about this. For the time being you can force the screen buffer down via svg-term-cli:

svg-term --cast eUnQPgWgKFVl4WUqinKbX7Qze --out 156787.svg --width=80 --height=25
svg-term --cast znqFxSzM9CmIJINrmn2IzPX5g --out 156579.svg --width=120 --height=25
1reaction
marioneblcommented, Jan 11, 2018

Thanks for reporting, I’ll investigate this over the next days

Read more comments on GitHub >

github_iconTop Results From Across the Web

node freezes · Issue #3884 · nodejs/help - GitHub
Step 3: run the entry file repeatedly until the freeze problem happened, in my computer, about after 1~10 runs, the freeze problem will...
Read more >
DataWorks:Node freezing and unfreezing - Alibaba Cloud
The freeze operation does not take effect on data backfill instances and test instances that are generated before the freeze operation.
Read more >
How can I prevent while loop freeze node.js? - Stack Overflow
Problem: while loop freezes node.js, while generating the result. This app also responsible for REST API and the reason is freezing it too ......
Read more >
My node.js app seems to keep freezing. - Google Groups
My node app seems to freeze (502 error) after a few hours of running. I'm new to node and I've build a simple...
Read more >
Node.js consuming lots of CPU, causing Visual Studio to freeze
But the Node.js process maxes out its core and freezes Visual Studio for about the next 20-30 seconds. To be clear, I didn't...
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