View Single Post
Old 03-14-2021, 02:18 PM   #79
josephyw
Member
josephyw began at the beginning.
 
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:
Running identify query with parameters:
{'title': 'The Mental Life of Modernism: Why Poetry, Painting, and Music Changed at the Turn of the Twentieth Century', 'authors': ['Keyser, Samuel Jay'], 'identifiers': {}, 'timeout': 30}
Using plugins: Kobo Books (1, 8, 0), Google (1, 0, 2), Amazon.com (1, 2, 15)
The log from individual plugins is below

****************************** Kobo Books (1, 8, 0) ******************************
Found 0 results
Downloading from Kobo Books took 0.7739720344543457
identify - title: "The Mental Life of Modernism: Why Poetry, Painting, and Music Changed at the Turn of the Twentieth Century" authors= "['Keyser, Samuel Jay']"
create_query - title: "The Mental Life of Modernism: Why Poetry, Painting, and Music Changed at the Turn of the Twentieth Century"
create_query - after decode title: "The Mental Life of Modernism: Why Poetry, Painting, and Music Changed at the Turn of the Twentieth Century"
create_query - title_tokens: "['The', 'Mental', 'Life', 'of', 'Modernism']"
Querying: https://www.kobo.com/search?Query=Th...clanguages=all
failed using three divs
Have close enough match - title='Why Poetry, Painting, and Music Changed at the Turn of the Twentieth Century', id='the-mental-life-of-modernism-1'
failed using three divs
Plugin Kobo Books failed
Traceback (most recent call last):
File "calibre/ebooks/metadata/sources/identify.py", line 47, in run
File "calibre_plugins.kobobooks.__init__", line 177, in identify
self._parse_search_results(log, title, root, matches, timeout)
File "calibre_plugins.kobobooks.__init__", line 238, in _parse_search_results
title_ref = item_info.xpath('./p/a')[0]
IndexError: list index out of range

************************************************** ******************************

****************************** Google (1, 0, 2) ******************************
Found 1 results
Downloading from Google took 0.8786907196044922


---
Title : The Mental Life of Modernism: Why Poetry, Painting, and Music Changed at the Turn of the Twentieth Century
Author(s) : Samuel Jay Keyser
Publisher : MIT Press
Tags : Science, Cognitive Science, Art, History, Modern (Late 19th Century to 1945), Philosophy, Aesthetics
Languages : eng
Published : 2020-03-10T17:34:12.514516+00:00
Identifiers : google:0IHRDwAAQBAJ, isbn:9780262043496
Comments : An argument that Modernism is a cognitive phenomenon rather than a cultural one.At the beginning of the twentieth century, poetry, music, and painting all underwent a sea change. Poetry abandoned rhyme and meter; music ceased to be tonally centered; and painting no longer aimed at faithful representation. These artistic developments have been attributed to cultural factors ranging from the Industrial Revolution and the technical innovation of photography to Freudian psychoanalysis. In this book, Samuel Jay Keyser argues that the stylistic innovations of Western modernism reflect not a cultural shift but a cognitive one. Behind modernism is the same cognitive phenomenon that led to the scientific revolution of the seventeenth century: the brain coming up against its natural limitations. Keyser argues that the transformation in poetry, music, and painting (the so-called sister arts) is the result of the abandonment of a natural aesthetic based on a set of rules shared between artist and audience, and that this is virtually the same cognitive shift that occurred when scientists abandoned the mechanical philosophy of the Galilean revolution. The cultural explanations for Modernism may still be relevant, but they are epiphenomenal rather than causal. Artists felt that traditional forms of art had been exhausted, and they began to resort to private formats—Easter eggs with hidden and often inaccessible meaning. Keyser proposes that when artists discarded their natural rule-governed aesthetic, it marked a cognitive shift; general intelligence took over from hardwired proclivity. Artists used a different part of the brain to create, and audiences were forced to play catch up.
Making query: https://books.google.com/books/feeds...ewability=none
No results found, retrying without sub-title
Making query: https://books.google.com/books/feeds...ewability=none

************************************************** ******************************

****************************** Amazon.com (1, 2, 15) ******************************
Found 0 results
Downloading from Amazon.com took 1.2236919403076172
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36 Edg/87.0.664.66
Server: auto
Making google query: https://www.google.com/search?q=Ment...www.amazon.com
Ignoring div with no descendant
Ignoring div with no descendant
Ignoring div with no descendant
Ignoring div with no descendant
Ignoring div with no descendant
Ignoring div with no descendant
Ignoring div with no descendant
Ignoring div with no descendant
Ignoring div with no descendant
Ignoring div with no descendant
Failed to find any results on results page, with title: Mental Life of Modernism: Why Poetry, Painting, Music Changed at Turn of Twentieth Century Samuel Jay Keyser site:www.amazon.com - Google Search
No search engine results for terms: Mental Life of Modernism: Why Poetry, Painting, Music Changed at Turn of Twentieth Century Samuel Jay Keyser
Trying the bing search engine instead
Making bing query: https://www.bing.com/search?q=Mental...www.amazon.com
Failed to find any results on results page, with title: Mental Life of Modernism: Why Poetry, Painting, Music Changed at Turn of Twentieth Century Samuel Jay Keyser site:www.amazon.com - Bing
No search engine results for terms: Mental Life of Modernism: Why Poetry, Painting, Music Changed at Turn of Twentieth Century Samuel Jay Keyser
No matches found with query: ['Mental', 'Life', 'of', 'Modernism:', 'Why', 'Poetry,', 'Painting,', 'Music', 'Changed', 'at', 'Turn', 'of', 'Twentieth', 'Century', 'Samuel', 'Jay', 'Keyser']

************************************************** ******************************
The identify phase took 1.42 seconds
The longest time (1.223692) was taken by: Amazon.com
Merging results from different sources
We have 1 merged results, merging took: 0.00 seconds


Thank you for any insight or assistance you can provide!
josephyw is offline   Reply With Quote