Bug 148949 - Problem 'volume' function in JuK DCOP interface over python
Summary: Problem 'volume' function in JuK DCOP interface over python
Status: RESOLVED UNMAINTAINED
Alias: None
Product: bindings
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kde-bindings
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-18 01:24 UTC by Garami Gabor
Modified: 2010-01-20 21:20 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 Garami Gabor 2007-08-18 01:24:16 UTC
Version:           2.3.4 (using KDE KDE 3.5.7)
Installed from:    Gentoo Packages
Compiler:          gcc 4.1.2 gcc (GCC) 4.1.2 20070214 (  (gdc 0.23, using dmd 1.007)) (Gentoo 4.1.2 p1.0.1)
OS:                Linux

In the JuK mediaplayer DCOP interface, the 'float volume()' call with python is
not returns any value or any exception. But, over shell script its give a
correct value.

The used code:

import pydcop

volume = DCOPMethod('juk', 'Player', 'volume')
print "Volume : " + str(volume())

Result:
Volume : None

But in shell:

hron@merlin ~/Projects/pyjuk $ dcop juk Player volume
0.409600
hron@merlin ~/Projects/pyjuk $

This bug reported in Gentoo Bugzilla #186611 bug. (http://bugs.gentoo.org/show_bug.cgi?id=186611)
Comment 1 Garami Gabor 2007-08-18 01:27:58 UTC
The first line of example code has an typo:

from pydcop import DCOPMethod

is a correct line. But, with this change, the bug is still reproduceable.
Comment 2 Scott Wheeler 2007-08-20 18:51:51 UTC
If this works on the command line then it's a bug in the Python bindings, not in JuK.  Reassigning.
Comment 3 Dario Andres 2010-01-20 21:20:15 UTC
Closing as DCOP is unmaintained.