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)
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.
If this works on the command line then it's a bug in the Python bindings, not in JuK. Reassigning.
Closing as DCOP is unmaintained.