Bug 231200 - PyKDE4: Phonon.AudioOutput is broken
Summary: PyKDE4: Phonon.AudioOutput is broken
Status: RESOLVED UNMAINTAINED
Alias: None
Product: bindings
Classification: Developer tools
Component: pykde (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kde-bindings
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-18 09:45 UTC by chris292
Modified: 2018-11-17 05:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description chris292 2010-03-18 09:45:15 UTC
Version:            (using KDE 4.3.5)
Compiler:          gcc (SUSE Linux) 4.4.1 [gcc-4_4-branch revision 150839] 
OS:                Linux
Installed from:    openSUSE RPMs

The following python code:
<code>
from PyQt4.QtGui import QApplication
from PyKDE4.phonon import Phonon

app= QApplication ([])
media= Phonon.MediaObject ()
ao= Phonon.AudioOutput (Phonon.MusicCategory, app)
Phonon.createPath (media, ao)
</code>

results in this error message:

Phonon.createPath(self.mediaObject, self.audioOutput)
TypeError: argument 2 of createPath() has an invalid type

One can see this when trying to start a stream within the plasmoid
SimpleStream.
Link: http://kde-look.org/content/show.php/SimpleStream?content=112825

It's possibly the same problem already mentioned here long time ago:
http://www.mail-archive.com/pyqt@riverbankcomputing.com/msg15603.html
Comment 1 chris292 2010-03-18 10:03:39 UTC
Sorry, lost a line in the code. Please add 

app.setApplicationName("anyName")

after 
app= QApplication ([])

The names in the error message are also wrong, but that doesn't matter. Simple copy'n'pase error...
Comment 2 Milian Wolff 2010-03-18 10:19:20 UTC
this has nothing to do with KDevelop, please pay attention where you report your bugs
Comment 3 Andrew Crouthamel 2018-11-10 03:11:18 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-11-17 05:27:26 UTC
Hello, unfortunately this bug is being closed as unmaintained, per request of einar77.