| 
			
			 | 
		#796 | 
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 61 
				Karma: 1852838 
				Join Date: Jul 2007 
				Location: Russia 
				
				
				Device: Kobo Aura H₂O & iPad Pro 2020 12.9" 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Hi. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I have a couple of authors that Kobo Utilities fail to update book covers for. I think it's because of the filename length and/or use of apostrophes: Spoiler: 
 All of the authors in question are local (in Russian/Cyrillic) and the generated filenames are being automatically transliterated by Calibre, if it helps. Calibre and all of the plugins are up to date. And this error was always there since I started using this plugin (since 1.8.0, IIRC).  | 
| 
		 | 
	
	
| 
			
			 | 
		#797 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,698 
				Karma: 79983758 
				Join Date: Nov 2007 
				Location: Toronto 
				
				
				Device: Libra H2O, Libra Colour 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			David; you might be interested in this thread over in the CC forum. Set Library Information / JSON serializable error
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
| 
			
			 | 
		#798 | |
| 
			
			
			
			 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 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
| 
			
			 | 
		#799 | |
| 
			
			
			
			 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 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 I also made a lot of changes over the last week. I don't remember going near this, but, I did refactor some code. And add a couple of new functions. And even updated the help! I'll probably put up a beta with this tonight.  | 
|
| 
		 | 
	
	
| 
			
			 | 
		#800 | |
| 
			
			
			
			 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 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
| 
			
			 | 
		#801 | 
| 
			
			
			
			 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 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Beta - Remove annotation files and Related books
			 
			
			
			Here is another beta with two new functions: 
		
	
		
		
			
 I also did some work on the help. It still needs a lot of work, but it is better than it was. I also created an ePub from it, but mainly because I was using the calibre editor to write it. As usual, I am interested in any reports on the new or existing function. Bugs with details of what went wrong will help me fix it. And any suggestions for improvements are welcome. But, I don't promise to implement them.  | 
| 
		 | 
	
	
| 
			
			 | 
		#802 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,698 
				Karma: 79983758 
				Join Date: Nov 2007 
				Location: Toronto 
				
				
				Device: Libra H2O, Libra Colour 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			David; attached find two debug log files. Both are from the same sequence of operations 
		
	
		
		
			
 In one case, Kobo Utilities was configured NOT to backup reading location; in the other case, Kobo Utilities was configured to backup reading location. With the reading location being stored, the second attach of the Nexus 7 via Calibre Companion fails. Not sure how to proceed from here. Would you like me to try with a cleaner calibre environment (ie, calibre portable and possibly the production version of Kobo Utilities as opposed to the beta version)?  | 
| 
		 | 
	
	
| 
			
			 | 
		#803 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,698 
				Karma: 79983758 
				Join Date: Nov 2007 
				Location: Toronto 
				
				
				Device: Libra H2O, Libra Colour 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			OK.. I retried with a simplified calibre portable installation and the production version of the utilities. Exact same error.
		 
		
	
		
		
			 | 
| 
		 | 
	
	
| 
			
			 | 
		#804 | 
| 
			
			
			
			 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 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Ok, I've installed the 1.8.11 beta and I've managed to get it to blow up good. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Code: 
	calibre, version 2.14.0
ERROR: Unhandled exception: <b>TypeError</b>:can't compare datetime.datetime to NoneType
calibre 2.14  isfrozen: True is64bit: False
Windows-7-6.1.7601-SP1 Windows ('32bit', 'WindowsPE')
('Windows', '7', '6.1.7601')
Python 2.7.8
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Successfully initialized third party plugins: DeDRM && Hyphenate This! && Favourites Menu && KindleUnpack - The Plugin && Count Pages && Manage Series && Kobo Utilities && Obok DeDRM && Find Duplicates && EpubSplit && Quality Check && Modify ePub
Traceback (most recent call last):
  File "calibre_plugins.koboutilities.action", line 786, in handle_bookmarks
  File "calibre_plugins.koboutilities.action", line 1001, in store_current_bookmark
  File "calibre_plugins.koboutilities.action", line 3612, in _store_current_bookmark
TypeError: can't compare datetime.datetime to NoneType
I also selected ondevice:true and then selected the entire list to update the custom fields. Only one book had any values in the custom fields.  | 
| 
		
 | 
	
	
| 
			
			 | 
		#805 | 
| 
			
			
			
			 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 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			In Store or Restore Bookmark, there should be options to clear the custom fields for any selected books and for any books no on the Reader. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Without this, we get a mess of in the custom fields that we might not want to keep.  | 
| 
		
 | 
	
	
| 
			
			 | 
		#806 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,686 
				Karma: 12595249 
				Join Date: Jun 2009 
				Location: Madrid, Spain 
				
				
				Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I've tested "Remove Annotation Files => Empty" and I've got a fail: "Fail: Cleaning image directory" and the following log: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Spoiler: 
 Note: The failure text is "similar" as I'm using the Spanish version.  | 
| 
		 | 
	
	
| 
			
			 | 
		#807 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,698 
				Karma: 79983758 
				Join Date: Nov 2007 
				Location: Toronto 
				
				
				Device: Libra H2O, Libra Colour 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			David; chaley has a change committed that he thought might fix the json error. I tried running from source but it didn't seem to work. https://github.com/kovidgoyal/calibre/pull/351
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
| 
			
			 | 
		#808 | |
| 
			
			
			
			 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 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Could you try the manual, non-background store? I think it will have the same error, but it does use a different code path, so maybe it won't. I just got an Android phone, so hopefully I can reproduce it with that. But, it might be the weekend before I can try.  | 
|
| 
		 | 
	
	
| 
			
			 | 
		#809 | |
| 
			
			
			
			 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 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 But, yes, I have considered adding this. I haven't bothered to because I can clear all the fields easily enough using the metadata editor. And so far the only reasons I have needed to do this has been to reset the status while testing the plugin. That makes it a very low priority for me. If I get a few people clamouring for it, maybe that will change.  | 
|
| 
		 | 
	
	
| 
			
			 | 
		#810 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,698 
				Karma: 79983758 
				Join Date: Nov 2007 
				Location: Toronto 
				
				
				Device: Libra H2O, Libra Colour 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			OK... Issue is related to the background store option. 
		
	
		
		
			Time stamp shown is the last read time. If I do a non-background store, no issue. If I do a background store, failure. (Both runs in the same attached log; calibre restarted between runs)  | 
| 
		 | 
	
	
![]()  | 
            
        
            
| Tags | 
| calibre, kobo, kobo utilities, kobo-utilities, plugins | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| [GUI Plugin] Manga plugin | mastertea | Plugins | 7 | 10-30-2025 01:13 AM | 
| [GUI Plugin] Save Virtual Libraries To Column (GUI) | chaley | Plugins | 14 | 04-04-2021 06:25 AM | 
| Kobo Utilities Plugin Question | nikev | Kobo Reader | 10 | 09-26-2018 12:55 AM | 
| [GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 01:27 PM |