It's all about the answers!

Ask a question

[closed] Cannot understand how to use ELM-Python-Client

David Sedar (2817) | asked Jan 10, 6:36 a.m.
closed Jan 11, 7:24 a.m. by Ralph Schoon (63.1k33646)

 I am trying to follow the github article:

to use OSLCQuery on our SaaS Test Manager.

My query (run from a command prompt) :
oslcquery -J "" -A qm -p "TPCMS inc RemoteSecure" -P "xxx*" -U "xxx" -s dcterms:title -O qmresults.csv

returns the unhelpful response:
File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\daves\anaconda3\Scripts\", line 7, in <module>
  File "C:\Users\daves\anaconda3\Lib\site-packages\elmclient\examples\", line 814, in main
  File "C:\Users\daves\anaconda3\Lib\site-packages\elmclient\examples\", line 359, in do_oslc_query
    c = p.find_local_component(args.component)
  File "C:\Users\daves\anaconda3\Lib\site-packages\", line 291, in find_local_component
  File "C:\Users\daves\anaconda3\Lib\site-packages\", line 72, in load_components_and_configurations
    assert compuri is not None, "compuri is None"
AssertionError: compuri is None
Version 0.23.0
Warning - project 'TPCMS inc RemoteSecure' is opt-in but you didn't specify a component or a global configuration - using default component 'TPCMS inc RemoteSecure' - if this component name doesn't exist you'll get an error message

so far as I can tell our SaaS v7.0.2 Project is opt-in, but even adding '-C 8371'  produces no .csv file,
what am I doing wrong?
David Sedar

Ian Barnard commented Jan 10, 9:31 a.m.

 You should create a github issue on rather than asking here

David Sedar commented Jan 11, 7:22 a.m.

 Thanks Ian - have done

The question has been closed for the following reason: "Question is off-topic or not relevant" by rschoon Jan 11, 7:24 a.m.