[Lava-users] "No such method: u'results.run_query'" when trying to access queries from a Python script

Remi Duraffort remi.duraffort at linaro.org
Thu Nov 2 10:11:17 UTC 2017


run_query was added in July 2017 (
https://git.linaro.org/lava/lava-server.git/commit/?id=bbc39489c) so It's
not available in 2017.6

2017-11-02 10:51 GMT+01:00 Dragos Iorgulescu <Dragos.Iorgulescu at enea.com>:

> Hi Remi,
>
> I am using 2017.6-1. It's a production server and I don't upgrade it too
> often.
>
> --
> /Dragoş
>
>
> On 2017-11-02 11:23:54+02:00 Remi Duraffort wrote:
>
> Hello,
>
>>
>> The only thing I get stuck on is an XML-RPC lib error: *"No such method:
>> u'results.run_query'"* (the whole traceback can be seen here:
>> https://paste.debian.net/993833/
>> <https://url10.mailanyone.net/v1/?m=1eABik-00013I-3c&i=57e1b682&c=Alnoyaar9ixO2CYP9yA5vTCBzstpsJuuvt9yI3ylgQFOyJ14LNy7zkujHmsHZqouUdaoAQM8eLmlj0xuhi6Yq6OpT0KNu24AVulNdVWBYyM5NR3wXZlaJuCQlH8dq4OokSFyk8ry8fBJ4PtEdBnS935H0nWYk0qVbIDdNH8RpPajRuHSyHIPIgjEstFuPHLpyN3jXngn2qWmlREd9tE5OelBWrboPBM57Gww2B3GbAw>
>>   )
>>
> Which version of LAVA do you have on the server?
>
>> The API Help page is not reachable/present at the moment (nor on
>> https://validation.linaro.org/static/api/help
>> <https://url10.mailanyone.net/v1/?m=1eABik-00013I-3c&i=57e1b682&c=JuXVXuT1bX98IKjXnLjoCOAbXFqDkqkwN32SvXyrTO4ZO3SGzHENBDQo9xrSyuMdqwY1tM-Y0ZudANt5xff4736yHDop_hfsN0VxMKMqxrpTkHmOAYlygCQGjicZgRelJnLO_1OIWNgV-KRr-y8TMUtBB3PxMECC6N0xzwTE3DRgcEamo0yBKMA_6OtyGZOEv_0MSV-kNWhYHRS0NBBL9NmDs3ph7emBCe4I_yqpuUPgdEUX5zwotfGisAnzDNS6> or
>> on our own LAVA instance ), so I am unable to check whether or not the
>> method's name has changed since the last doc update.
>>
> The list of methods is available at https://validation.linaro.
> org/api/help/
> <https://url10.mailanyone.net/v1/?m=1eABik-00013I-3c&i=57e1b682&c=F-yFhXgRcbEO6r_xW32TYdidNIhhDprX4E0nJAzq95wwmyw9uibSwIwbK3jn5U6Y58fj9ugc8JH5gl3YCmIamxZLH5UB4B4_mWcydlq_XEKZMDynfi1sWu7GDBmWYLHn1kkx6jnj8RJN7RBJhdbfi2s4gYcN3tLaIPsYtensqGHhylxaUcHdVKrjg7txjEQhe5LdOIi1OdvVOt42__zZMqwNh8oafsj_DnDbvca1lgV3c1SW12dvRJ5icmzynlKW>
> (the /static/ should be removed from your url).
> --
> Rémi Duraffort
> LAVA Team
>
>


-- 
Rémi Duraffort
LAVA Team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linaro.org/pipermail/lava-users/attachments/20171102/a3c2b64f/attachment.html>


More information about the Lava-users mailing list