Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

 I am trying to follow the github article: https://github.com/IBM/ELM-Python-Client/blob/master/elmclient/examples/OSLCQUERY.md

to use OSLCQuery on our SaaS Test Manager.

My query (run from a command prompt) :
oslcquery -J "https://telent-dng.clm.ibmcloud.com/" -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\oslcquery.exe__main__.py", line 7, in <module>
  File "C:\Users\daves\anaconda3\Lib\site-packages\elmclient\examples\oslcquery.py", line 814, in main
    do_oslc_query(sys.argv[1:])
  File "C:\Users\daves\anaconda3\Lib\site-packages\elmclient\examples\oslcquery.py", line 359, in do_oslc_query
    c = p.find_local_component(args.component)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\daves\anaconda3\Lib\site-packages\elmclient_qm.py", line 291, in find_local_component
    self.load_components_and_configurations()
  File "C:\Users\daves\anaconda3\Lib\site-packages\elmclient_qm.py", 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

0 votes

Comments

 You should create a github issue on https://github.com/IBM/ELM-Python-Client rather than asking here

 Thanks Ian - have done


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

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 160

Question asked: Jan 10 '24, 6:36 a.m.

Question was seen: 920 times

Last updated: Jan 11 '24, 7:24 a.m.

Confirmation Cancel Confirm