Project

General

Profile

Actions

Bug #18371

closed

Rudder-lang doc build broken by ncf parameter

Added by Alexis Mousset about 4 years ago. Updated about 3 years ago.

Status:
Released
Priority:
N/A
Assignee:
Gaëtan POBLON
Category:
rudderc
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

Traceback (most recent call last):
  File "./ncf-repo/tools/ncf_doc_rudder.py", line 67, in <module>
    generic_methods = ncf.get_all_generic_methods_metadata()["data"]["generic_methods"]
  File "/home/amousset/projects/doc/src/reference/dependencies/ncf-repo/tools/ncf.py", line 485, in get_all_generic_methods_metadata
    result = parse_generic_method_metadata(content)
  File "/home/amousset/projects/doc/src/reference/dependencies/ncf-repo/tools/ncf.py", line 148, in parse_generic_method_metadata
    return parse_bundlefile_metadata(technique_content, "generic_method")
  File "/home/amousset/projects/doc/src/reference/dependencies/ncf-repo/tools/ncf.py", line 191, in parse_bundlefile_metadata
    constraint = json.loads("{" + match.group(4)+ "}")
  File "/usr/lib64/python3.8/json/__init__.py", line 357, in loads
    return _default_decoder.decode(s)
  File "/usr/lib64/python3.8/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib64/python3.8/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Invalid \escape: line 1 column 16 (char 15)
Actions #1

Updated by Alexis Mousset about 4 years ago

  • Status changed from New to In progress
  • Assignee set to Alexis Mousset
Actions #3

Updated by Alexis Mousset about 4 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to Gaëtan POBLON
  • Pull Request set to https://github.com/Normation/rudder/pull/3287
Actions #4

Updated by Alexis Mousset about 4 years ago

  • Status changed from Pending technical review to Pending release
Actions #5

Updated by Vincent MEMBRÉ about 3 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 7.0.0~beta1 which was released today.

Actions

Also available in: Atom PDF