Play doesn't work

49 views
Skip to first unread message

Mitja Pugelj

unread,
Apr 8, 2012, 5:20:31 PM4/8/12
to shelr
Hi guy!

Thanks for another software! However, I am having troubles playing the
recorded file localy. I can push it to the server and play it there,
but local play doesn't work.

If you record the video and exec "shelr play last" nothing happens
(the same if I replace the last with the video ID). I tried to dump
the video and then play it - in this case I get the following error.
Probably I am missing some libraries...

My configuration:
Ubuntu 11.10
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]


Dump:
$ shelr play shelr-record.json
/var/lib/gems/1.8/gems/shelr-0.12.6/lib/shelr/player.rb:21:in `read':
can't convert File into String (TypeError)
from /var/lib/gems/1.8/gems/shelr-0.12.6/lib/shelr/player.rb:21:in
`play_dump'
from /var/lib/gems/1.8/gems/shelr-0.12.6/bin/shelr:56
from /usr/local/bin/shelr:19:in `load'
from /usr/local/bin/shelr:19

Cheers,

Mitja

Anton Vasiljev

unread,
Apr 9, 2012, 12:07:56 AM4/9/12
to sh...@googlegroups.com
Hello!

I can only suggest upgrade to latest version.

sudo apt-get install rubygems
sudo gem install shelr


And Welcome!

Kris

unread,
Apr 13, 2012, 12:25:00 PM4/13/12
to shelr
Same here, on MacOS:

[~/Code/qwerty]$ shelr play
last
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Mitja Pugelj

unread,
Apr 13, 2012, 1:22:23 PM4/13/12
to sh...@googlegroups.com
Anton, thanks.. 
"sudo gem install shelr"  worked!

Sorry for not trying it earlier!

Cheers,
Mitja
--
"Reasonable people adapt themselves to the world.  Unreasonable
people attempt to adapt the world to themselves.  All progress,
therefore, depends on unreasonable people."
-- George Bernard Shaw

Anton Vasiljev

unread,
Apr 13, 2012, 6:50:27 PM4/13/12
to sh...@googlegroups.com
Sorry for this bug, guys. it was regression.
I hope everything works for you now :)

--
http://antono.info/

Sam Tsai

unread,
Apr 17, 2012, 4:18:35 PM4/17/12
to sh...@googlegroups.com
On MacOS you may have to run:
shelr backend ttyrec
If you don't have ttyrec, install it with brew:

Sam Tsai

unread,
Apr 17, 2012, 4:24:20 PM4/17/12
to sh...@googlegroups.com
You might also have to update your PATH:

Also put the scriptreplay script somewhere in your PATH, e.g. /usr/local/bin

curl https://raw.github.com/gist/2343833/0287752171cb045205e88664a32f63bf3a45565f/scriptreplay > /usr/local/bin/scriptreplay
chmod +x /usr/local/bin/scriptreplay

See Dependencies section: https://github.com/antono/shelr

Anton Vasiljev

unread,
Apr 19, 2012, 8:06:32 AM4/19/12
to sh...@googlegroups.com
Right. But we are going to re-implement this player in ruby so this instruction will be obsolete soon.

Anton Vasiljev

unread,
Apr 23, 2012, 7:19:35 AM4/23/12
to sh...@googlegroups.com
We fixed this. shelr play should work now without scriptreplay installed (we reimplemented it in ruby) :)


On Tuesday, April 17, 2012 11:24:20 PM UTC+3, Sam Tsai wrote:

Sam Tsai

unread,
Apr 24, 2012, 9:26:18 AM4/24/12
to sh...@googlegroups.com
Great! I just set up two of my co-workers (both new to shell related scripts/apps/cmds) with shelr without scriptreplay.
Reply all
Reply to author
Forward
0 new messages