asciinema2gif icon indicating copy to clipboard operation
asciinema2gif copied to clipboard

Gets to the end and hangs

Open tjt263 opened this issue 7 years ago • 7 comments

Gets to here and hangs:

>> Progress: 100%
>> Done!
>> Generating GIF…

tjt263 avatar Mar 31 '17 17:03 tjt263

For how long is it hanging? What was your exact command? Generating the gif can take a long time.

vitorgalvao avatar Mar 31 '17 17:03 vitorgalvao

A looong time. I'll try it again and leave it, and let you know.

tjt263 avatar Apr 01 '17 09:04 tjt263

Try with a short asciicast first. Make the shortest you can find, so it takes the shortest amount of time.

vitorgalvao avatar Apr 01 '17 10:04 vitorgalvao

@vitorgalvao

time ./asciinema2gif -o "~/my.gif" https://asciinema.org/api/asciicasts/cpxdl417nvb65s2we
                                                                         #trimmed to fit^
>> Dimensions: 560x384
>> Preparing window ...
>> Generating screenshots ...
>> Progress: 0%
######################################trimmed to fit#####################################
>> Progress: 100%
>> Done!
>> Generating GIF…

^C
real	873m50.952s
user	1m38.876s
sys	0m53.028s

tjt263 avatar Apr 02 '17 08:04 tjt263

#trimmed to fit^

It doesn’t help if you truncate the URL, as now I can’t try the command myself to diagnose.

vitorgalvao avatar Apr 02 '17 09:04 vitorgalvao

Well, I think you're missing the point of that info. That exact link wasn't particularly relevant. It was a stupid thing. Any substitute will do. It's always the same for me no matter what. It was just one of a dozen different test runs.

I mainly wanted to show you that I was using the correct syntax. And also that it took 873 minutes before I killed it. So that's.. more than 14 hours that I let it run.

Surely, that's not normal?

tjt263 avatar Apr 02 '17 11:04 tjt263

it took 873 minutes

Oh, minutes. I misread that.

What is the version of your:

  • OS
  • asciinema2gif
  • imagemagick
  • gifsicle
  • npm
  • phantomjs

vitorgalvao avatar Apr 02 '17 12:04 vitorgalvao