Bug#506979: [Python-modules-team] Bug#506979: python-qt4: Please package with Phonon

2008-12-03 Thread Torsten Marek
Hi Christoph,


 I had to install python-sip4_4.7.9-1_i386.deb to actually make it
 work. Before that my whole python-qt4 installation was broken, should
 be so for others too.

Sorry for that, I hadn't realized that there was an ABI change. I'll fix
that in the next upload.


 
 Now, when I follow simple steps:
 
 from PyQt4.phonon import Phonon
 
 mediaObject = Phonon.createPlayer(Phonon.NotificationCategory,
 
 Phonon.MediaSource(local.mp3))
 
 mediaObject.play()
 
 I get the following lines on stdout:
 
 Phonon::KdePlatformPlugin::createBackend: using backend: GStreamer 
 
 ALSA lib setup.c:555:(add_elem) Cannot obtain info for CTL elem
 (MIXER,'IEC958 Playback Default',0,0,0): No such file or directory 
 
 ALSA lib setup.c:555:(add_elem) Cannot obtain info for CTL elem
 (MIXER,'IEC958 Playback Default',0,0,0): No such file or directory 
 
 virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const
 Phonon::AudioOutputDevice) Intel 82801DB-ICH4 with AD1981B (Intel
 82801DB-ICH4) 
 
 virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const
 Phonon::AudioOutputDevice) () 
 
 virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const
 Phonon::AudioOutputDevice) Intel 82801DB-ICH4 with AD1981B (Intel
 82801DB-ICH4 - IEC958) 
 
 virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const
 Phonon::AudioOutputDevice) () 
 
 virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const
 Phonon::AudioOutputDevice) Creative Technology SB Live! 24-bit
 External (USB Audio) 
 
 virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const
 Phonon::AudioOutputDevice) () 
 
 virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const
 Phonon::AudioOutputDevice) Intel 82801DB-ICH4, Intel 82801DB-ICH4
 (Front speakers) 
 
 virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const
 Phonon::AudioOutputDevice) (front:CARD=I82801DBICH4,DEV=0) 
 
 virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const
 Phonon::AudioOutputDevice) setProperty(device,
 front:CARD=I82801DBICH4,DEV=0 ) succeeded 
 
 virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const
 Phonon::AudioOutputDevice) go to old state on device
 front:CARD=I82801DBICH4,DEV=0 succeeded 
 
 ALSA lib setup.c:555:(add_elem) Cannot obtain info for CTL elem
 (MIXER,'IEC958 Playback Default',0,0,0): No such file or directory 
 
 I don't get any actual sound output. It seems like Phonon is probing
 all available sound cards and failing.
 
 And indeed qtconfig-qt4 is grayed out in the Phonon configuration
 section and says Phonon GStreamer backend is not available.

I think these are two problems. The qtconfig-qt4 configuration is grayed
out because Qt4 is built without phonon - Debian's phonon comes from the
real upstream releases, and Qt4 only contains a copy (which is older).
I guess Qt4 needs to build-depend on libphonon-dev, but that's not the
core of the problem. 

As for Phonon not finding its backends, that seems to be purely a
configuration issue. On my system, the file plays just fine using phonon
4.2.0-2.
 
 KDE Phonon though works, is that a packaging problem? Do I need other
 packages installed?

Are you running KDE when trying out the PyQt4 code?
 
 Should I open a new bug report?

Does a C++ version of your Python code behave in the same way? If it
does, then it's a Phonon problem.


best,


Torsten
-- 
.: Torsten Marek
.: http://shlomme.diotavelli.net
.: [EMAIL PROTECTED] -- GnuPG: 1024D/A244C858



signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Bug#506979: [Python-modules-team] Bug#506979: python-qt4: Please package with Phonon

2008-12-03 Thread Christoph Burgmer
Am Wednesday, 3. December 2008 schrieb Torsten Marek:
 As for Phonon not finding its backends, that seems to be purely a
 configuration issue. On my system, the file plays just fine using phonon
 4.2.0-2.

  KDE Phonon though works, is that a packaging problem? Do I need other
  packages installed?

 Are you running KDE when trying out the PyQt4 code?

  Should I open a new bug report?

 Does a C++ version of your Python code behave in the same way? If it
 does, then it's a Phonon problem.

I ported the Phonon example on Techbase [1] which gave me the certainty 
everything was working and it turned out, that I had an encoding problem in 
the local path, which prevented Phonon of playing the track, mea culpa.

Something I saw porting the code was that the C++ version seems to allow a 
string for MediaObject.setCurrentSource(), though PyQt4 does not, that might 
be a bug upstream.

Anyway, this bug can be closed. Thanks for you patience.

Christoph

[1] http://techbase.kde.org/Development/Tutorials/Phonon/Introduction/Python


Bug#506979: [Python-modules-team] Bug#506979: python-qt4: Please package with Phonon

