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

Dragos Iorgulescu Dragos.Iorgulescu at enea.com
Thu Nov 2 12:19:43 UTC 2017


Okay, thanks a lot for your input!

I will schedule a server update, then.


Kind regards!
--
/Dragoş


On 2017-11-02 12:11:48+02:00 Remi Duraffort wrote:

run_query was added in July 2017 (https://git.linaro.org/lava/lava-server.git/commit/?id=bbc39489c<https://url10.mailanyone.net/v1/?m=1eACTQ-0003kP-4C&i=57e1b682&c=FEOi7d35qSx_FtjkAiMzdz8A7grwj6PbxOmPAX0O6KRNFRLTDx0dgVbvZ9kLRPASyr6T5KaEDQQE7JvdqAo32ifp8OhqVPHL33ogpV5WJZMkjmULesMJlsE1LWrzefdbHenSJ9lKliWq0r8dFHUZHe_6Q1FyBBPRIStgCdavyhKwwYCIBTl33ZPad_IH8SEYD6YwOY-COlsmOdi3kHd3ygHLF-ajObTbQZbqMdH8LT4YQX8-CGxdyAODwBmBNHOkDOfUX5ApcUFstLU6G4i2xA>) so It's not available in 2017.6

2017-11-02 10:51 GMT+01:00 Dragos Iorgulescu <Dragos.Iorgulescu at enea.com<mailto: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=1eACTQ-0003kP-4C&i=57e1b682&c=Ry2W9Y9GSbW_mD5shHfXvpQCcaUsOhFx7zFRjjlSR_ZIZTuJ7n5e-V7Gu7uqavPuuuIikDpYgZQQerxQ9Hzn14vqq2EvAdaJC592QkhriG7_bitjuyikakLsqbD0-l4kZIWgc3hOMGVlbE6t7nNt5y4HHsnISrg9-S-TlTBqlH1-GqsvOoOriI_xVz48otmP_xrZEIZeaJQRlA3qAlRASHYPr1-qJ5q4MgLL1CrXP0ois7iT7A2CgjvhUdsOCKEBeTGBZb08FgAQgmirVtNi6whUVz5f9-9YvmpiuClBzpsmF9Z4wy3Y4VcCVO68OwZcEy8xJD_-m48J9oOMBzOQkHyxDf9iJuV090WLFqZdg0NhlyZAFkVuuifC1PJWFO4HQlbPqOmnDsw-uua1OR3TRboLIRkD5_Azd7rpHj3pj1XuCBOGkcxmJCINgnGuZM0Duu0dJFxG0MlPQ_Ciq8VdBl68c8iEY2s18dgCyUsfc3spYIiBOc3ZbbG6HlI2mjo1UngDkbl2zyLjGG50inLsrdFXDNqEADEZEk-rXpUmdflZ0IOEjzO6HWaMReRP651WfP11-ArTYiZHqB1LjhhjXQ>  )
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=1eACTQ-0003kP-4C&i=57e1b682&c=swC5Zj8enMlpZXYBWwlZEDj0DZt_OJt74os5HvifZc64HqonXekqThTbGHE4tdHkkHEWWSHVsj0hRbzqx9VQNPwE6uhQA4coTdEhIgLXY3UP5ocq9XgsaWmZQOqDjLGWVWAhh0hSSkqamRA_T-NfE6oAFE38LT7kRpR9EgaGUiSr1qAj6X7KmnuaUe3ZMfKaNLJQ9aUWp48jXsNMe5zar_KvdnA_Kibog4nD98AKXcAKDG9cf7OCD3xkdlAy663F06TE4JsUcLPNBsQ2Dp9R8rQ9yBp6vDJZD-W1o5N6iVhvf2b3P1lYZ3ZiTjIXhd6c0cc2Pz-lKqclP6zDTqDp-wlJEzKk_aK3F3Jv-GM_pDP0FysVQlpwk-9bC5BER4wb6aO4b43GrGW5Y1pxSdl6MZcpgVF9Th_ArOxNp2PVfjPMmT0iiULhfwOu8KPrc4qUPpty2egpLoPWsjSmQJEo1hMsaMqEDnXGaJSAnc4NSPSJIxxwOJ-d5abaB6ViN6ds49nT1wqAEnSSBCAvm1PnMUYeJ7hQ_gpkejGJV_YcRSTgGgmVGfBx2i84VrDW5yHABg7J3B-wHdmehUl72jSiCTqDJMR8sq5s3-R-rdd_xOs> 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=1eACTQ-0003kP-4C&i=57e1b682&c=thzCg3rFHME0-_OKQPd3SEow0A66WBHphglbEhgLUD8noXucqj4V-xpuHKh5W447wEXtSQm48zfenqmGxNMnRLArBzy65AzQtA2ghjFT0Cot0U4dtcaZ1hkOsNOY3onSYaFG35Jjj9CI8iY4JMj9crFjfo_-55iGEegwUW24j3PWWcwVsyrp6zlKgpPu3WGOYYG7XMtOqPOisrGnWFX9Vc_Dq32NeSXB5OIzpS7lsa3dwoUUIU56RP53F4F7vNCIiWWKqcGI359cNuOLb9ridFHkUFOJpZvOoXAw_2Xj0s7oK-uZhPr9VZs_wrmDjBKfeNkLBXj9uivmcznCnr0wEaU4ILEfijwqGoyRkSNDTvNe5M2tey6uQLbCaIso6fEUK7099CU9oX4GMIIIBfVoihQX8V7xm_LY0SW06Im4b4Xvt41uWvbmytXMk2x2cjtAHJ7UwZ9gcsal_ab2wgJrTmhbk62q1kSBzii_0F4cfncmhDg6960ZWBDDUJNOqWzKJia7-Ay_BSB1pTuOS-EoTFCFDjtfbFgdGbETv0W9EMdU0W1NHy7rlJJ04Ed1h1R3Q3s5dOdGf27X6oSjklENmio6rhCQVaO7X0_f-a1DNCE> (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/cb7793b8/attachment.html>


More information about the Lava-users mailing list