All pastes #145311 Raw Edit

Anonymous

public text v1 · immutable
#145311 ·published 2006-08-22 22:35 UTC
rendered paste body
IronPython 1.0.60816 on .NET 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
>>> import clr
clr.AddReferenceToFileAndPath("/home/alp/Projects/dbus-sharp/src/NDesk.DBus.dll")
from NDesk.DBus import *
from org.freedesktop.DBus import *

conn = Connection()

opath = ObjectPath("/org/freedesktop/DBus")
name = "org.freedesktop.DBus"

prox = DProxy(conn, opath, name, IBus)>>> >>> >>> >>> >>> >>> >>> >>> >>> >>>
>>> remoteObj = prox.GetTransparentProxy()
>>> myBus = IBus(remoteObj)
Traceback (most recent call last):
TypeError: NoneType object is not callable
>>>