asciinema-edit icon indicating copy to clipboard operation
asciinema-edit copied to clipboard

failed to transform cast: couldn't find initial frame

Open christopher-dG opened this issue 5 years ago • 2 comments

[ ~ ] asciinema rec mwe.cast
asciinema: recording asciicast to mwe.cast
asciinema: press <ctrl-d> or type "exit" when you're done
[ ~ ] # hello, world
[ ~ ] # this is an example for a bug report
[ ~ ] # goodbye
[ ~ ]
asciinema: recording finished
asciinema: asciicast saved to mwe.cast
[ ~ ] ~/.go/bin/asciinema-edit cut --start=1.1 --end=2.2 mwe.cast
failed to transform cast: couldn't find initial frame
 x [ ~ ] asciinema cat mwe.cast
[ ~ ] # hello, world
[ ~ ] # this is an example for a bug report
[ ~ ] # goodbye
[ ~ ]
[ ~ ] asciinema --version
asciinema 2.0.1
[ ~ ] ~/.go/bin/asciinema-edit -v
asciinema-edit version dev - HEAD

(asciinema-edit installed via go get today)

christopher-dG avatar Oct 12 '18 21:10 christopher-dG

This issue still seems to be present in the latest release.

pjvds avatar Jul 11 '19 15:07 pjvds

It looks like you need to be exact when specifying the "timestamp" values for the cut.

robertoaloi avatar Dec 29 '19 15:12 robertoaloi