| 
			
			 | 
		#466 | 
| 
			
			
			
			 Deviser 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,265 
				Karma: 2090983 
				Join Date: Aug 2013 
				Location: Texas 
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Version 1.0.157 Python 3 compatibility; Miscellaneous technical changes.
			 
			
			
			Version 1.0.157 - 2019-05-13 Python 3 compatibility; Miscellaneous technical changes. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	DaltonST  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#467 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,327 
				Karma: 5306 
				Join Date: Jan 2014 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I'm having trouble with Import csv to update metadata. 
		
	
		
		
		
		
		
		
		
		
		
		
		
			As long as there are ' in the words in the csv-file it doesn't find the match in Calibre. I've tried everything I can think of, but nothing works. I've copied the tag from csv to calibre. I've copied the tag from calibre to csv. Here's an example: This is in Calibre: Hobbit, Homecoming of Beorhtnoth Beorhthelm’s Son This is from my CSV-file: Hobbit,Homecoming of Beorhtnoth Beorhthelm’s Son If you need more examples let me know. Also, it's not just when there's multiple tags. It also happens when there's only one tag. Last edited by Tanjamuse; 06-13-2019 at 04:57 AM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#468 | 
| 
			
			
			
			 Deviser 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,265 
				Karma: 2090983 
				Join Date: Aug 2013 
				Location: Texas 
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Your example works fine for me.  Please create a new little CSV having only samples of the data for which you are having problems.  Then, run Calibre in debug mode and post the debug log, which will show exactly what is going on.   
		
	
		
		
		
		
		
		
		
		
		
		
	
	DaltonST  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#469 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,327 
				Karma: 5306 
				Join Date: Jan 2014 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Here's the debug-log:
		 
		
	
		
		
			 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#470 | 
| 
			
			
			
			 Deviser 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,265 
				Karma: 2090983 
				Join Date: Aug 2013 
				Location: Texas 
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Tanjamuse: 
		
	
		
		
		
		
		
		
		
		
		
		
		
			Caused by the Python 3 changes. Please test the attached .zip and tell me if it works for you now. If so, I will upload it officially. DaltonST Last edited by DaltonST; 06-13-2019 at 03:37 PM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#471 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,327 
				Karma: 5306 
				Join Date: Jan 2014 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			It now recognizes the single fandoms and one of the crossovers, but not both. 
		
	
		
		
			I've attached another debug-log.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#472 | 
| 
			
			
			
			 Deviser 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,265 
				Karma: 2090983 
				Join Date: Aug 2013 
				Location: Texas 
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Have you tried first "contains" and second "is contained in"? 
		
	
		
		
		
		
		
		
		
		
		
		
	
	You might have to execute it twice for every CSV file, changing the matching expression each time. DaltonST  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#473 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,327 
				Karma: 5306 
				Join Date: Jan 2014 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I've tried the "contains" option and because it also recognizes bits of a tag, I don't think it's a good solution for me. With the "is contained in" it recognizes everything it's supposed to and none of the others. I thought (based on the tooltips) and your post here: https://www.mobileread.com/forums/sh...&postcount=456 that it was the other way around? 
		
	
		
		
			I've attached the csv and log file for the run I just did.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#474 | 
| 
			
			
			
			 Deviser 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,265 
				Karma: 2090983 
				Join Date: Aug 2013 
				Location: Texas 
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Does that mean that "is contained in" works 100% for you now and the problem you first reported is totally resolved?
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#475 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,327 
				Karma: 5306 
				Join Date: Jan 2014 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			No, I just did another test. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Added the following in the meta_fandom: Hobbit, Romances And that's picked up by the single hobbit tag in the csv file. I'll have to mark the ones with the amount of fandoms I want to check before i run the update and then only use the csv which has crossovers and not single fandoms.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#476 | 
| 
			
			
			
			 Deviser 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,265 
				Karma: 2090983 
				Join Date: Aug 2013 
				Location: Texas 
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Sounds like you have the option for "Single Tag Matching" checked "yes".  As the ToolTips say, that supersedes the "matching expression".  Please re-read the ToolTips for them both.  You may need to run with and without the "Single Tag Matching" checked "yes". 
		
	
		
		
		
		
		
		
		
		
		
		
	
	DaltonST  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#477 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,327 
				Karma: 5306 
				Join Date: Jan 2014 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I haven't got the single tag matching option.
		 
		
	
		
		
			 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#478 | 
| 
			
			
			
			 Deviser 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,265 
				Karma: 2090983 
				Join Date: Aug 2013 
				Location: Texas 
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Sorry, I meant the "Unique Tag Matching" checkbox.  Its ToolTips talk about a "single" Tag.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#479 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,327 
				Karma: 5306 
				Join Date: Jan 2014 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I don't have the checkmark in that. 
		
	
		
		
			Below is the screenshot from my latest run and the debug-log. I don't understand why the csv recognizes this: Hobbit, Homecoming of Beorhtnoth Beorhthelm’s Son but not this: d'Artagnan Romances, Three Musketeers (Books) Has it something to do with the parenthesis?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#480 | 
| 
			
			
			
			 Deviser 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,265 
				Karma: 2090983 
				Join Date: Aug 2013 
				Location: Texas 
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			The "(Books)" should not matter at all.   
		
	
		
		
		
		
		
		
		
		
		
		
	
	Check the number of blank spaces in "Three Musketeers (Books)" in the Calibre metadata. Extra spaces make it different. Test: Swap the first and second Tags in "d'Artagnan Romances, Three Musketeers (Books)", then see what happens.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
| Tags | 
| author aka, author pen name, colors, toolbag, toolbox, tools | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| [GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 527 | 08-15-2025 02:36 PM | 
| [GUI Plugin] Ex Libris | AlPe | Plugins | 87 | 10-10-2020 04:10 PM | 
| [GUI Plugin] Marvin XD | Philantrop | Plugins | 126 | 01-29-2017 01:48 PM | 
| Ubuntu/Linux : Command to schedule a job with Calibre.( No GUI ) | DurgaPrasad | Calibre | 0 | 10-16-2013 07:50 AM | 
| [GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 01:27 PM |