| 
			
			 | 
		#1 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,292 
				Karma: 1428263 
				Join Date: Dec 2016 
				Location: Goiânia - Brazil 
				
				
				Device: iPad, Kindle Paperwhite, Kindle Oasis 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Trouble running from source
			 
			
			
			Hi. 
		
	
		
		
			All of the sudden I'm getting this error when running from source: Code: 
	Python function terminated unexpectedly 'Application' object has no attribute 'styleHints' (Error Code: 1) calibre 4.6 64bits Window 10 x64 Last edited by thiago.eec; 12-13-2019 at 03:44 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905 
				Karma: 47303824 
				Join Date: Jul 2011 
				Location: Sydney, Australia 
				
				
				Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I'm not seeing a problem here. I can see the line that is causing this was added last month. Have you updated the installed to make sure the build matches the source?
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,292 
				Karma: 1428263 
				Join Date: Dec 2016 
				Location: Goiânia - Brazil 
				
				
				Device: iPad, Kindle Paperwhite, Kindle Oasis 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Yes. Source and calibre updated to the last version. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	To be sure, I've uninstalled calibre and removed the source code. Then, installed calibre 4.6 and cloned the git repo again. I keep getting the same error...  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			The only way I know of for that error to happen is if you are running the source against an out-of-date version of calibre and hence Qt.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,292 
				Karma: 1428263 
				Join Date: Dec 2016 
				Location: Goiânia - Brazil 
				
				
				Device: iPad, Kindle Paperwhite, Kindle Oasis 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Found the problem. I was having problem with my icons, so I had uninstalled calibre (and reinstalled after rebooting). But before installing again, I used my shortcut to run from source. At that point, I had only calibre 32 3.48 installed. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Even after I reinstalled calibre 64 4.6, the association remained with calibre 32 3.48, hence the error. All good now! Thanks for the hints, @davidfor and @kovidgoyal.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Trouble running Sigil 0.9.7 | John2011 | Sigil | 11 | 12-29-2016 08:28 AM | 
| Running from source and win_fonts | davidfor | Development | 4 | 10-02-2012 04:22 AM | 
| Running from source after V0.7.32 | chaley | Calibre | 0 | 12-04-2010 01:08 PM | 
| Note for those running from source and 0.7.2 | chaley | Calibre | 1 | 06-12-2010 09:19 AM | 
| Trouble running calibre-server | ould | Calibre | 0 | 04-16-2010 03:18 PM |