Project

General

Profile

Bug #15178

Updated by Alexis Mousset over 5 years ago

It fails with: 

 <pre> 
 Cause: [Errno 2] No such file or directory: '/var/rudder/configuration-repository/ncf/50_techniques/undefined' 
 Traceback (most recent call last): 
   File "/usr/share/ncf/api/ncf_api_flask_app/views.py", line 176, in delete_technique 
     ncf.delete_technique(bundle_name,path) 
   File "/usr/share/ncf/tools/ncf.py", line 743, in delete_technique 
     shutil.rmtree(filename) 
   File "/usr/lib/python2.7/shutil.py", line 239, in rmtree 
     onerror(os.listdir, path, sys.exc_info()) 
   File "/usr/lib/python2.7/shutil.py", line 237, in rmtree 
     names = os.listdir(path) 
 OSError: [Errno 2] No such file or directory: '/var/rudder/configuration-repository/ncf/50_techniques/undefined' 
 </pre> 

 It should just delete it in the browser instead 

 This is a template, please edit and remove what is not relevant. 

 I found this bug in ncf version [Your Version here], on [Distribution here] 

 This bug happens: 

 * When you click on the save button 
 * When the agent runs  
 * ... 

 Description: 


 You can reproduce it with the following steps: 

 * ... 
 * ... 

 You can workaround this issue by doing likewise: 

Back