colbyga / pychess

Automatically exported from code.google.com/p/pychess
GNU General Public License v3.0
0 stars 0 forks source link

Gstreamer error #269

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
ubuntu gutsy
pychess svn r788, running from source with PYTHONPATH=lib pychess command:

14:09:22 Default Warning: Gstreamer error 'Resource not found.':
gstplaybasebin.c(1573): gen_source_element (): /playbin0

and "Use sounds..." is disabled on sound preferences tab.

In pychess beta2, installed from package, sounds are ok.

Original issue reported on code.google.com by gbtami on 2 Dec 2007 at 1:25

GoogleCodeExporter commented 9 years ago
Have you tried beta2 again after trunk?
That's kinda strange.
IIRC nothing has been changed in this area since beta2. Beta2 should also 
disable
sound faced with that gstreamer error.

Original comment by lobais on 2 Dec 2007 at 6:52

GoogleCodeExporter commented 9 years ago
It seams like a gstreamer or hardware error to me.
However I find it strange that you say it works on beta2 :S

Original comment by lobais on 9 Dec 2007 at 2:43

GoogleCodeExporter commented 9 years ago
Hmm. We have 2 .deb for beta2.
As i see (and i tested this one):
http://pychess.googlecode.com/files/pychess_0.8-beta2_all.deb
but this is beta1 inside!!!

And the real beta2 .deb from here:
http://www.getdeb.net/app.php?name=PyChess
and this produces the same bug.

I think something gst related cod had changed between beta1 and beta2.

Original comment by gbtami on 9 Dec 2007 at 3:51

GoogleCodeExporter commented 9 years ago
Yes it has indeed.
But afair only catching fo the gstreamer error, and disabling sound, has been 
changed.
You don't get that Gstreamer error to the terminal in beta1?
If you do, there is probably something wrong with the way the error is caught.

Original comment by lobais on 9 Dec 2007 at 5:35

GoogleCodeExporter commented 9 years ago
1. Starting beta1 from sources enables sound setup panel, and selected sound 
files
can tested in place OK. But when playing a game while sound settig dialog left 
open
got errors:
gstalsasink.c(622): gst_alsasink_open (): /audiosink-actual-sink-alsa:
Device 'default' is busy
If close settings dialog before starting a new game, sounds are OK.

2. Starting beta2 from sources (or svn), the sound settings are diabled, and 
got:
19:45:41 Default Warning: Gstreamer error 'Resource not found.':
gstplaybasebin.c(1573): gen_source_element (): /playbin0

Tried on ubuntu gutsy, shipped with gst* packeges:
tamas@tami:~$ dpkg -l gst*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Név           Verzió        Leírás
+++-==============-==============-============================================
ii  gstreamer0.10- 0.10.14-1ubunt GStreamer plugin for ALSA
un  gstreamer0.10- <nincs>        (nincs leírás)
un  gstreamer0.10- <nincs>        (nincs leírás)
ii  gstreamer0.10- 0.10.6-0ubuntu GStreamer plugin for ESD
ii  gstreamer0.10- 0.10.2-2ubuntu FFmpeg plugin for GStreamer
un  gstreamer0.10- <nincs>        (nincs leírás)
ii  gstreamer0.10- 0.10.14-1ubunt GStreamer plugin for GnomeVFS
un  gstreamer0.10- <nincs>        (nincs leírás)
un  gstreamer0.10- <nincs>        (nincs leírás)
ii  gstreamer0.10- 0.10.14-1ubunt GStreamer plugins from the "base" set
ii  gstreamer0.10- 0.10.14-1ubunt GStreamer helper programs from the "base" se
ii  gstreamer0.10- 0.10.6-0ubuntu GStreamer plugins from the "good" set
ii  gstreamer0.10- 0.10.6-0ubuntu GStreamer plugins from the "ugly" set
ii  gstreamer0.10- 0.10.14-1ubunt Tools for use with GStreamer
un  gstreamer0.10- <nincs>        (nincs leírás)
ii  gstreamer0.10- 0.10.14-1ubunt GStreamer plugins for X11 and Pango

Original comment by gbtami on 9 Dec 2007 at 6:46

GoogleCodeExporter commented 9 years ago
Without "error" signal handling, changing back as was in beta1, i get the error
"gstplaybasebin.c(1573): gen_source_element (): /playbin0" to the console, but 
sound
handling is OK.

Original comment by gbtami on 18 Dec 2007 at 5:04

GoogleCodeExporter commented 9 years ago
Ok. In that case we should disable to disabling code in trunk, until we have a 
better
way of testing. And as far as I´ve understood on the gstreamer guys, there 
really is
no good way.

Original comment by lobais on 18 Dec 2007 at 9:08

GoogleCodeExporter commented 9 years ago
"error" emitting is disabled in 796

Original comment by lobais on 21 Dec 2007 at 2:08