python version in plugin

Ivar Eskerud Smith <[email protected]>
Newsgroups gmane.comp.gnome.apps.rhythmbox.devel
Message-ID <CAKMMrDKGwm49qcJTbAYMZ8xRBbEi20fFwQgcw==4CUzDZ0oLcQ@mail.gmail.com>
Hi, this might be more of a pure Python question... but:
I am writing a upnp control point plugin using coherence for rhythmbox so
that one can send whatever is played to a network mediarenderer, for
instance a WDTV live. The problem is that on my system (kubuntu natty) I
have both Python 2.6 and 2.7 installed, and as far as I have understood
coherence is not tested against Python 2.7, so I`d like to try it with
Python 2.6. It is Python 2.7 that is chosen when my plugin is run in
rhythmbox, and I get an error about
File "/usr/lib/pymodules/python2.6/dbus/service.py", line 252, in
_method_reply_return
    reply.append(signature=signature, *retval)
ValueError: Unable to guess signature from an empty list

How can I specify what modules/versions of Python to use? I know how I can
check for the python version nr., but that does not help much. I want to
tell the plugin to use python 2.6 or 2.5, if found.

regards, Ivar

_______________________________________________
rhythmbox-devel mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/rhythmbox-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.