Radiotray related gstreamer error - all sound AWOL.

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
globetrotterdk
Posts: 435
Joined: 26. Oct 2010, 13:57
Location: Denmark

Radiotray related gstreamer error - all sound AWOL.

Post by globetrotterdk »

I installed Radiotray by using Sourcery a couple of days ago, now all sound is AWOL. I am almost positive this issue is Radiotray related, but need some help to track down the problem. I get the following errors in various programs:

Exaile
playsink0

$ cmus
ERROR: Failed to load plugin /usr/lib64/ao/plugins-4/libalsa.so => dlopen() failed

parole 0.3.0.3
GStreamer backend error
The autoaudiosink element is not working.

Radiotray
gstplaysink.c(1906): gen_audio_chain ():/
GstPlayBin2:player/GSTPlaySink:playsink0

That sounds to me like it is gstreamer issue, and I believe that it is related to something that was installed as a depend of Radiotray, but I can't get any closer to tracking down that problem. Does anyone have an idea?
Military justice is to justice what military music is to music. - Groucho Marx
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: Radiotray related gstreamer error - all sound AWOL.

Post by gapan »

Post the output of

Code: Select all

ls /var/log/packages | grep SBo
and

Code: Select all

ls -lt /var/log/packages | grep -A10 -B10 radiotray
Image
Image
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Radiotray related gstreamer error - all sound AWOL.

Post by laprjns »

Radiotray is working here after installing via slapt-src. In fact I like it so I'm going to keep it. Anyway lets see what it installed.

Code: Select all

root[rich]# slapt-src --show radiotray
SlackBuild Name: radiotray
SlackBuild Version: 0.7.2
SlackBuild Category: multimedia/radiotray/
SlackBuild Description: radiotray (online radio streaming player)
SlackBuild Files:
 README
 doinst.sh
 radiotray.SlackBuild
 radiotray.info
 slack-desc
