Project

General

Profile

Actions

Bug #18369

closed

Broken ncf doc build

Added by Alexis Mousset about 4 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Documentation
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
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)


Subtasks 1 (0 open1 closed)

Bug #18382: Parent also needed in 6.1ReleasedVincent MEMBRÉActions
Actions #1

Updated by Alexis Mousset about 4 years ago

  • Project changed from Rudder to 41
  • Category set to Documentation
Actions #2

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 Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/ncf/pull/1247
Actions #4

Updated by Alexis Mousset about 4 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset commit:492956e5523536b6a545c4005b0a7d62d67db0b0.

Actions #5

Updated by Vincent MEMBRÉ about 4 years ago

  • Status changed from Pending release to Released

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

Actions #6

Updated by François ARMAND about 4 years ago

  • Fix check changed from To do to Checked
Actions #7

Updated by Alexis Mousset over 2 years ago

  • Project changed from 41 to Rudder
  • Category changed from Documentation to Documentation
Actions

Also available in: Atom PDF