Hi Frenando,

This is indeed correct, there is no way to compare sources. Not sure what
we can do from the language point of view for now but, if you need to
compare sources, you can always use their name via the source.id operator.

Romain

2016-04-16 14:44 GMT-05:00 Fernando Carmona <[email protected]>:

> Hi,
>
> Working on a script, I've come across a crash when trying to remove an
> element with format (Integer, Source) from a list. Following the trace, it
> seems like there's no way to compare two Sources, and that's what's causing
> the error. The trace in question is the following:
>
> 2016/04/16 21:21:32 [pr_channel:3] Connecting mount ch1 for
> source@localhost...
> 2016/04/16 21:21:32 [decoder:3] Method "MAD" accepted
> "/home/tracks/llll_1993.mp3".
> 2016/04/16 21:21:32 [decoder:3] Method "MAD" accepted "audio/mpeg".
> 2016/04/16 21:21:32 [threads:3] Created thread "harbor source feeding" (2
> total).
> 2016/04/16 21:21:32 [pr_channel:3] Connection setup was successful.
> 2016/04/16 21:21:32 [threads:2] Queue generic queue #1 crashed with
> exception File "lang/lang_builtins.ml", line 557, characters 11-17:
> Assertion failed
> 2016/04/16 21:21:32 [threads:2] Raised at file "tools/tutils.ml", line
> 85, characters 54-55
> Called from file "lang/lang_builtins.ml", line 1235, characters 32-65
> Called from file "duppy.ml", line 131, characters 61-77
> Called from file "duppy.ml", line 253, characters 14-23
> Called from file "duppy.ml", line 280, characters 9-26
> Called from file "tools/tutils.ml", line 207, characters 19-55
>
> 2016/04/16 21:21:32 [threads:1] PANIC: Liquidsoap has crashed, exiting..
> 2016/04/16 21:21:32 [threads:1] Please report at:
> [email protected]
>
> The error itself is quite easy to avoid, but I just wanted to bring
> attention on it in case it hasn't been reported. Hope it helps!
>
>
> ------------------------------------------------------------------------------
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
>
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to