| 
			
			 | 
		#76 | 
| 
			
			
			
			 Bibliophagist 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48,175 
				Karma: 174315444 
				Join Date: Jul 2010 
				Location: Vancouver 
				
				
				Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Not sure if this is a bug in the Kobo Books plugin (1.8.0), calibre version 5.0.1, a Python 3 issue or a thread safe issue with calibre 5.0.1 but I get an erratic error when downloading metadata with this plugin.  The lovely part is that it is erratic which is what leans me to the thread safe issue. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Code: 
	Traceback (most recent call last): File "calibre_plugins.kobobooks.__init__", line 167, in identify File "site-packages\mechanize\_mechanize.py", line 241, in open_novisit File "site-packages\mechanize\_mechanize.py", line 277, in _mech_open File "site-packages\mechanize\_opener.py", line 158, in _request File "site-packages\mechanize\_request.py", line 74, in __init__ File "site-packages\mechanize\_urllib2_fork.py", line 192, in __init__ File "site-packages\mechanize\_urllib2_fork.py", line 178, in normalize_url File "site-packages\mechanize\_urllib2_fork.py", line 175, in safe_encode LookupError: unknown encoding: idna idna? International Domain Names for Applications?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#77 | |
| 
			
			
			
			 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've seen a couple of other reports like this. They did seem to be for books being fetched that would need more than basic ASCII. Again, I don't know if it is mishandling the encoding at the plugin end, the thread safe issue, or maybe something missing in mechanize.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#78 | 
| 
			
			
			
			 Bibliophagist 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48,175 
				Karma: 174315444 
				Join Date: Jul 2010 
				Location: Vancouver 
				
				
				Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I checked the names and there are no special characters in the title or author.  Of course, now that I am trying to generate the full log, it worked 10 times running. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I'll leave it until Kovid Goyal has done his rewrite of the zipimport module to make it thread safe.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#79 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 14 
				Karma: 10 
				Join Date: Mar 2021 
				
				
				
				Device: Kobo Libra H2O 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Good afternoon, this plugin has suddenly stopped fetching metadata from Kobo for me, even as I can confirm that the book is in the Kobo web shop (I have even attempted to fetch metadata for books I had successfully matched previously, just to troubleshoot). 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I have attached the log below. I have attempted to delete and reinstall the plugin, but the issue persists. I am using Calibre 5.13 on OSX 10.14.6. The only other interesting thing about my log is that Amazon has also suddenly disappeared from the metadata search, which makes me wonder if the issue is truly with Calibre. Spoiler: 
 Thank you for any insight or assistance you can provide!  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#80 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 21 
				Karma: 10 
				Join Date: Sep 2020 
				
				
				
				Device: Kobo Libra H2O 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I have the same issue on my side since yesterday
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#81 | 
| 
			
			
			
			 Bibliophagist 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48,175 
				Karma: 174315444 
				Join Date: Jul 2010 
				Location: Vancouver 
				
				
				Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			For what it's worth, I tested several books that worked with Kobo previously and no results today.  I reverted back to calibre 5.11 and 5.12 and no results with either of those. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Spoiler: 
 
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#82 | 
| 
			
			
			
			 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 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Probably a change on the page. I'll have a look as soon as I can.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#83 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 14 
				Karma: 10 
				Join Date: Mar 2021 
				
				
				
				Device: Kobo Libra H2O 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#84 | 
