ZachGoldberg/MPD-UPnP — Issue #2: Incorrect arguments for GUPnP.Context
Author: nougad
Created: 2011-10-24 14:41:05+00:00
State: open

Sorry, for my dumb problem. I'am sure it relies to my setup. But I really like this project and I see the first time introspection. I what a great idea. So I don't want to give up.

The concrete error is:
$ python2 server.py
Traceback (most recent call last):
File "server.py", line 61, in
rd = setup_server()
File "server.py", line 26, in setup_server
ctx = GUPnP.Context(interface="eth0")
TypeError: function takes at most 0 arguments (1 given)

Perhaps you have an idea what the problem could be. I searched after GUPnP and introspection but in the end every time I ended at your name. So I ask you directly.

I using a gentoo box and build everything with gtk+ and introspection. I have this related packages installed:
media-libs/gupnp-dlna 0.6.2
net-libs/gupnp 0.16.1
net-libs/gupnp-av 0.8.0
net-libs/gupnp-igd 0.1.7
net-misc/gupnp-tools 0.8
dev-python/pygtk 2.24.0
dev-python/pygobject 2.28.6 / 3.0.2
dev-libs/gobject-introspection HEAD
net-libs/gssdp 0.10.0