<div dir="ltr">Thanks,<div>I compiled libqmi with the patch and trying the sample code in the mailing-list I get the following error:</div><div><br></div><div>device is ready</div><div>device is open</div><div><div>Traceback (most recent call last):</div>
<div> File "./libqmi-test.py", line 25, in device_allocate_client_ready</div><div> client = device.allocate_client_finish(result) </div><div>AttributeError: 'Device' object has no attribute 'allocate_client_finish'</div>
<div><br></div></div><div>The method is in gir and printing all attributes from the object, the method is not there:</div><div><br></div><div>['__class__', '__copy__', '__deepcopy__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__gdoc__', '__ge__', '__getattribute__', '__gpointer__', '__grefcount__', '__gsignals__', '__gt__', '__gtype__', '__hash__', '__info__', '__init__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_force_floating', '_ref', '_ref_sink', '_unref', '_unsupported_data_method', '_unsupported_method', 'allocate_client', 'bind_property', 'bind_property_full', 'chain', 'close', 'command', 'compat_control', 'connect', 'connect_after', 'connect_object', 'connect_object_after', 'disconnect', 'disconnect_by_func', 'emit', 'emit_stop_by_name', 'force_floating', 'freeze_notify', 'g_type_instance', 'get_data', 'get_path', 'get_path_display', 'get_properties', 'get_property', 'get_qdata', 'get_service_version_info', 'handler_block', 'handler_block_by_func', 'handler_disconnect', 'handler_is_connected', 'handler_unblock', 'handler_unblock_by_func', 'init_async', 'init_finish', 'interface_find_property', 'interface_install_property', 'interface_list_properties', 'is_floating', 'is_open', 'new', 'new_finish', 'newv_async', 'notify', 'notify_by_pspec', 'open', 'open_finish', 'parent', 'priv', 'props', 'qdata', 'ref', 'ref_count', 'ref_sink', 'release_client', 'release_client_finish', 'replace_data', 'replace_qdata', 'run_dispose', 'set_data', 'set_instance_id', 'set_instance_id_finish', 'set_properties', 'set_property', 'steal_data', 'steal_qdata', 'stop_emission', 'stop_emission_by_name', 'thaw_notify', 'unref', 'watch_closure', 'weak_ref']<br>
</div><div><br></div><div>Any ideas?</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 7 August 2013 17:26, Dan Williams <span dir="ltr"><<a href="mailto:dcbw@redhat.com" target="_blank">dcbw@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Wed, 2013-08-07 at 09:49 +0200, Simone Ferlin-Oliveira wrote:<br>
> Hi,<br>
><br>
> I am wondering if there is any python 'binding' to work with libqmi?<br>
> I found few links in the mailing list, but no follow up.<br>
<br>
</div></div>Not at the moment. The best way is likely to add GObject Introspection<br>
annotations so that the existing Python GOI infrastructure could be<br>
utilized.<br>
<span class="HOEnZb"><font color="#888888"><br>
Dan<br>
<br>
</font></span></blockquote></div><br></div>