| 
			
			
			
			 Diligent dilettante 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,662 
				Karma: 52758936 
				Join Date: Sep 2019 
				Location: in my mind 
				
				
				Device: Kobo Sage; Kobo Libra Colour 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Ah, whew! I thought it might have been just me - no covers grabbed from Kobo books in the last week or more despite knowing the book is there
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#85 | 
| 
			
			
			
			 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 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Update to version 1.8.1
			 
			
			
			I have just released version 1.8.1 of the plugin. This is to fix the problems dues to recent changes to the site. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	The change in this release is: 
 Calibre will announce the update in the next hour or so. If there are any issues, please report them here.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#86 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 21 
				Karma: 10 
				Join Date: Sep 2020 
				
				
				
				Device: Kobo Libra H2O 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Thanks for this update 
		
	
		
		
		
		
		
		
		
		
		
		
	
	It seems to work on my PC but not on my mac where I get the following error : Traceback (most recent call last): File "calibre_plugins.kobobooks.__init__", line 169, in identify open('E:\\t.html', 'wb').write(raw) OSError: [Errno 30] Read-only file system: 'E:\\t.html' Regards,  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#87 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 21 
				Karma: 10 
				Join Date: Sep 2020 
				
				
				
				Device: Kobo Libra H2O 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			In fact, it doesn't work on my PC either. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	The error is as follows: calibre, version 5.13.0 ERREUR : Aucune correspondance trouvée: <p>Impossible de trouver un livre correspondant à votre recherche. Essayer de faire une recherche <b>moins spécifique</b>. Par exemple, utiliser seulement le nom de famille de l'auteur et un mot distinctif du titre.<p> Pour voir le journal en entier, cliquer "Afficher les détails. Running identify query with parameters: {'title': 'OLIVIER TWIST', 'authors': ['Charles Dickens'], 'identifiers': {}, 'timeout': 30} Using plugins: Kobo Books (1, 8, 1) The log from individual plugins is below ****************************** Kobo Books (1, 8, 1) ****************************** Found 0 results Downloading from Kobo Books took 0.8340098857879639 identify - title: "OLIVIER TWIST" authors= "['Charles Dickens']" create_query - title: "OLIVIER TWIST" create_query - after decode title: "OLIVIER TWIST" create_query - title_tokens: "['OLIVIER', 'TWIST']" Querying: https://www.kobo.com/search?Query=OL...clanguages=all Failed to make identify query: 'https://www.kobo.com/search?Query=OLIVIER+TWIST+Charles+Dickens&fcmedia =Book&fclanguages=all' Traceback (most recent call last): File "calibre_plugins.kobobooks.__init__", line 169, in identify open('E:\\t.html', 'wb').write(raw) OSError: [Errno 30] Read-only file system: 'E:\\t.html' ************************************************** ****************************** The identify phase took 1.02 seconds The longest time (0.834010) was taken by: Kobo Books Merging results from different sources We have 0 merged results, merging took: 0.00 seconds  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#88 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 3 
				Karma: 10 
				Join Date: Mar 2021 
				
				
				
				Device: Kobo Touch 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Same problem here on a MBP 
		
	
		
		
		
		
		
		
		
		
		
		
	
	calibre, version 5.13.0 ERROR: No matches found: <p>Failed to find any books that match your search. Try making the search <b>less specific</b>. For example, use only the author's last name and a single distinctive word from the title.<p>To see the full log, click "Show details". ****************************** Kobo Books (1, 8, 1) ****************************** Found 0 results Downloading from Kobo Books took 0.7994861602783203 identify - title: "xxxxxx" authors= "['xxxxxxxxx']" create_query - title: "xxxxxxxx" create_query - after decode title: "xxxxxxxxxx" create_query - title_tokens: "[xxxxxx]" Querying: https://www.kobo.com/search?Query=xx...clanguages=all Failed to make identify query: 'https://www.kobo.com/search?Query=xxxxxxxxxx&fcmedia=Book&fclanguages=a ll' Traceback (most recent call last): File "calibre_plugins.kobobooks.__init__", line 169, in identify open('E:\\t.html', 'wb').write(raw) OSError: [Errno 30] Read-only file system: 'E:\\t.html' ************************************************** ******************************  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#89 | 
| 
			
			
			
			 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 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Update to version 1.8.2
			 
			
			
			Sorry, I left in a debugging statement that would only work on a Windows machine that has a writeable E drive. The worst thing is that I didn't even use it. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I have just uploaded the fix. That will be announced by calibre in the next hour or so.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#90 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 21 
				Karma: 10 
				Join Date: Sep 2020 
				
				
				
				Device: Kobo Libra H2O 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			It seems to work now. Thanks for the responsiveness
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| [Metadata Source Plugin] Goodreads | kiwidude | Plugins | 784 | 04-27-2025 06:23 AM | 
| [Metadata Source Plugin] BOL.com (DE) | Pr.BarnArt | Plugins | 52 | 06-01-2023 05:50 PM | 
| [Metadata Source Plugin] Comicvine | chewt0y | Plugins | 88 | 07-11-2022 01:00 PM | 
| [Metadata Source Plugin] INMONDADORI | Pr.BarnArt | Plugins | 7 | 12-03-2021 01:56 PM |