| 
			
			 | 
		#136 | 
| 
			
			
			
			 Diligent dilettante 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,662 
				Karma: 52758936 
				Join Date: Sep 2019 
				Location: in my mind 
				
				
				Device: Kobo Sage; Kobo Libra Colour 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I didn't reindex all, but I did reindex new books before running a search. From memory, I think it was about 15-20 new books
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#137 | 
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77 
				Karma: 90088 
				Join Date: Jul 2020 
				
				
				
				Device: android 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#138 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,292 
				Karma: 1428263 
				Join Date: Dec 2016 
				Location: Goiânia - Brazil 
				
				
				Device: iPad, Kindle Paperwhite, Kindle Oasis 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Hi, @mapozyan. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	When you changed from QPushButton to QToolButton, I think you might have forgotten to handle the enter pressing event. Now, when you type your search and hit enter, the Help window pops up.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#139 | 
| 
			
			
			
			 Bibliophagist 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48,175 
				Karma: 174315444 
				Join Date: Jul 2010 
				Location: Vancouver 
				
				
				Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			When I attempted to re-index all books, I got the following error message: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Code: 
	calibre, version 5.14.0
ERROR: Unhandled exception: <b>AttributeError</b>:'NoneType' object has no attribute 'library_id'
calibre 5.14 [64bit]  embedded-python: True is64bit: True
Windows-10-10.0.19041 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', '', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: DeDRM (7, 1, 0) && Annotations (1, 15, 0) && Baen (1, 2, 0) && Barnes & Noble (1, 2, 16) && Calibre Power Search Plugin (2, 0, 1) && Count Pages (1, 11, 0) && Diaps Editing Toolbag (0, 3, 7) && EpubCheck (0, 2, 3) && EpubMerge (2, 11, 0) && EpubSplit (3, 0, 0) && FanFicFare (4, 1, 0) && Fantastic Fiction (1, 4, 0) && Find Duplicates (1, 8, 5) && Goodreads (1, 5, 1) && Hyphenate This! (0, 1, 3) && ISFDB (3, 0, 0) && Job Spy (1, 0, 190) && Kindle hi-res covers (0, 5, 0) && KindleUnpack - The Plugin (0, 83, 0) && Kobo Books (1, 8, 2) && Kobo Utilities (2, 13, 1) && KoboTouchExtended (3, 4, 4) && Modify ePub (1, 6, 3) && Obok DeDRM (7, 1, 0) && Open With (1, 5, 13) && Quality Check (1, 11, 2) && Resize Cover (1, 1, 0) && ScrambleEbook (0, 4, 5) && SmartEject (2, 3, 0) && Smashwords Metadata (1, 0, 2)
Traceback (most recent call last):
  File "calibre_plugins.caps.main", line 627, in on_reindex_all
  File "calibre\db\cache.py", line 172, in library_id
AttributeError: 'NoneType' object has no attribute 'library_id'
 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#140 | 
| 
			
			
			
			 Bibliophagist 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48,175 
				Karma: 174315444 
				Join Date: Jul 2010 
				Location: Vancouver 
				
				
				Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Yet another glitch.  After wiping the indexes, I did a re-index on new books in both my libraries.  When I switched libraries, I had to close calibre and re-open it otherwise PowerSearch kicked up an error.  After the indexing, I still get the same error when I switch libraries: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Code: 
	calibre, version 5.14.0
ERROR: Unhandled exception: <b>AttributeError</b>:'NoneType' object has no attribute 'clear_search_caches'
calibre 5.14 [64bit]  embedded-python: True is64bit: True
Windows-10-10.0.19041 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', '', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: DeDRM (7, 1, 0) && Annotations (1, 15, 0) && Baen (1, 2, 0) && Barnes & Noble (1, 2, 16) && Calibre Power Search Plugin (2, 0, 1) && Count Pages (1, 11, 0) && Diaps Editing Toolbag (0, 3, 7) && EpubCheck (0, 2, 3) && EpubMerge (2, 11, 0) && EpubSplit (3, 0, 0) && FanFicFare (4, 1, 0) && Fantastic Fiction (1, 4, 0) && Find Duplicates (1, 8, 5) && Goodreads (1, 5, 1) && Hyphenate This! (0, 1, 3) && ISFDB (3, 0, 0) && Job Spy (1, 0, 190) && Kindle hi-res covers (0, 5, 0) && KindleUnpack - The Plugin (0, 83, 0) && Kobo Books (1, 8, 2) && Kobo Utilities (2, 13, 1) && KoboTouchExtended (3, 4, 4) && Modify ePub (1, 6, 3) && Obok DeDRM (7, 1, 0) && Open With (1, 5, 13) && Quality Check (1, 11, 2) && Resize Cover (1, 1, 0) && ScrambleEbook (0, 4, 5) && SmartEject (2, 3, 0) && Smashwords Metadata (1, 0, 2)
Traceback (most recent call last):
  File "calibre_plugins.caps.main", line 234, in on_search_all
  File "calibre_plugins.caps.main", line 247, in on_search
  File "calibre_plugins.caps.main", line 523, in do_search
  File "calibre\db\view.py", line 380, in set_marked_ids
