title: Cannot call klipper methods in dbus with python
body: <p>I try to call methods from klipper bus with python. But I could not make it. Here is what i try:</p>
  
  <pre><code>&gt;&gt;&gt; import dbus
  &gt;&gt;&gt; bus = dbus.SessionBus()
  &gt;&gt;&gt; proxy = bus.get_object("org.kde.klipper","/org/kde/klipper")
  &gt;&gt;&gt; print proxy
  &lt;ProxyObject wrapping &lt;dbus._dbus.SessionBus (session) at 0x7fc249da3bf0&gt; :1.67 /org/kde/klipper at 0x7fc249dc16d0&gt;
  &gt;&gt;&gt; iface = dbus.Interface(proxy,"org.kde.klipper.klipper")
  &gt;&gt;&gt; print iface
  &lt;Interface &lt;ProxyObject wrapping &lt;dbus._dbus.SessionBus (session) at 0x7fc249da3bf0&gt; :1.67 /org/kde/klipper at 0x7fc249dc16d0&gt; implementing 'org.kde.klipper.klipper' at 0x7fc249dc1790&gt;
  &gt;&gt;&gt; print iface.getClipboardContents()
  ERROR:dbus.proxies:Introspect error on :1.67:/org/kde/klipper: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownObject: No such object path '/org/kde/klipper'
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 68, in __call__
      return self._proxy_method(*args, **keywords)
    File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 140, in __call__
      **keywords)
    File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 622, in call_blocking
      message, timeout)
  dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownObject: No such object path '/org/kde/klipper'
  </code></pre>
  
  <p>As you can see it sets both proxy and interface. But I cannot call methods via this interface.</p>
  
  <p>What can I do? What am i doing wrong?</p>
  
  <p>Edit Solved: </p>
  
  <p>Well when i look to "qdbusviewer" I saw the exact path of klipper.
  So changing </p>
  
  <pre><code>&gt;&gt; proxy = bus.get_object("org.kde.klipper","/org/kde/klipper")
  </code></pre>
  
  <p>this line with this:</p>
  
  <pre><code>&gt;&gt;&gt; proxy = bus.get_object("org.kde.klipper","/klipper")
  </code></pre>
  
  <p>Solves the problem.</p>
  
  <p>I hope this post help someone</p>