Project

General

Profile

Bug #10268

Updated by François ARMAND about 7 years ago

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:  

 <pre> 
 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 
 </pre> 

 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.

Back