get_module_info returns error
Bug Report
- Please make sure you have selected the correct template (bug report/feature request) from the Description drop-down menu above.
- You can switch to either "plain text editing" or "rich text editing" as you prefer at the bottom of this text box.
- Please do not delete any of the below fields!
- Please fill out all fields below.
Summary
Ph2_ACF: v6-16 dirigent installation steps: git clone https://gitlab.cern.ch/cms_tk_ph2/dirigent.git deltavcal && cd deltavcal git checkout -b 3.3.0 3.3.0 git submodule update --init --recursive . install.sh
While running get_module_info, after entering the credentials and the following errors are observed:
ERROR: ParseError Details: not well-formed (invalid token): line 34, column 113 Traceback (most recent call last): File "/var/software/dirigent/deltavcal/deps/resthub_dev/clients/python/src/main/python/rhapi.py", line 739, in run self.pprint(api.folders(verbose=options.verbose)) File "/var/software/dirigent/deltavcal/deps/resthub_dev/clients/python/src/main/python/rhapi.py", line 417, in folders return list(self.get(["tables"], verbose=verbose).keys()) File "/var/software/dirigent/deltavcal/deps/resthub_dev/clients/python/src/main/python/rhapi.py", line 358, in get resp = self._action(action, headers=headers, url=callurl, data=data) File "/var/software/dirigent/deltavcal/deps/resthub_dev/clients/python/src/main/python/rhapi.py", line 286, in _action cookies, force_level = self.cprov(self.url, force_level) File "/var/software/dirigent/deltavcal/deps/resthub_dev/clients/python/src/main/python/rhapi.py", line 276, in <lambda> CernSSO().login_sign_on(url, force_level=force_level,login_type='2fa'), force_level) File "/var/software/dirigent/deltavcal/deps/resthub_dev/clients/python/src/main/python/rhapi.py", line 189, in login_sign_on action, form_data = self.read_form(r3) File "/var/software/dirigent/deltavcal/deps/resthub_dev/clients/python/src/main/python/rhapi.py", line 100, in read_form root = self.html_root(r) File "/var/software/dirigent/deltavcal/deps/resthub_dev/clients/python/src/main/python/rhapi.py", line 97, in html_root return ET.fromstring(c) File "/usr/lib64/python3.9/xml/etree/ElementTree.py", line 1347, in XML parser.feed(text) xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 34, column 113
and the process freezes.
Expected Result
Load the correct values from the database.
Actual Result
The process freezes.
Steps to Reproduce
- dirigent get_module_info
modules.json instruments.json dirigent.toml dirigent.log status.log logs.zip installation.log --> the prints on the terminal when I install dirigent
Checklist
Please note: depending on the issue, log files may be found either in your working directory, or in the Results_dirigent/ folder
-
I have attached my dirigent.toml,instruments.json, andmodules.jsonfiles -
I have attached the Ph2 ACF XML file -
I have attached the dirigent.logandstatus.logfiles -
I have zipped and attached the Ph2 ACF logs/folder
Final steps
- Please assign this report to @mfranks below.
- Add the label "bug" in the Labels field below.
- Please ignore Epic, Milestone, Weight, Due date, and Iteration fields below.