SlackBuild Requires: gst-ffmpeg,gst-plugins-ugly,gst-python,lxml,pyxdg
root[rich]# 
So Radiotray needs gst-ffmpeg,gst-plugins-ugly,gst-python,lxml and pyxdg which are all available in the Salix repo. If some of these where not installed and you installed radiotray using sourcery (or slapt-src) they would have been installed using Sbo packages. So first thing I would check is that these are all installed and that they are Salix packages.
Also, DuckDuckGoing on the error messages that you are getting (http://unix.stackexchange.com/questions ... stplaysink) suggest that gstreamer plugins are missing. You might also try reinstalling them.
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
globetrotterdk
Posts: 435
Joined: 26. Oct 2010, 13:57
Location: Denmark

Re: Radiotray related gstreamer error - all sound AWOL.

Post by globetrotterdk »

Thanks for the quick replies. Here is the output that was requested:

Code: Select all

$ ls /var/log/packages | grep SBo
chromium-24.0.1312.52-x86_64-1_SBo
confuse-2.6-x86_64-1_SBo
dropbox-2.0.5-x86_64-1_SBo
epson-inkjet-printer-nx420-1.0.0-x86_64-1_SBo
gedit-2.30.4-x86_64-2_SBo
gedit-plugins-2.32.0-x86_64-1_SBo
lxml-3.2.1-x86_64-1_SBo
pygtksourceview-2.10.1-x86_64-1_SBo
radiotray-0.7.2-x86_64-2_SBo
thunar-dropbox-0.2.0-x86_64-1_SBo
tilda-0.9.6-x86_64-2_SBo

$ ls -lt /var/log/packages | grep -A10 -B10 radiotray
total 9088
-rw-r--r-- 1 root root   1961 Aug 23 11:55 cmus-2.4.3-x86_64-1gv
-rw-r--r-- 1 root root   1366 Aug 23 11:55 libmikmod-3.1.12-x86_64-1dj
-rw-r--r-- 1 root root   5781 Aug 23 11:55 libmp4v2-1.5.0.1-x86_64-1gv
-rw-r--r-- 1 root root   2807 Aug 22 15:59 tilda-0.9.6-x86_64-2_SBo
-rw-r--r-- 1 root root  14372 Aug 21 21:03 terminator-0.96-x86_64-1vc
-rw-r--r-- 1 root root  11527 Aug 21 18:22 radiotray-0.7.2-x86_64-2_SBo
-rw-r--r-- 1 root root   6810 Aug 21 18:22 lxml-3.2.1-x86_64-1_SBo
-rw-r--r-- 1 root root   2983 Aug 21 18:21 BeautifulSoup-4.1.1-x86_64-1gv
-rw-r--r-- 1 root root   5878 Aug 21 18:19 python-lxml-2.3.4-x86_64-1gv
-rw-r--r-- 1 root root   1028 Aug 20 22:21 re-alpine-2.03-x86_64-1gv
-rw-r--r-- 1 root root   2488 Aug 20 22:08 epson-inkjet-printer-nx420-1.0.0-x86_64-1_SBo
-rw-r--r-- 1 root root   1438 Aug 20 13:08 confuse-2.6-x86_64-1_SBo
-rw-r--r-- 1 root root  30228 Aug 20 12:53 filezilla-3.5.3-x86_64-1vc
-rw-r--r-- 1 root root  68178 Aug 20 12:53 wxGTK-2.8.12.1-x86_64-1ab
-rw-r--r-- 1 root root  15500 Aug 20 11:42 chromium-24.0.1312.52-x86_64-1_SBo
-rw-r--r-- 1 root root   5187 Aug 20 09:46 speech-dispatcher-0.7.1-x86_64-1dj
A restart seems to have solved the problem for now. I have noticed that ffado-mixer got installed as a dependency somewhere along the line, but it isn't to be found in either Gslapt or Sourcery. It kicks up an error message, but it doesn't seem to be giving me any problems with audio playback at this time:

Code: Select all

$ ffado-mixer
Traceback (most recent call last):
  File "/usr/bin/ffado-mixer", line 39, in <module>
    from PyQt4.QtCore import SIGNAL, SLOT, QObject, QTimer, Qt
ImportError: No module named PyQt4.QtCore
Military justice is to justice what military music is to music. - Groucho Marx
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: Radiotray related gstreamer error - all sound AWOL.

Post by gapan »

globetrotterdk wrote:Thanks for the quick replies. Here is the output that was requested:
Nothing seems wrong with that.
globetrotterdk wrote:I have noticed that ffado-mixer got installed as a dependency somewhere along the line, but it isn't to be found in either Gslapt or Sourcery.
I think the package name is libffado.
globetrotterdk wrote:

Code: Select all

$ ffado-mixer
Traceback (most recent call last):
  File "/usr/bin/ffado-mixer", line 39, in <module>
    from PyQt4.QtCore import SIGNAL, SLOT, QObject, QTimer, Qt
ImportError: No module named PyQt4.QtCore
You probably need PyQt.
Image
Image
User avatar
globetrotterdk
Posts: 435
Joined: 26. Oct 2010, 13:57
Location: Denmark

Re: Radiotray related gstreamer error - all sound AWOL.

Post by globetrotterdk »

I have finally tracked down when I get this problem with radiotray (see first post). The problem only occurs when I choose a station that for some reason isn't sending. Radiotray freezes and it is necessary to kill the process. After having restarted radiotray, I get the above error messages.

-- edit --

Added PyQT after I checked for dependencies, but wasn't observant and didn't notice that it also dragged in the QT development environment, phonon and some other tingle tangle. When I try to remove it again, Gslapt wants to remove Wicd and other useful / necessary packages. I consulted the man pages and the Salix OS user guide, but don't see a way to force the removal of individual packages.
Military justice is to justice what military music is to music. - Groucho Marx
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Radiotray related gstreamer error - all sound AWOL.

Post by mimosa »

You probably do need those dependencies. In particular, PyQt makes little sense without qt.

In general, unless you are very short of space (which isn't a good state for a filesystem to be in) or there is a conflict with another package, it is usually not necessary to remove anything in these circumstances. If it does no harm (and: innocent till proved guilty) why remove it? The space involved is minuscule. Even qt is only 70MB or so. On the other hand, removing stuff manually might well cause harm unless you are absolutely certain it is unnecessary.

Depending on the tool you use, you also risk bypassing the Salix package management system, that is, losing the benefit of the housekeeping done by slapt-get to keep track of what is and isn't installed.
User avatar
globetrotterdk
Posts: 435
Joined: 26. Oct 2010, 13:57
Location: Denmark

Re: Radiotray related gstreamer error - all sound AWOL.

Post by globetrotterdk »

I understand the argument, but part of what attracted me to Salix OS in the first place, was that there is less dependency management than Debian or Ubuntu, which can at times be heavy handed. On the other hand, I am not interested in going totally Slackware and have to hand craft everything. I also think that as an example, Wicd has functioned just fine without QT - why should Wicd be removed when I try to remove QT, when it wasn't a dependency until I installed PyQt? Lastly, the addition of the dependencies hasn't improved the performance of radiotray, which is the point of reference for the whole thread :?:
Military justice is to justice what military music is to music. - Groucho Marx
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Radiotray related gstreamer error - all sound AWOL.

Post by laprjns »

globetrotterdk wrote:... but don't see a way to force the removal of individual packages.
Try spkg -d package_name

or install twapake and do:

Code: Select all

root[rich]# twapake -ui
and you get:

Code: Select all

┌twapake - Select packages for removal (^X for Menu) ────────────────────────────────────────────────────────────────────────────────────────┐
│                                                                                                                                                                              │
│                                                                                                                                                                              │
│           [ ] cmus-2.4.3-x86_64-1gv                                                                                                                         │
│           [ ] libmikmod-3.1.12-x86_64-1dj                                                                                                                │
│           [ ] libmp4v2-1.5.0.1-x86_64-1gv                                                                                                                │
│           [ ] radiotray-0.7.2-x86_64-2_SBo                                                                                                               │
│           [ ] lxml-3.2.1-x86_64-1_SBo                                                                                                                       │
│           [ ] gst-plugins-ugly-0.10.19-x86_64-1gv                                                                                           │
│           [ ] BeautifulSoup-4.1.1-x86_64-1gv                                                                                                │
│           [ ] gst-ffmpeg-0.10.11-x86_64-1gv                                                                                                 │
│           [ ] tilda-0.9.6-x86_64-2_SBo                                                                                                      │
│           [ ] confuse-2.6-x86_64-1_SBo                                                                                                      │
│           [ ] spi-0.0.2-noarch-1gv                                                                                                          │
│           [ ] seamonkey-solibs-2.20-x86_64-2_slack14.0                                                                                      │
│           [ ] gtkhash-0.6.0-x86_64-1gv                                                                                                      │
│           [ ] mozilla-firefox-l10n-en-US-17.0esr-x86_64-2gv                                                                                 │
│           [ ] bitlbee-3.2-x86_64-1_SBo                                                                                                      │
│           [ ] samba-3.6.17-x86_64-1_slack14.0                                                                                               │
│           [ ] mozilla-thunderbird-17.0.8-x86_64-1_slack14.0                                                                                 │
│           [ ] mozilla-firefox-17.0.8esr-x86_64-1gv                                                                                          │
│           [ ] gnupg-1.4.14-x86_64-1_slack14.0                                                                                               │
│           [ ] libgcrypt-1.5.3-x86_64-1_slack14.0                                                                                            │
│           [ ] geany-1.23.1-x86_64-1gv                                                                                                       │
│           [ ] bsd-games-2.13-x86_64-12                                                                                                      │
│           [ ] pokerth-1.0.1-x86_64-1_SBo                                                                                                    │
│           [ ] spyder-2.1.11-x86_64-1_SBo                                                                                                    │
│           [ ] Sphinx-1.1.3-x86_64-1_SBo                                                                                                     │
│           [ ] Jinja2-2.6-x86_64-1_SBo                                                                                                       │
│           [ ] docutils-0.9.1-x86_64-1cp                                                                                                     │
│           [ ] pysetuptools-0.8-x86_64-1_SBo                                                                                                 │
│           [ ] boost-1.49.0-x86_64-3                                                                                                         │
│                                                                                                                                             │
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

I suggest reading the man page for both before using.
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
sqlpython
Donor
Posts: 310
Joined: 13. Aug 2010, 04:53
Location: Ct. USA

Re: Radiotray related gstreamer error - all sound AWOL.

Post by sqlpython »

You probably do need those dependencies. In particular, PyQt makes little sense without qt.
Exactly, just won't work for much. I program with both PyQt and Pyside but prefer pyside.

I just installed the RadioTray via Slackbuild and it works as I remember it.
I hadn't had a KDE install in a Few years but did just install Salix_KDE 14 recently and I am getting into KDE again.
Wicd has functioned just fine without QT - why should Wicd be removed when I try to remove QT, when it wasn't a dependency until I installed PyQt?
No required graphical dependencies (ie, no X, Gnome, KDE)
GTK interface has no GNOME dependencies, so it can be used in XFCE, Fluxbox, Openbox, Enlightenment, etc

While that is all true... I am thinking that you had the unnecessary but Kooler looking QT model wicd-kde.
Or perhaps the wicd package info listed the QT dependancies
Which requires a Qt library to display itself.
So, simply install the std wicd .. it will work.
Slackware ( Manjaro ) Salix, AntiX, Bunsen, Calculate
Post Reply