<div dir="ltr">Hi Dan, <div>I solved the problem from before because I have just seen the main patch and its remaining comments here:</div><div><a href="http://lists.freedesktop.org/archives/libqmi-devel/2012-November/000353.html">http://lists.freedesktop.org/archives/libqmi-devel/2012-November/000353.html</a><br>
</div><div><br></div><div>I followed your comments and the rest of the patch, but I still get one warning:</div><div>qmi-device.c:298: Warning: libqmi: qmi_device_get_service_version_info_finish: return value: Missing (element-type) annotation<br>
</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 7 August 2013 22:49, 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">On Wed, 2013-08-07 at 22:11 +0200, Simone Ferlin-Oliveira wrote:<br>
> Thanks,<br>
> I compiled libqmi with the patch and trying the sample code in the<br>
> mailing-list I get the following error:<br>
<br>
Which patch is that?<br>
<br>
Dan<br>
<br>
> device is ready<br>
> device is open<br>
> Traceback (most recent call last):<br>
> File "./libqmi-test.py", line 25, in device_allocate_client_ready<br>
> client = device.allocate_client_finish(result)<br>
><br>
> AttributeError: 'Device' object has no attribute 'allocate_client_finish'<br>
><br>
> The method is in gir and printing all attributes from the object, the<br>
> method is not there:<br>
><br>
> ['__class__', '__copy__', '__deepcopy__', '__delattr__', '__dict__',<br>
> '__doc__', '__eq__', '__format__', '__gdoc__', '__ge__',<br>
> '__getattribute__', '__gpointer__', '__grefcount__', '__gsignals__',<br>
> '__gt__', '__gtype__', '__hash__', '__info__', '__init__', '__le__',<br>
> '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__',<br>
> '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__',<br>
> '__weakref__', '_force_floating', '_ref', '_ref_sink', '_unref',<br>
> '_unsupported_data_method', '_unsupported_method', 'allocate_client',<br>
> 'bind_property', 'bind_property_full', 'chain', 'close', 'command',<br>
> 'compat_control', 'connect', 'connect_after', 'connect_object',<br>
> 'connect_object_after', 'disconnect', 'disconnect_by_func', 'emit',<br>
> 'emit_stop_by_name', 'force_floating', 'freeze_notify', 'g_type_instance',<br>
> 'get_data', 'get_path', 'get_path_display', 'get_properties',<br>
> 'get_property', 'get_qdata', 'get_service_version_info', 'handler_block',<br>
> 'handler_block_by_func', 'handler_disconnect', 'handler_is_connected',<br>
> 'handler_unblock', 'handler_unblock_by_func', 'init_async', 'init_finish',<br>
> 'interface_find_property', 'interface_install_property',<br>
> 'interface_list_properties', 'is_floating', 'is_open', 'new', 'new_finish',<br>
> 'newv_async', 'notify', 'notify_by_pspec', 'open', 'open_finish', 'parent',<br>
> 'priv', 'props', 'qdata', 'ref', 'ref_count', 'ref_sink', 'release_client',<br>
> 'release_client_finish', 'replace_data', 'replace_qdata', 'run_dispose',<br>
> 'set_data', 'set_instance_id', 'set_instance_id_finish', 'set_properties',<br>
> 'set_property', 'steal_data', 'steal_qdata', 'stop_emission',<br>
> 'stop_emission_by_name', 'thaw_notify', 'unref', 'watch_closure',<br>
> 'weak_ref']<br>
><br>
> Any ideas?<br>
><br>
><br>
><br>
> On 7 August 2013 17:26, Dan Williams <<a href="mailto:dcbw@redhat.com">dcbw@redhat.com</a>> wrote:<br>
><br>
> > 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>
> > 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>
> ><br>
> > Dan<br>
> ><br>
> ><br>
> _______________________________________________<br>
> libqmi-devel mailing list<br>
> <a href="mailto:libqmi-devel@lists.freedesktop.org">libqmi-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/libqmi-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libqmi-devel</a><br>
<br>
<br>
</blockquote></div><br></div>