AttributeError: 'NoneType' object has no attribute 'clear_search_caches'
 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#141 | 
| 
			
			
			
			 Custom User Title 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,359 
				Karma: 79528341 
				Join Date: Oct 2018 
				Location: Canada 
				
				
				Device: Kobo Libra H2O, formerly Aura HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I only installed the new version of ElasticSearch after my current version failed.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#142 | 
| 
			
			
			
			 Custom User Title 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,359 
				Karma: 79528341 
				Join Date: Oct 2018 
				Location: Canada 
				
				
				Device: Kobo Libra H2O, formerly Aura HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I installed 2.0.1. and set it to re-index all my books and it seems to be working now.  
		
	
		
		
		
		
		
		
		
		
		
		
	
	 
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#143 | |
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77 
				Karma: 90088 
				Join Date: Jul 2020 
				
				
				
				Device: android 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Bad news is that QToolButton doesn't have "default" property. Will need to figure out how to emulate that. Thanks for feedback!  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#144 | |
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77 
				Karma: 90088 
				Join Date: Jul 2020 
				
				
				
				Device: android 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#145 | 
| 
			
			
			
			 Diligent dilettante 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,662 
				Karma: 52758936 
				Join Date: Sep 2019 
				Location: in my mind 
				
				
				Device: Kobo Sage; Kobo Libra Colour 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I did the same, and had no errors. I actually forgot to select "reindex all books" and just hit "reindex new books", but it took 30+ minutes, so obviously it was a reindex of my entire library, with no errors
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#146 | |
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,292 
				Karma: 1428263 
				Join Date: Dec 2016 
				Location: Goiânia - Brazil 
				
				
				Device: iPad, Kindle Paperwhite, Kindle Oasis 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 There must be a more elegant way to do this but this kind of work: Spoiler: 
 I said "kind of work" because it sets the 'Details' button as default, so it will be activated after a conversion starts.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#147 | |
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77 
				Karma: 90088 
				Join Date: Jul 2020 
				
				
				
				Device: android 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 https://github.com/mapozyan/caps/com...4b20ddd79de3f9  
		 | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#148 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 7 
				Karma: 10 
				Join Date: Apr 2021 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Power Serach 2.0.1 crashes Calibre
			 
			
			
			Hi! 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Has anyone else seen this problem? Everything worked fine with Power Search 2.0.1 until suddenly pressing the Power Search button terminates Calibre. Fired up calibre-debug.exe -g and it writes this message to the console: QWidget::repaint: Recursive repaint detected OS: Windows 10 Calibre: 5.14 Elastic Search: 7.12.0 Power Search: 2.0.1 Cheers  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#149 | |
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77 
				Karma: 90088 
				Join Date: Jul 2020 
				
				
				
				Device: android 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#150 | |
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 7 
				Karma: 10 
				Join Date: Apr 2021 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 I have a second monitor attached to my laptop. I just was able to reproduce the issue on the primary monitor. Then tried it with calibre on the secondary screen and it was not reproducible anymore (on neither screen). This was the third time it happened. Not 100% sure if this is related to the screen I'm on....  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
| Thread Tools | Search this Thread | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| [GUI Plugin] Search the Internet | kiwidude | Plugins | 436 | 05-12-2025 10:02 PM | 
| [GUI Plugin] Clipboard Search | kiwidude | Plugins | 29 | 04-02-2024 11:05 PM | 
| [GUI Plugin] Recoll Full Text Search | Satas | Plugins | 16 | 08-05-2016 04:54 AM | 
| [GUI Plugin] Full Text Search (SOLR) | peterpisljar | Plugins | 2 | 08-09-2015 09:16 AM | 
| Make a simple Plugin for Full Text Search using Recoll | Satas | Development | 9 | 07-20-2013 05:15 PM |