| 
			
			 | 
		#46 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 244 
				Karma: 291844 
				Join Date: Oct 2019 
				
				
				
				Device: Kobo Nia 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			@chaley 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Luckily for me I only 2 tasks enabled in the startup tab. (trackballworks and Windows Security Notification Icon) And after 2 reboots where I disabled one, still no change regardless of which 1 is disabled.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#47 | |
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,525 
				Karma: 8065948 
				Join Date: Jan 2010 
				Location: Notts, England 
				
				
				Device: Kobo Libra 2 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 This guide should help.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#48 | |
| 
			
			
			
			 Bibliophagist 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48,174 
				Karma: 174315444 
				Join Date: Jul 2010 
				Location: Vancouver 
				
				
				Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 One suggestion is to run MSConfig. Under the Services tab, hide all Microsoft services. Check to see if any of the non-Microsoft services is disabled. If so, make a note of those services for later. Click on disable all. Restart your computer and see if ctrl-R to restart calibre now works. This will let you know if a Microsoft service is the cause of your issue. You can now use MSConfig to re-enable all the non-Microsoft services and then re-disable any that were previously disabled.  | 
|
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#49 | 
| 
			
			
			
			 Custom User Title 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,358 
				Karma: 79528341 
				Join Date: Oct 2018 
				Location: Canada 
				
				
				Device: Kobo Libra H2O, formerly Aura HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Personally, I find MiTeC's Task Manager DeLuxe a useful thing for troubleshooting things like this.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#50 | |
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 244 
				Karma: 291844 
				Join Date: Oct 2019 
				
				
				
				Device: Kobo Nia 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 So clean. And had no impact on the issue at hand. Unfortunately. @DNSB I have a look tomorrow at this and will compare what runs in safe mode to normal mode to see which services aren't running in safe mode. Then I'll disable non Microsoft services to see if that is an issue.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#51 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 244 
				Karma: 291844 
				Join Date: Oct 2019 
				
				
				
				Device: Kobo Nia 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Right well I disabled all the non Microsoft services, rebooted and it made zero difference. 
		
	
		
		
		
		
		
		
		
		
		
		
		
			However the discovery that Calibre will always restart when you click the restart button in the Plugins dialog box does mean that there is a different code path for that restart compared to the keyboard restart or Preference menu. I had a look at the code but don't understand the code flow. I'm leaving it here as it isn't essential but at least others will find this thread when searching should they have the same issue. I'll just have to add a plugin if I want to restart ![]() ![]()  
		Last edited by georgemk; 10-18-2020 at 06:00 AM. Reason: fix spelling  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#52 | |
| 
			
			
			
			 null operator (he/him) 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,018 
				Karma: 30277294 
				Join Date: Mar 2012 
				Location: Sydney Australia 
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 BR  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#53 | |
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 244 
				Karma: 291844 
				Join Date: Oct 2019 
				
				
				
				Device: Kobo Nia 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 So it is the keystroke method, the Preferences Debug menu and the restart icon on the toolbar that do not restart.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#54 | |
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			No, it's the exact same code path. Restart happens in gui2/main.py and there only, all the various restart methods simply set a flag that code checks. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#55 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 244 
				Karma: 291844 
				Join Date: Oct 2019 
				
				
				
				Device: Kobo Nia 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Well the end result is different so the question must be why. Basically when Calibre asks me to click restart, it does; when I ask, it doesn't.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#56 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Since its not restarting because something on your computer is stopping it, the question is why is that something behaving differently.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#57 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 244 
				Karma: 291844 
				Join Date: Oct 2019 
				
				
				
				Device: Kobo Nia 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I cannot say why it behaves differently. Only that it does. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I appreciate that as you cannot reproduce it, it is impossible for you to go further. It's not a show stopper in terms of functionality, just a curio.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#58 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,027 
				Karma: 500000 
				Join Date: Jun 2015 
				
				
				
				Device: Rocketbook, kobo aura h2o, kobo forma, kobo libra color 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			It still could be a race condition caused by background tasks made worse by low memory.  Maybe when calibre asks to restart, the background tasks are in a state where they can exit quickly.  Safe mode helps because there's less stuff loaded in memory, it's not any specific thing.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#59 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			there's no race left. The namedpipe that is generating the error is now closed before even launching the new child process. it doesnt matter how long the parent process takes to exit.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#60 | 
| 
			
			
			
			 null operator (he/him) 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,018 
				Karma: 30277294 
				Join Date: Mar 2012 
				Location: Sydney Australia 
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			If Ctrl+r and Shift+Ctrl+r are okay in Safe mode but not in Normal mode, that suggests to me that is there something running in Normal mode, that is not running in Safe mode.  Something that acts on, but doesn't consume the key sequences. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	You can get a list of current processes as a CSV via the command line or powershell ==>> Windows Tip: 3 Ways to Print A List of Running Processes BR  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| CTRL & SHIFT Not Working When Selecting Multiple Books | Apache | Calibre | 5 | 08-06-2017 08:33 PM | 
| Book view ctrl+v | rbruce1314 | Sigil | 25 | 05-15-2015 08:12 AM | 
| Ctrl-7 for <p> tags | phossler | Editor | 3 | 02-25-2014 06:40 PM | 
| Calibre 0.7.22 Ctrl D not working as well as 0.7.21 | logs | Calibre | 2 | 10-08-2010 02:33 PM | 
| iLiad No 'Ctrl' on iLiad?! | ericshliao | iRex Developer's Corner | 7 | 11-06-2008 07:12 PM |