Did the following:
set("server.telnet",true)
set("init.daemon.pidfile.path","/home/fabio/workspace/liquidsoap/<script>.pid")
set("init.daemon",true)
set("init.daemon.change_user.group","liquidsoap");
set("init.daemon.change_user.user","liquidscript");
src=audio_to_stereo(single("/home/fabio/Desktop/musicas/spots/spot0.ogg"));
out(audio_to_stereo(src))
def finish(str)
shutdown()
"ok!"
end
server.register(namespace="ns",usage="off",description="turn off the
proccess","off",finish);
It worked well. No bugs.
Then i changed telnet to socket, again it went fine.
Change out to output to icecast and it went fine also.
Then i changed the source to:
src=mksafe(playlist(mode="normal","/home/fabio/Desktop/musicas/spots.pls"));
And the error appeared:
2011/09/13 18:36:01 [threads:1] Thread "non-blocking queue #1" aborts with
exception Bad file descriptor in select()!
2011/09/13 18:36:01 [threads:3] Raised by primitive operation at file "",
line 0, characters 0-0
Maybe is my pls file that is causing this.
Em 14 de setembro de 2011 09:28, David Baelde
<[email protected]>escreveu:
2011/9/14 Fábio Costa <[email protected]>:
> > Hi david.
> > The version is 1.0.0-beta3+svn (default@806a14f93060:20110830:053258)
> > I recompiled and the backtrace is the following:
> >
> -----------------------------------------------------------------------------------------------------
> > Thread 2 killed on uncaught exception Unix.Unix_error(3, "select", "")
> > Raised at file "tools/tutils.ml", line 167, characters 39-40
> > Called from file "thread.ml", line 38, characters 8-14
> >
> --------------------------------------------------------------------------------------------------
>
> Thanks for that too. Unfortunately it doesn't help much. It didn't
> occur to me that you also need to recompile duppy with debug info (and
> recompile liquidsoap against the newly compiled duppy). Right now I'm
> not sure how to do that (it seems that duppy's configure's accepts
> --enable-debugging but only applies it to bytecode objects). Let's
> leave this aside for now.
>
> David
>
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users