| 
			
			 | 
		#1 | 
| 
			
			
			
			 Enthusiast 
			
			![]() Posts: 26 
				Karma: 10 
				Join Date: Jan 2015 
				
				
				
				Device: Samsung Tab A7 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Error Message after editing the book in metadata
			 
			
			
			Hi Admin, 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I am getting the following message whenever I edit a book in the metadata and save it. It saves under both edits. For example, If I edit the author name from "Lee Chilld" to "Lee Child". I have a folder of both the author names. I have to manually delete the wrong folder after this. Please help. Code: 
	calibre, version 5.36.0 ERROR: Permission denied: Could not change the on disk location of this book. Is it open in another program? Locked file: C:\Users\chara\Documents\Calibre new\Rain, Sarrana\13 Steps to Optimum Self-Esteem fo (12127) Traceback (most recent call last): File "calibre\db\backend.py", line 403, in rmtree_with_retry File "shutil.py", line 737, in rmtree File "shutil.py", line 619, in _rmtree_unsafe File "shutil.py", line 617, in _rmtree_unsafe PermissionError: [WinError 5] Access is denied: 'C:\\Users\\chara\\Documents\\Calibre new\\Rain, Sarrana\\13 Steps to Optimum Self-Esteem fo (12127)' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "calibre\gui2\metadata\single.py", line 606, in apply_changes File "calibre\gui2\metadata\basic_widgets.py", line 430, in commit File "calibre\db\legacy.py", line 912, in func File "calibre\db\cache.py", line 74, in call_func_with_lock File "calibre\db\cache.py", line 1248, in set_field File "calibre\db\cache.py", line 1261, in update_path File "calibre\db\backend.py", line 1697, in update_path File "calibre\db\backend.py", line 1245, in rmtree File "calibre\db\backend.py", line 408, in rmtree_with_retry File "shutil.py", line 737, in rmtree File "shutil.py", line 619, in _rmtree_unsafe File "shutil.py", line 617, in _rmtree_unsafe PermissionError: [WinError 5] Access is denied: 'C:\\Users\\chara\\Documents\\Calibre new\\Rain, Sarrana\\13 Steps to Optimum Self-Esteem fo (12127)'  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#3 | |
| 
			
			
			
			 Enthusiast 
			
			![]() Posts: 26 
				Karma: 10 
				Join Date: Jan 2015 
				
				
				
				Device: Samsung Tab A7 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	 | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 null operator (he/him) 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,018 
				Karma: 30277294 
				Join Date: Mar 2012 
				Location: Sydney Australia 
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Your library is in your Documents folder (C:\Users\chara\Documents\Calibre new') which by default is a Windows Controlled folder, that's been known to create access problems. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Try turning Controlled Folder Access off, it's in Windows Security->Ransomware Protection. If that's the problem, move your library out of Documents, which you can do that via the Library Switch/Create tool… I suggest somewhere like Code: 
	C:\Users\chara\Calibre\Calibre new BR  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Error message while editing an epub | Frenchguy | Editor | 6 | 11-01-2017 04:47 PM | 
| Error when editing metadata - Old file/folder can't get deleted | Googa | Library Management | 2 | 08-16-2017 04:09 AM | 
| Locked File message when editing metadata | madelonw | Library Management | 1 | 09-29-2013 07:17 PM | 
| Error Messages after editing Metadata | mogli@home | Calibre | 7 | 03-15-2013 02:28 AM | 
| Fetch metadata error message | Ginnia | Calibre | 3 | 10-27-2010 05:10 PM |