2008-12-03 Thread Torsten Marek
Am Mittwoch, den 03.12.2008, 19:04 +0800 schrieb Christoph Burgmer:
 Am Wednesday, 3. December 2008 schrieb Torsten Marek:
 
  As for Phonon not finding its backends, that seems to be purely a
 
  configuration issue. On my system, the file plays just fine using
 phonon
 
  4.2.0-2.
 
 
 
   KDE Phonon though works, is that a packaging problem? Do I need
 other
 
   packages installed?
 
 
 
  Are you running KDE when trying out the PyQt4 code?
 
 
 
   Should I open a new bug report?
 
 
 
  Does a C++ version of your Python code behave in the same way? If it
 
  does, then it's a Phonon problem.
 
 I ported the Phonon example on Techbase [1] which gave me the
 certainty everything was working and it turned out, that I had an
 encoding problem in the local path, which prevented Phonon of playing
 the track, mea culpa.
 
 Something I saw porting the code was that the C++ version seems to
 allow a string for MediaObject.setCurrentSource(), though PyQt4 does
 not, that might be a bug upstream.
Hi,

ok, good to know that it works.
 
 Anyway, this bug can be closed. Thanks for you patience.

No problem at all, it'll be closed once the new PyQt4 packages come to
unstable.

I've reported the other problem (phonon tab completely grayed out), but
it seems to be a non-trivial problem to fix when I thought it was
trivial.


best,


Torsten

-- 
.: Torsten Marek
.: http://shlomme.diotavelli.net
.: [EMAIL PROTECTED] -- GnuPG: 1024D/A244C858



signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Bug#506979: [Python-modules-team] Bug#506979: python-qt4: Please package with Phonon

2008-12-02 Thread Christoph Burgmer
I had to install python-sip4_4.7.9-1_i386.deb to actually make it work. Before 
that my whole python-qt4 installation was broken, should be so for others too.

Now, when I follow simple steps:

from PyQt4.phonon import Phonon
mediaObject = Phonon.createPlayer(Phonon.NotificationCategory,
Phonon.MediaSource(local.mp3))
mediaObject.play()

I get the following lines on stdout:

Phonon::KdePlatformPlugin::createBackend: using backend:  GStreamer   
 
ALSA lib setup.c:555:(add_elem) Cannot obtain info for CTL elem (MIXER,'IEC958 
Playback Default',0,0,0): No such file or directory 
 
ALSA lib setup.c:555:(add_elem) Cannot obtain info for CTL elem (MIXER,'IEC958 
Playback Default',0,0,0): No such file or directory 
 
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const 
Phonon::AudioOutputDevice) Intel 82801DB-ICH4 with AD1981B (Intel 82801DB-
ICH4)   
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const 
Phonon::AudioOutputDevice) ()  
 
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const 
Phonon::AudioOutputDevice) Intel 82801DB-ICH4 with AD1981B (Intel 82801DB-
ICH4 - IEC958)  
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const 
Phonon::AudioOutputDevice) ()  
 
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const 
Phonon::AudioOutputDevice) Creative Technology SB Live! 24-bit External (USB 
Audio)   
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const 
Phonon::AudioOutputDevice) ()  
 
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const 
Phonon::AudioOutputDevice) Intel 82801DB-ICH4, Intel 82801DB-ICH4 (Front 
speakers)
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const 
Phonon::AudioOutputDevice) (front:CARD=I82801DBICH4,DEV=0)   
 
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const 
Phonon::AudioOutputDevice) setProperty(device, 
front:CARD=I82801DBICH4,DEV=0 ) succeeded  
virtual bool Phonon::Gstreamer::AudioOutput::setOutputDevice(const 
Phonon::AudioOutputDevice) go to old state on device 
front:CARD=I82801DBICH4,DEV=0  succeeded  
   
