Project

General

Profile

Actions

Bug #10268

closed

technique editor return error 500 and /var/rudder/ncf/50_techniques/ empty

Added by François ARMAND almost 8 years ago. Updated over 2 years ago.

Status:
Released
Priority:
2
Category:
Web - Technique editor
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

We have an user on irc who, when saving a techniqe from editor, waited a long time and nothing happen. When reloading the page, he now gets:

An Error occured! Unknown internal error during techniques fetching
Details: Cause: No JSON object could be decoded Traceback (most recent call last): File "/usr/share/ncf/api/ncf_api_flask_app/views.py", line 115, in get_techniques techniques = ncf.get_all_techniques_metadata(alt_path = path) File "/usr/share/ncf/tools/ncf.py", line 554, in get_all_techniques_metadata method_calls = parse_technique_methods(file) File "/usr/share/ncf/tools/ncf.py", line 294, in parse_technique_methods promises = json.loads(out) File "/usr/lib/python2.7/json/__init__.py", line 339, in loads return _default_decoder.decode(s) File "/usr/lib/python2.7/json/decoder.py", line 364, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded

Moreover, /var/rudder/ncf/local only contains ncf.conf, ncf_hash_file but no 50_techniques. The content of /var/rudder/configuration-repository/ncf/ seems ok.
And "rudder agent update && rudder agent run" does not copy back the content.


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #8142: Technique editor no more usable if mismatched/unclosed ${} $() in inputRejectedActions
Actions

Also available in: Atom PDF