[campcaster-support] Scheduler crashes when schedule starts
  • Hi!

    Few days ago I installed Campcaster development environment on a Ubuntu
    8.04 box.Everything went fine with the installation and campcaster was
    up and running in no time.So I logged in via the web UI (which is what
    we need for the station) and created a test schedule for the next
    hours.I also run the scheduler (using the command /make start/), checked
    that is running (make status) and waited for a couple of minutes for the
    schedule to start.When the time came, the playlist did not play at all,
    it wasn't a "no sound" problem, the player in the UI showed still OFF
    AIR and nothing was playing on the playlist.After that I checked again
    for the scheduler and this time it had stopped.I tried several times and
    what seems to happen is that when it is time for a playlist to play, the
    scheduler stops running.Any ideas what might be going wrong?
  • 4 Comments sorted by
  • Hi,There could be several reasons for the scheduler not running. The first and most likely is that its sound card is not correctly assigned. You can check this in the development environment version here:.campcaster/campcaster-scheduler.xmland look for the setting that describes the sound card, changing it to the correct address.Another possibility is that the sound files are problematic in some way. Check your sound files to make sure they play correctly in another app.Try those and let me know if either of them described your situation. Can you describe your system in a little more detail, i.e. the type of system, type of sound card, etc.?Hope this helps,douglas-----campcaster-support-bounces@lists.campware.org wrote: -----To: campcaster-support@lists.campware.orgFrom: Paris <paris8105@gmail.com>Sent by: campcaster-support-bounces@lists.campware.orgDate: 11/29/2009 10:10AMSubject: [campcaster-support] Scheduler crashes when schedule startsHi!Few days ago I installed Campcaster development environment on a Ubuntu8.04 box.Everything went fine with the installation and campcaster wasup and running in no time.So I logged in via the web UI (which is whatwe need for the station) and created a test schedule for the nexthours.I also run the scheduler (using the command /make start/), checkedthat is running (make status) and waited for a couple of minutes for theschedule to start.When the time came, the playlist did not play at all,it wasn't a "no sound" problem, the player in the UI showed still OFFAIR and nothing was playing on the playlist.After that I checked againfor the scheduler and this time it had stopped.I tried several times andwhat seems to happen is that when it is time for a playlist to play, thescheduler stops running.Any ideas what might be going wrong?
  • Any other app plays audio files correctly.There is only one sound card
    on the system, which is onboard:

    **** List of CAPTURE Hardware Devices ****
    card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
    Subdevices: 1/2
    Subdevice #0: subdevice #0
    Subdevice #1: subdevice #1

    In the campcaster-scheduler.xml the sound card is decribed as :
    audioDevice="default"


    Douglas.Arellanes@mdlf.org wrote:
    > Hi,
    >
    > There could be several reasons for the scheduler not running. The
    > first and most likely is that its sound card is not correctly
    > assigned. You can check this in the development environment version here:
    >
    > .campcaster/campcaster-scheduler.xml
    >
    > and look for the setting that describes the sound card, changing it to
    > the correct address.
    >
    > Another possibility is that the sound files are problematic in some
    > way. Check your sound files to make sure they play correctly in
    > another app.
    >
    > Try those and let me know if either of them described your situation.
    > Can you describe your system in a little more detail, i.e. the type of
    > system, type of sound card, etc.?
    >
    > Hope this helps,
    >
    > douglas
    > -----campcaster-support-bounces@lists.campware.org wrote: -----
    >
    > To: campcaster-support@lists.campware.org
    > From: Paris
    > Sent by: campcaster-support-bounces@lists.campware.org
    > Date: 11/29/2009 10:10AM
    > Subject: [campcaster-support] Scheduler crashes when schedule starts
    >
    > Hi!
    >
    > Few days ago I installed Campcaster development environment on a
    > Ubuntu
    > 8.04 box.Everything went fine with the installation and campcaster was
    > up and running in no time.So I logged in via the web UI (which is what
    > we need for the station) and created a test schedule for the next
    > hours.I also run the scheduler (using the command /make start/),
    > checked
    > that is running (make status) and waited for a couple of minutes
    > for the
    > schedule to start.When the time came, the playlist did not play at
    > all,
    > it wasn't a "no sound" problem, the player in the UI showed still OFF
    > AIR and nothing was playing on the playlist.After that I checked again
    > for the scheduler and this time it had stopped.I tried several
    > times and
    > what seems to happen is that when it is time for a playlist to
    > play, the
    > scheduler stops running.Any ideas what might be going wrong?
    >
    >
    >
  • OK, and there are no other error messages in the terminal, both when you start the scheduler with 'make run' and when it is supposed to play a playlist? What does the output look like when it crashes?douglas-----campcaster-support-bounces@lists.campware.org wrote: -----To: Support mailing list for the Campcaster software project <campcaster-support@lists.campware.org>From: Paris <paris8105@gmail.com>Sent by: campcaster-support-bounces@lists.campware.orgDate: 11/29/2009 12:06PMSubject: Re: [campcaster-support] Scheduler crashes when schedule startsAny other app plays audio files correctly.There is only one sound cardon the system, which is onboard:**** List of CAPTURE Hardware Devices ****card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]  Subdevices: 1/2  Subdevice #0: subdevice #0  Subdevice #1: subdevice #1In the campcaster-scheduler.xml the sound card is decribed as : audioDevice="default"Douglas.Arellanes@mdlf.org wrote:> Hi,>> There could be several reasons for the scheduler not running. The> first and most likely is that its sound card is not correctly> assigned. You can check this in the development environment version here:>> .campcaster/campcaster-scheduler.xml>> and look for the setting that describes the sound card, changing it to> the correct address.>> Another possibility is that the sound files are problematic in some> way. Check your sound files to make sure they play correctly in> another app.>> Try those and let me know if either of them described your situation.> Can you describe your system in a little more detail, i.e. the type of> system, type of sound card, etc.?>> Hope this helps,>> douglas> -----campcaster-support-bounces@lists.campware.org wrote: ----->>     To: campcaster-support@lists.campware.org>     From: Paris <paris8105@gmail.com>>     Sent by: campcaster-support-bounces@lists.campware.org>     Date: 11/29/2009 10:10AM>     Subject: [campcaster-support] Scheduler crashes when schedule starts>>     Hi!>>     Few days ago I installed Campcaster development environment on a>     Ubuntu>     8.04 box.Everything went fine with the installation and campcaster was>     up and running in no time.So I logged in via the web UI (which is what>     we need for the station) and created a test schedule for the next>     hours.I also run the scheduler (using the command /make start/),>     checked>     that is running (make status) and waited for a couple of minutes>     for the>     schedule to start.When the time came, the playlist did not play at>     all,>     it wasn't a "no sound" problem, the player in the UI showed still OFF>     AIR and nothing was playing on the playlist.After that I checked again>     for the scheduler and this time it had stopped.I tried several>     times and>     what seems to happen is that when it is time for a playlist to>     play, the>     scheduler stops running.Any ideas what might be going wrong?>>>
  • This is the output of the scheduler :

    make -C ./src/products/scheduler start
    make[1]: Entering directory
    `/home/radio/src/campcaster/src/products/scheduler'
    ./bin/campcaster-scheduler_devenv.sh start
    Starting the Campcaster scheduler...
    using config file '/home/radio/.campcaster/campcaster-scheduler.xml'
    [GstreamerPlayer] [virtual void
    LiveSupport::PlaylistExecutor::GstreamerPlayer::configure(const xmlpp::$
    [GstreamerPlayer] [virtual void
    LiveSupport::PlaylistExecutor::GstreamerPlayer::initialize()]
    sleep 2
    make[1]: Leaving directory
    `/home/radio/src/campcaster/src/products/scheduler'
    [SchedulerThread] ::signal() - [2009-Nov-29 20:51:25.706111]
    [SchedulerThread] ::getNextEvent() - nextInitTime: 2009-Nov-29 20:52:49
    [SchedulerThread] - nextEventTime: 2009-Nov-29 20:53:00
    [SchedulerThread] - nextEventEnd: 2009-Nov-29 20:53:47
    [SchedulerThread] ::nextStep() - Init [2009-Nov-29 20:52:48.306051]
    [Scheduler] BEGIN: virtual void
    LiveSupport::PlaylistExecutor::GstreamerPlayer::preload(std::string)
    [Scheduler] END__: virtual void
    LiveSupport::PlaylistExecutor::GstreamerPlayer::preload(std::string) - $
    [SchedulerThread] ::nextStep() - Start [2009-Nov-29 20:53:00.000017]
    [Scheduler] BEGIN: virtual void
    LiveSupport::Scheduler::PlaylistEvent::start(boost::shared_ptr [Scheduler] BEGIN: virtual bool
    LiveSupport::PlaylistExecutor::GstreamerPlayer::open(std::string, gin$
    [GstreamerPlayer] Opening URL:
    file:///home/radio/src/campcaster/usr/tmp/campcasterSchedulerSt$
    [GstreamerPlayer] Timestamp: 2009-Nov-29 20:53:00.000162

    and this is the output of the make status command after the scheduled
    playlist :

    make[1]: Entering directory
    `/home/radio/src/campcaster/src/products/scheduler'
    ./bin/campcaster-scheduler_devenv.sh status
    Checking Campcaster scheduler status...
    using config file '/home/radio/.campcaster/campcaster-scheduler.xml'
    [GstreamerPlayer] [virtual void
    LiveSupport::PlaylistExecutor::GstreamerPlayer::configure(const
    xmlpp::Element&)]
    The Scheduler Daemon is not running
    make[1]: Leaving directory
    `/home/radio/src/campcaster/src/products/scheduler'



    Douglas.Arellanes@mdlf.org wrote:
    > OK, and there are no other error messages in the terminal, both when
    > you start the scheduler with 'make run' and when it is supposed to
    > play a playlist? What does the output look like when it crashes?
    >
    >
    > douglas
    >
    >
    > -----campcaster-support-bounces@lists.campware.org wrote: -----
    >
    > To: Support mailing list for the Campcaster software project
    >
    > From: Paris
    > Sent by: campcaster-support-bounces@lists.campware.org
    > Date: 11/29/2009 12:06PM
    > Subject: Re: [campcaster-support] Scheduler crashes when schedule
    > starts
    >
    > Any other app plays audio files correctly.There is only one sound card
    > on the system, which is onboard:
    >
    > **** List of CAPTURE Hardware Devices ****
    > card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
    > Subdevices: 1/2
    > Subdevice #0: subdevice #0
    > Subdevice #1: subdevice #1
    >
    > In the campcaster-scheduler.xml the sound card is decribed as :
    > audioDevice="default"
    >
    >
    > Douglas.Arellanes@mdlf.org wrote:
    > > Hi,
    > >
    > > There could be several reasons for the scheduler not running. The
    > > first and most likely is that its sound card is not correctly
    > > assigned. You can check this in the development environment
    > version here:
    > >
    > > .campcaster/campcaster-scheduler.xml
    > >
    > > and look for the setting that describes the sound card, changing
    > it to
    > > the correct address.
    > >
    > > Another possibility is that the sound files are problematic in some
    > > way. Check your sound files to make sure they play correctly in
    > > another app.
    > >
    > > Try those and let me know if either of them described your
    > situation.
    > > Can you describe your system in a little more detail, i.e. the
    > type of
    > > system, type of sound card, etc.?
    > >
    > > Hope this helps,
    > >
    > > douglas
    > > -----campcaster-support-bounces@lists.campware.org wrote: -----
    > >
    > > To: campcaster-support@lists.campware.org
    > > From: Paris
    > > Sent by: campcaster-support-bounces@lists.campware.org
    > > Date: 11/29/2009 10:10AM
    > > Subject: [campcaster-support] Scheduler crashes when
    > schedule starts
    > >
    > > Hi!
    > >
    > > Few days ago I installed Campcaster development environment on a
    > > Ubuntu
    > > 8.04 box.Everything went fine with the installation and
    > campcaster was
    > > up and running in no time.So I logged in via the web UI
    > (which is what
    > > we need for the station) and created a test schedule for the
    > next
    > > hours.I also run the scheduler (using the command /make start/),
    > > checked
    > > that is running (make status) and waited for a couple of minutes
    > > for the
    > > schedule to start.When the time came, the playlist did not
    > play at
    > > all,
    > > it wasn't a "no sound" problem, the player in the UI showed
    > still OFF
    > > AIR and nothing was playing on the playlist.After that I
    > checked again
    > > for the scheduler and this time it had stopped.I tried several
    > > times and
    > > what seems to happen is that when it is time for a playlist to
    > > play, the
    > > scheduler stops running.Any ideas what might be going wrong?
    > >
    > >
    > >
    >
    >