Unable to detect Airtime Version
  • Hi guys,
    just installed 1.8.2 on a clean Ubuntu 10.4 LTS

    everything seems normal but no streaming working.

    Date/time are correct
    all configs look ok



    pypo main log is throwing up this error -

    @400000004e3f0c5e24f2ee54 # *** pypo *** #
    @400000004e3f0c5e24f35f9c # Liquidsoap Scheduled Playout System #
    @400000004e3f0c5e24f3c914 ###########################################
    @400000004e3f0c5e24fa359c 2011-08-07 23:06:12,620 DEBUG - [cue_file.py : __init__() : line 20] - init
    @400000004e3f0c5e24fd7d74 2011-08-07 23:06:12,620 DEBUG - [api_client.py : __get_airtime_version() : line 143] - Trying to contact http://localhost:80/api/version/api_key/%%api_key%%
    @400000004e3f0c5e252d5774 2011-08-07 23:06:12,623 ERROR - [api_client.py : __get_airtime_version() : line 172] - Unable to detect Airtime Version - [Errno socket error] [Errno 111] Connection refused, Response: None
    @400000004e3f0c5e252e8ff4 Unable to get Airtime version number.
    @400000004e3f0c5e252f0cf4

    and later

    @400000004e3f10d934dfe18c 2011-08-07 23:25:19,881 DEBUG - [pypopush.py : push() : line 77] - playlists {"2011-08-07-23-27-00": []}
    @400000004e3f10f13a3bbcdc 2011-08-07 23:25:43,973 INFO - [pypopush.py : run() : line 234] - heartbeat
    @400000004e3f111005a98fe4 2011-08-07 23:26:14,089 INFO - [pypopush.py : run() : line 234] - heartbeat
    @400000004e3f112e0c7268b4 2011-08-07 23:26:44,208 INFO - [pypopush.py : run() : line 234] - heartbeat
    @400000004e3f11340e3002ec 2011-08-07 23:26:50,237 DEBUG - [pypopush.py : push() : line 102] - Preparing to push playlist scheduled at: 2011-08-07-23-27-00
    @400000004e3f11340e3686e4 2011-08-07 23:26:50,238 DEBUG - [pypopush.py : push_liquidsoap() : line 160] - Epoch start: 1312756020
    @400000004e3f11340e39c304 2011-08-07 23:26:50,238 DEBUG - [pypopush.py : push_liquidsoap() : line 161] - Epoch now: 1312756010.24
    @400000004e3f11340e3cc48c 2011-08-07 23:26:50,238 DEBUG - [pypopush.py : push_liquidsoap() : line 168] - sleeping for 9.76174497604 s
    @400000004e3f113e0096db24 2011-08-07 23:27:00,008 DEBUG - [pypopush.py : push_liquidsoap() : line 174] - source.skip
    @400000004e3f113e0096f67c
    @400000004e3f113e0096fe4c 2011-08-07 23:27:00,008 DEBUG - [pypopush.py : push_liquidsoap() : line 181] - vars.pypo_data 6
    @400000004e3f113e00970a04
    @400000004e3f113e009711d4 2011-08-07 23:27:00,009 DEBUG - [pypopush.py : push_liquidsoap() : line 184] - Preparing to push playlist 2011-08-07-23-27-00
    @400000004e3f113e00bf98d4 2011-08-07 23:27:00,012 DEBUG - [pypopush.py : push_liquidsoap() : line 192] - Not skipped

    @400000004e3f113e00bfb044 END

    @400000004e3f113e00bfb814 Done

    @400000004e3f113e00bfc3cc END

    @400000004e3f113e00bfcb9c Bye!

    @400000004e3f113e00bfd36c
    @400000004e3f113e00c457ac 2011-08-07 23:27:00,012 DEBUG - [pypopush.py : push() : line 110] - Pushed to liquidsoap, updating 'played' status.
    @400000004e3f113e0155ba6c 2011-08-07 23:27:00,022 DEBUG - [pypopush.py : push() : line 122] - Doing callback to server to update 'played' status.
    @400000004e3f113e015aa054 2011-08-07 23:27:00,022 DEBUG - [api_client.py : notify_scheduled_item_start_playing() : line 258] - http://localhost:80/api/notify-schedule-group-play/api_key/% %api_key%%/schedule_id/6
    @400000004e3f113e189a7c1c 2011-08-07 23:27:00,412 INFO - [api_client.py : notify_scheduled_item_start_playing() : line 264] - API-Status 1
    @400000004e3f113e189ff674 2011-08-07 23:27:00,412 INFO - [api_client.py : notify_scheduled_item_start_playing() : line 265] - API-Message


    pypo-liquidsoap log


    @400000004e3f12082cdaac74 2011/08/07 23:30:22 [lang:3] Did not find flac binary: flac decoder disabled.
    @400000004e3f12082cdb48b4 2011/08/07 23:30:22 [lang:3] Did not find metaflac binary: flac metadata resolver disabled.
    @400000004e3f12082cdbe4f4 2011/08/07 23:30:22 [lang:3] Did not find faad binary: faad decoder disabled.
    @400000004e3f12082cdc8134 2011/08/07 23:30:22 [lang:3] Lastfm/audioscrobbler support was not compiled.
    @400000004e3f12082cdd198c 2011/08/07 23:30:22 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master.
    @400000004e3f12082cdddcdc 2011/08/07 23:30:22 [frame:3] Frame size must be a multiple of 1764 ticks = 1764 audio samples = 1 video samples.
    @400000004e3f12082cde7534 2011/08/07 23:30:22 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio samples = 1764 ticks.
    @400000004e3f12082cdf0d8c 2011/08/07 23:30:22 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks.
    @400000004e3f12082ce30144 2011/08/07 23:30:22 [threads:3] Created thread "generic queue #1".
    @400000004e3f12082ce43dac 2011/08/07 23:30:22 [threads:3] Created thread "non-blocking queue #1".
    @400000004e3f12082d46d3f4 2011/08/07 23:30:22 [CuriousBroadcast(dot)mp3:3] Connecting mount CuriousBroadcast.mp3 for source@127.0.0.1...
    @400000004e3f12083608060c 2011/08/07 23:30:22 [CuriousBroadcast(dot)mp3:3] Connection setup was successful.
    @400000004e3f1208360815ac 2011/08/07 23:30:22 [threads:3] Created thread "wallclock_main" (1 total).
    @400000004e3f1208360907dc 2011/08/07 23:30:22 [clock.wallclock_main:3] Streaming loop starts, synchronized with wallclock.
    @400000004e3f120838865064 2011/08/07 23:30:22 [fallback_4309:3] Switch to src_4307.
    @400000004e3f120838866004 2011/08/07 23:30:22 [src_4307:3] Inserting missing metadata.
    @400000004e3f1208393a98bc /usr/lib/airtime/pypo/bin/scripts/notify.sh --data='0' --media-id=
    @400000004e3f120903a8a34c 2011/08/07 23:30:23 [server:3] New client: localhost
    @400000004e3f12090b5eaadc
    @400000004e3f12090b5eb694 #########################################
    @400000004e3f12090b5ebe64 # *** pypo *** #
    @400000004e3f12090b5ec634 # pypo notification gateway #
    @400000004e3f12090b5ece04 #########################################
    @400000004e3f12090b5ed5d4 NOTICE: 'media_id' command-line argument not given.
    @400000004e3f1209106f6b9c 2011/08/07 23:30:23 [server:3] New client: localhost
    @400000004e3f121a234fc5a4 2011/08/07 23:30:40 [server:3] New client: localhost
    @400000004e3f123918516144 2011/08/07 23:31:11 [server:3] New client: localhost
    @400000004e3f12421fd2a8ec 2011/08/07 23:31:20 [server:3] New client: localhost
    @400000004e3f12e20047c50c 2011/08/07 23:34:00 [server:3] New client: localhost
    @400000004e3f13700698398c 2011/08/07 23:36:22 [server:3] New client: localhost
    @400000004e3f13703714c2ec 2011/08/07 23:36:22 [server:3] New client: localhost
    @400000004e3f138708a13c74 2011/08/07 23:36:45 [server:3] New client: localhost
    @400000004e3f138d2a0b5fd4 2011/08/07 23:36:51 [server:3] New client: localhost
    @400000004e3f144a008431cc 2011/08/07 23:40:00 [server:3] New client: localhost


    Any help greatly appreciated as always
    thanks in advance
    j
  • 2 Comments sorted by
  • some additional info -

    CPU = AMD Athlon(tm) 64 X2 Dual Core Processor 4000+
    Total RAM = 4120728 kB
    Free RAM = 3328656 kB
    OS = Ubuntu 10.04.1 LTS Intel 80386
    AIRTIME_CONFIG_FILES = OK
    POSTGRESQL_DATABASE = OK
    PYTHON_KOMBU_VERSION = 1.2.1
    PYTHON_POSTER_VERSION = 0.8.1
    RABBITMQ_SERVER = OK
    AIRTIME_VERSION_URL = http://localhost:80/api/version/api_key/%%api_key%%
    APACHE_CONFIGURED = YES
    AIRTIME_VERSION = 1.8.2
    PLAYOUT_ENGINE_PROCESS_ID = 3381
    PLAYOUT_ENGINE_RUNNING_SECONDS = 990
    LIQUIDSOAP_PROCESS_ID = 3387
    LIQUIDSOAP_RUNNING_SECONDS = 990
    ICECAST_PROCESS_ID = 1351

    -- System setup looks OK!
  • nevermind a quick re-install/overwrite seems to have done the trick