ALSA lib setup.c:555:(add_elem) Cannot obtain info for CTL elem (MIXER,'IEC958 
Playback Default',0,0,0): No such file or directory 
 

I don't get any actual sound output. It seems like Phonon is probing all 
available sound cards and failing.

And indeed qtconfig-qt4 is grayed out in the Phonon configuration section and 
says Phonon GStreamer backend is not available.

KDE Phonon though works, is that a packaging problem? Do I need other packages 
installed?

Should I open a new bug report?

Please CC me in replies.

Christoph


Bug#506979: [Python-modules-team] Bug#506979: python-qt4: Please package with Phonon

2008-11-30 Thread Christoph Burgmer
Thanks for python-qt4-phonon, I do have problems loading it though.

This is maybe the wrong place to report it, but I get the following error:

$ python
Python 2.5.2 (r252:60911, Sep 29 2008, 21:15:13)
[GCC 4.3.2] on linux2
Type help, copyright, credits or license for more information.
 from PyQt4.phonon import Phonon
Traceback (most recent call last):
  File stdin, line 1, in module
RuntimeError: the sip module supports API v3.0 to v3.7 but the PyQt4.phonon 
module requires API v3.8


If this is due to a newer version of sip4 still in the upload queue, then 
disregard this message.

Christoph


Bug#506979: [Python-modules-team] Bug#506979: Bug#506979: python-qt4: Please package with Phonon

2008-11-30 Thread Cyril Brulebois
Christoph Burgmer [EMAIL PROTECTED] (30/11/2008):
 If this is due to a newer version of sip4 still in the upload queue,
 then disregard this message.

You can check yourself at http://ftp-master.debian.org/new.html.

Mraw,
KiBi.


signature.asc
Description: Digital signature


Bug#506979: [Python-modules-team] Bug#506979: python-qt4: Please package with Phonon

2008-11-30 Thread Torsten Marek
Am Sonntag, den 30.11.2008, 16:23 +0800 schrieb Christoph Burgmer:
 Thanks for python-qt4-phonon, I do have problems loading it though.
 
 This is maybe the wrong place to report it, but I get the following
 error:
 
 $ python
 
 Python 2.5.2 (r252:60911, Sep 29 2008, 21:15:13)
 
 [GCC 4.3.2] on linux2
 
 Type help, copyright, credits or license for more information.
 
  from PyQt4.phonon import Phonon
 
 Traceback (most recent call last):
 
 File stdin, line 1, in module
 
 RuntimeError: the sip module supports API v3.0 to v3.7 but the
 PyQt4.phonon module requires API v3.8

Hi,

which version of sip do you have installed? You'll need 4.7.9 from
experimental? I'll bump the sip dependency on python-qt4 in the next
upload.


best,


Torsten
-- 
.: Torsten Marek
.: http://shlomme.diotavelli.net
.: [EMAIL PROTECTED] -- GnuPG: 1024D/A244C858



signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Bug#506979: python-qt4: Please package with Phonon

2008-11-26 Thread Christoph Burgmer
Package: python-qt4
Version: 4.4.2-4
Severity: normal

Please include Phonon in the Debian package.   
Currently importing does not work though SIP files exist:

 from PyQt4.phonon import Phonon
Traceback (most recent call last):
  File stdin, line 1, in module
ImportError: No module named phonon


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: [EMAIL PROTECTED], LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-qt4 depends on:
ii  libc6 2.7-15 GNU C Library: Shared libraries
ii  libgcc1   1:4.3.2-1  GCC support library
ii  libqt4-assistant  4.4.3-1Qt 4 assistant module
ii  libqt4-designer   4.4.3-1Qt 4 designer module
ii  libqt4-help   4.4.3-1Qt 4 help module
ii  libqt4-network4.4.3-1Qt 4 network module
ii  libqt4-script 4.4.3-1Qt 4 script module
ii  libqt4-svg4.4.3-1Qt 4 SVG module
ii  libqt4-test   4.4.3-1Qt 4 test module
ii  libqt4-webkit 4.4.3-1Qt 4 WebKit module
ii  libqt4-xml4.4.3-1Qt 4 XML module
ii  libqt4-xmlpatterns4.4.3-1Qt 4 XML patterns module
ii  libqtcore44.4.3-1Qt 4 core module
ii  libqtgui4 4.4.3-1Qt 4 GUI module
ii  libstdc++64.3.2-1The GNU Standard C++ Library v3
ii  python2.5.2-3An interactive high-level object-
o
ii  python-central0.6.8  register and build utility for 
Pyt
ii  python-elementtree1.2.6-12   Light-weight toolkit for XML 
proce
ii  python-qt4-common 4.4.2-4Shared files for PyQt4
ii  python-sip4   4.7.6-1Python/C++ bindings generator 
runt
ii  python2.5 2.5.2-11.1 An interactive high-level object-
o

python-qt4 recommends no packages.

Versions of packages python-qt4 suggests:
pn  python-qt4-dbgnone (no description available)

-- no debconf information




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#506979: [Python-modules-team] Bug#506979: python-qt4: Please package with Phonon

2008-11-26 Thread Torsten Marek
Am Donnerstag, den 27.11.2008, 01:44 +0800 schrieb Christoph Burgmer:
 Package: python-qt4
 Version: 4.4.2-4
 Severity: normal
 
 Please include Phonon in the Debian package.   
 Currently importing does not work though SIP files exist:
 
  from PyQt4.phonon import Phonon
 Traceback (most recent call last):
   File stdin, line 1, in module
 ImportError: No module named phonon
 

The phonon modules are included in 4.4.2, which is currently in the NEW
queue[0].


best,


Torsten


[0] http://ftp-master.debian.org/new/python-qt4_4.4.4-2.html
-- 
.: Torsten Marek
.: http://shlomme.diotavelli.net
.: [EMAIL PROTECTED] -- GnuPG: 1024D/A244C858



signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil