I'm finally upgrading Airtime to the latest version and have a fresh install of ubuntu Server 12.10 to use as a test machine. Airtime installs fine and running airtime-check-system immediately after the installation checks out. The problems begin once I login and change the output to "Hardware Output". Running airtime-check-system again shows that Liquidsoap has failed:
2013/05/22 17:07:09 [clock.wallclock_pulse:3] Raised by primitive operation at file "", line 0, characters 0-0
It looks like you are using PulseAudio. If you are running a server, I believe PulseAudio is not included by default. Either install the pulseaudio packages, or switch to ALSA.
Hmm, it may be that if the Liquidsoap binary has been compiled with PulseAudio support, and you attempt to use ALSA, it will still attempt to use ALSA, but may error out before that point simply because it may have checked if PulseAudio was available.
If this is the case, we have two options. Either compile your own Liquidsoap binary, or use the existing Liquidsoap binary and install the PulseAudio packages.
That'll probably work but I think we're putting the cart before the horse. This is a completely clean install of both the OS and Airtime, we shouldn't have to be installing Pulse if ALSA is installed and I can access the soundcard fine:
What I was trying to say is that if Liquidsoap was compiled with pulseaudio headers, then it most likely expects the pulseaudio library to exist on the system it runs on.
So installing the pulseaudio packages is just a suggestion, but the best way would be to recompile liquidsoap without pulseaudio support.
Sorry I didn't mean to be quite so rude! Hmm I just installed Airtime using apt-get is the shall I try and install the Liquidsoap package from your own repos?
The Liquidsoap binary you have is most likely provided by our own repos. You can verify by doing "dpkg -l | grep liq" and check if there is an "sfo" in the output version string.
Building the Liquidsoap binary yourself is easy (and detailed instructions are here), however I'll get back to you if there's an easier way around your current situation
Why do you think this has happened? I've installed Airtime smoothly enough before on several machines. Do you think it could be some kind of error thrown up by the sound card itself?
Doesn't like like I am using the Sourcefabric ones:
ii liquidsoap 1.0.1+repack1-1 i386 audio streaming language
ii liquidsoap-plugin-faad 1.0.1+repack1-1 i386 audio streaming language -- FAAD plugin
ii liquidsoap-plugin-flac 1.0.1+repack1-1 i386 audio streaming language -- FLAC plugin
ii liquidsoap-plugin-icecast 1.0.1+repack1-1 i386 audio streaming language -- Icecast plugin
ii liquidsoap-plugin-lame 1.0.1+repack1-1 i386 audio streaming language -- Lame plugin
ii liquidsoap-plugin-mad 1.0.1+repack1-1 i386 audio streaming language -- Mad plugin
ii liquidsoap-plugin-ogg 1.0.1+repack1-1 i386 audio streaming language -- Ogg plugin
ii liquidsoap-plugin-pulseaudio 1.0.1+repack1-1 i386 audio streaming language -- Pulseaudio plugin
ii liquidsoap-plugin-taglib 1.0.1+repack1-1 i386 audio streaming language -- Taglib plugin
ii liquidsoap-plugin-voaacenc 1.0.1+repack1-1 i386 audio streaming language -- Voaacenc plugin
ii liquidsoap-plugin-vorbis 1.0.1+repack1-1 i386 audio streaming language -- Vorbis plugin
That error trace you see has been fixed in 2.4 but is harmless. Is Liquidsoap working now? On May 23, 2013 8:51 AM, "Chris Weaver" <<br />airtime-support@lists.sourcefabric.org> wrote:
> OK I've installed the Liquidsoap package: > > dpkg -l | grep liq > ii liquidsoap 1.0.1~quantal~sfo-4 > i386 audio streaming language > > BTW I noticed these errors when the server boots (they didn't seem to pop > up in any of the Airtime logs) so i copied them from tty7 > > [ OK ] Starting Liquidsoap: Exception: ** > > traceback: Traceback (most recent call last): > File "/usr/lib/airtime/api_clients/api_client.py", line 87, in __call__ > > response = urllib2.urlopen(req).read() > > File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen > return _opener.open(url, data, timeout) > > File "/usr/lib/python2.7/urllib2.py", line 401, in open > > response = self._open(req, data) > File "/usr/lib/python2.7/urllib2.py", line 419, in _open > > '_open', req) > File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain > result = func(*args) > > File "/usr/lib/python2.7/urllib2.py", line 1211, in http_open > > return self.do_open(httplib.HTTPConnection, req) > File "/usr/lib/python2.7/urllib2.py", line 1181, in do_open > > raise URLError(err) > > URLError: ** > > > > ** > > Unable to connect to the Airtime server. > Done. > > Starting Airtime Media Monitor: Done. > > Starting Airtime Scheduler Engine: chown: cannot access > `/etc/airtime/liquidsoap.cfg': No such file or directory > Done. > Starting icecast2: Starting icecast2 > > Detaching from the console > icecast2. > Starting liquidsoap channels: no script found in /etc/liquidsoap > > * Starting message broker rabbitmq-server > >
I'm afraid not. I compiled the binaries as per your instructions and now on a whim have tried re-installing on Ubuntu 12.04. Same issue. Do you think it's related to using an Intel HDA based sound card?