Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

looking at pydbus 0.5.1 #16

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

looking at pydbus 0.5.1 #16

wants to merge 3 commits into from

Conversation

hh
Copy link
Contributor

@hh hh commented Aug 12, 2016

It's a start, at least we get on the right bus, and are calling the register.

# python dbus.py                                                               
(process:1467): GLib-GIO-CRITICAL **: g_bus_own_name_on_connection: assertion 'g_dbus_is_name (name) && !g_dbus_is_unique_name (name)' failed
Traceback (most recent call last):
  File "dbus.py", line 77, in <module>
    foo = Foo(bus=bus, path='/net/lvht/Foo')
  File "dbus.py", line 20, in __init__
    bus.publish(path,self)
  File "/root/btk/src/pydbus/pydbus/publication.py", line 33, in publish
    return Publication(self, bus_name, *objects)
  File "/root/btk/src/pydbus/pydbus/publication.py", line 26, in __init__
    self._at_exit(bus.register_object(path, object, node_info).__exit__)
  File "/root/btk/src/pydbus/pydbus/registration.py", line 125, in register_object
    return ObjectRegistration(self.con, path, interfaces, wrapper, own_wrapper=True)
  File "/root/btk/src/pydbus/pydbus/registration.py", line 105, in __init__
    ids = [con.register_object(path, interface, wrapper.call_method, wrapper.get_property, wrapper.set_property) for interface in interfaces]
TypeError: argument vtable: Expected Gio.DBusInterfaceVTable, but got pydbus.registration.instancemethod

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants