Project

General

Profile

Actions

Bug #18371

closed

Rudder-lang doc build broken by ncf parameter

Added by Alexis Mousset almost 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

Also available in: Atom PDF