| 
			
			 | 
		#1 | 
| 
			
			
			
			 Enthusiast 
			
			![]() ![]() ![]() ![]() Posts: 41 
				Karma: 392 
				Join Date: Sep 2010 
				
				
				
				Device: kindle 
				
				
				 | 
	
	
	
		
		
			
			 
				
				SQLError Message whenever I do anything.
			 
			
			
			I keep getting this error message whenever I try to do anything in Calibre 
		
	
		
		
		
		
		
		
		
		
		
		
	
	It reads as follows (i can't seem to copy it to here) ERROR: Unhandled Exception SQLError:SQLError: No such table: notes_db notes Normally if I just click OK it disappears but it doesn't always. Regards Larry  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Quit calibre. go into the calibre library folder and delete a subfolder named .calnotes
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Enthusiast 
			
			![]() ![]() ![]() ![]() Posts: 41 
				Karma: 392 
				Join Date: Sep 2010 
				
				
				
				Device: kindle 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Thx Kovid 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Unfortunately I can't find a sub-folder or a file with that name.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Guru 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 793 
				Karma: 1538394 
				Join Date: Sep 2013 
				
				
				
				Device: Kobo Sage 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			In File Explorer, turn on the option to show Hidden files.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Enthusiast 
			
			![]() ![]() ![]() ![]() Posts: 41 
				Karma: 392 
				Join Date: Sep 2010 
				
				
				
				Device: kindle 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Still can't find it.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#6 | 
| 
			
			
			
			 Enthusiast 
			
			![]() ![]() ![]() ![]() Posts: 41 
				Karma: 392 
				Join Date: Sep 2010 
				
				
				
				Device: kindle 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Just realised that Kovid said to go into the Calibre Library folder.  Whereas I was looking in the Calibre2 folder in the Programs Files folder. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	However I cannot find a Calibre Library folder either (or am I still looking in the wrong place?)  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | |
| 
			
			
			
			 want to learn what I want 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,681 
				Karma: 7908443 
				Join Date: Sep 2020 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 the subfolder .calnotes, if visible depending on your file explorer settings (menu view -> options -> show hidden files and folders, via explorer ribbon), will be in your library folder 'root' level  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | |
| 
			
			
			
			 Zealot 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 110 
				Karma: 1133068 
				Join Date: Sep 2007 
				
				
				
				Device: ipaq 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 C:\users\yourname\Calibre Library The library is the *folder* that contains metadata.db. And *all* the files and sub-folders in that folder. So, you could search your whole hard drive for metadata.db. Open a command prompt and type "DIR C:\metadata.db /s" This will search all folders you have permission to see, and should find your library relatively quickly. (Depending how big your drive is, it could take a couple/few minutes)  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#9 | 
| 
			
			
			
			 Enthusiast 
			
			![]() ![]() ![]() ![]() Posts: 41 
				Karma: 392 
				Join Date: Sep 2010 
				
				
				
				Device: kindle 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Sorted - at last.  Senility rushes on. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Thx everyone.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#10 | 
| 
			
			
			
			 Enthusiast 
			
			![]() ![]() ![]() ![]() Posts: 41 
				Karma: 392 
				Join Date: Sep 2010 
				
				
				
				Device: kindle 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			The same problem is re-occurring, regularly.  Is there any way to permanently solve the problem?  Should I go back to a previous version? 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Any help/advice should be written slowly as I'm getting old & feeling older.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#11 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			This issue will happen when some other program is interfering with calibre. Try excluding the calibre library folder from all antivirus and filesync type programs. Also try rebooting windows in safe mode and see if the problem stops occurring there, that will confirm it is some program interfering.
		 
		
	
		
		
		
		
		
		
		
		
		
		
		
			Last edited by kovidgoyal; 04-28-2024 at 01:32 AM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#12 | 
| 
			
			
			
			 Enthusiast 
			
			![]() ![]() ![]() ![]() Posts: 41 
				Karma: 392 
				Join Date: Sep 2010 
				
				
				
				Device: kindle 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Thx Kovid, unfortunately at my time of life it's just all too difficult.  Would an older version of Calibre help.\?
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#13 | |
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,784 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 What AV are you using? If you are using Windows, you could go into Task Manager and see if you can turn off your AV from startup and see what happens. Last edited by JSWolf; 04-30-2024 at 02:58 PM.  | 
|
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#14 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 3 
				Karma: 10 
				Join Date: Oct 2019 
				
				
				
				Device: Kobo 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Just adding this to help others if you come across this as I did. A possible reason for this: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I run my database from a USB Drive in Windows 11 on a laptop. After a short time I would get this annoying message: sqlerror:no such table: notes_db.notes For me Windows was turning on Power Saving options for the USB Drive. Fixed via Device Manager under Universal Serial Bus controller - USB Mass Storage Device - Power Management tab and deselect "Allow the computer to turn off this device to save power".  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Calibre not recognizing library - SQLError: no such table: notes_db.notes | MarcoDiWA | Library Management | 4 | 03-28-2025 01:00 PM | 
| calibre database error (SQLError:SQLError: no such table: notes_db.notes) | JSWolf | Calibre | 18 | 12-03-2023 05:48 PM | 
| Sqlerror:no such savepoint: _apsw-0 calibre | uncletoma | Calibre | 5 | 03-22-2018 10:21 AM | 
| welcome message | mmajid | Introduce Yourself | 1 | 07-09-2007 04:17 PM |