View Single Post
Old 07-14-2020, 11:21 AM   #213
shayaknyc
Enthusiast
shayaknyc began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Sep 2012
Device: Kobo Aura
Unhappy

Quote:
Originally Posted by DaltonST View Post
Not for LC Genre. See the attached images for their ToolTips and their correct types.

LCGenre has a 1:1 mapping of book:LCGenre, unlike normal Tags and Tag-Like columns which have a 1:many relationship.


You need to change your #genre to #lcgenre and let LC automatically create it. Your #genre, being Tag-Like, is not for use in Library Codes.




DaltonST
Ok, I now have 2 columns:
1) Genre, #genre, Comma separated text, like tags
2) LC Genre, #lc_genre, Text, column shown in Tag browser
(Screenshot: https://snipboard.io/Tgp5aF.jpg)

And here's the screenshot of the LC config after i clicked on "automatically add..." button:
https://snipboard.io/PoemZa.jpg

Here's the output after I selected Abaddon's Gate and clicked on the LC button:

Code:
calibre Debug log
calibre 4.20 [64bit]  embedded-python: True is64bit: True
Windows-10-10.0.19041-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19041')
Python 2.7.16+
Windows: ('10', '10.0.19041', 'SP0', u'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 33, 0) && DeDRM (6, 8, 0) && Package KFX (from KFX Input) (1, 33, 0) && BookFusion Plugin (0, 4, 1) && Set KFX metadata (from KFX Output) (1, 43, 0) && KFX Output (1, 43, 0) && Goodreads (1, 4, 0) && Wiki Reader (2, 2, 0) && EpubSplit (2, 9, 0) && Recipe Reader (1, 0, 1) && Read MP3 AudioBook metadata (1, 0, 79) && KePub Metadata Reader (3, 2, 9) && KePub Input (3, 2, 10) && KePub Output (3, 2, 13) && EpubCheck (0, 2, 3) && KindleUnpack - The Plugin (0, 82, 1) && DOC Input (1, 0, 1) && ANOBII (0, 4, 3) && Save To Format (0, 0, 6) && Kindle Collections (1, 7, 26) && Embed Comic Metadata (1, 4, 0) && Modify ePub (1, 4, 1) && BigOven Recipe Reader (1, 0, 1) && Kobo Utilities (2, 11, 0) && Quality Check (1, 9, 11) && Annotations (1, 12, 0) && Obok DeDRM (3, 1, 6) && Library Codes (1, 0, 44) && Count Pages (1, 10, 0) && Open With (1, 5, 12) && KFX metadata reader (from KFX Input) (1, 33, 0) && KFX Input (1, 33, 0) && KePub Metadata Writer (3, 2, 12) && EpubMerge (2, 9, 0) && Barnes & Noble (1, 2, 15) && Find Duplicates (1, 7, 2) && food network Recipe Reader (1, 0, 2) && Job Spy (1, 0, 183) && KoboBooks (1, 0, 0) && Manage Series (1, 2, 9) && KoboTouchExtended (3, 2, 13) && Copy Cover To Device (2, 0, 4) && Overdrive Link (2, 39, 0) && Audit Log (1, 0, 14)
calibre 4.20 [64bit]  embedded-python: True is64bit: True
Windows-10-10.0.19041-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19041')
Python 2.7.16+
Windows: ('10', '10.0.19041', 'SP0', u'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 33, 0) && DeDRM (6, 8, 0) && Package KFX (from KFX Input) (1, 33, 0) && BookFusion Plugin (0, 4, 1) && Set KFX metadata (from KFX Output) (1, 43, 0) && KFX Output (1, 43, 0) && Goodreads (1, 4, 0) && Wiki Reader (2, 2, 0) && EpubSplit (2, 9, 0) && Recipe Reader (1, 0, 1) && Read MP3 AudioBook metadata (1, 0, 79) && KePub Metadata Reader (3, 2, 9) && KePub Input (3, 2, 10) && KePub Output (3, 2, 13) && EpubCheck (0, 2, 3) && KindleUnpack - The Plugin (0, 82, 1) && DOC Input (1, 0, 1) && ANOBII (0, 4, 3) && Save To Format (0, 0, 6) && Kindle Collections (1, 7, 26) && Embed Comic Metadata (1, 4, 0) && Modify ePub (1, 4, 1) && BigOven Recipe Reader (1, 0, 1) && Kobo Utilities (2, 11, 0) && Quality Check (1, 9, 11) && Annotations (1, 12, 0) && Obok DeDRM (3, 1, 6) && Library Codes (1, 0, 44) && Count Pages (1, 10, 0) && Open With (1, 5, 12) && KFX metadata reader (from KFX Input) (1, 33, 0) && KFX Input (1, 33, 0) && KePub Metadata Writer (3, 2, 12) && EpubMerge (2, 9, 0) && Barnes & Noble (1, 2, 15) && Find Duplicates (1, 7, 2) && food network Recipe Reader (1, 0, 2) && Job Spy (1, 0, 183) && KoboBooks (1, 0, 0) && Manage Series (1, 2, 9) && KoboTouchExtended (3, 2, 13) && Copy Cover To Device (2, 0, 4) && Overdrive Link (2, 39, 0) && Audit Log (1, 0, 14)
Turning on automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 81.6884422111 x 81.6428571429
Using calibre Qt style: True
[0.00] Starting up...
[0.00] Showing splash screen...
[0.72] splash screen shown
[0.72] Initializing db...
[1.05] db initialized
[1.05] Constructing main UI...
DEBUG:    0.0 KoboUtilites::action.py - loading translations
DEBUG:    0.0 KoboUtilites::dialogs.py - loading translations
DEBUG:    0.0 KoboUtilites::action.py - loading translations
DEBUG:    0.0 Annotations plugin: Error loading libiMobileDevice. This hasn't worked for a while, and is blacklisted in calibre v3.
DEBUG:    0.0 Annotations plugin: Error is:  No module named idevice.libimobiledevice
DEBUG:    0.1 Annotations::reader_app_support.py - loading translations
DEBUG:    0.1 Annotations::common_utils.py - loading translations
DEBUG:    0.1 Annotations::appearance.py - loading translations
DEBUG:    0.1 Annotations::config.py - loading translations
DEBUG:    0.1 Annotations::annotated_books.py - loading translations
DEBUG:    0.1 Annotations::action.py - loading translations
DEBUG:    0.0 obok::utilities.py - loading translations
DEBUG:    0.0 obok::dialogs.py - loading translations
DEBUG:    0.0 obok::config.py - loading translations
DEBUG:    0.0 using xml.etree for xml parsing
DEBUG:    0.0 obok::action_err.py - loading translations
DEBUG:    4.7 No Kobo Touch, Glo or Mini appears to be connected
DEBUG:    4.7 rebuild_menus - self.supports_ratings=None, self.supports_tiles=None
DEBUG:    4.7 KoboUtilities:set_toolbar_button_tooltip - start: text='None'
DEBUG:    4.7 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders

Driver: KoboTouchExtended'
EpubMerge: DEBUG: 2020-07-14 11:14:35,805: calibre_plugins.epubmerge.epubmerge_plugin(157): macmenuhack file_path:C:\Users\shaya\AppData\Roaming\calibre\plugins\fanficfare_macmenuhack.txt
Job Spy has begun initialization...
--->>>job_spy_save_cover_separately default value is:  True
--->>>apply_save_cover_separately_by_library:   libname is NOT tweaked; default value used for:    Calibre Library    is:  True
--->>> job_spy_save_cover_separately was used to set this library's value to:  True
--->>>job_spy_default_output_format_by_library:   libname is NOT tweaked; default value used for:    Calibre Library    is:  EPUB
--->>> job spy tweak was used to set this library's default output format from:  epub    to:  epub
Calibre, and hence Job Spy, was gracefully shut down last time?  True
Last time daemon started:  never
Last time daemon failed:  never
Total daemon starts inception_to_date:  0
Total daemon failures inception-to-date:  0
Job Spy has finished initialization...
[6.98] main UI initialized...
[6.98] Hiding splash screen
[30.77] splash screen hidden
[30.78] Started up in 30.78 seconds with 2373 books
LC is deriving DDC/LCC from ISBN/ISSN:  1
in api:   Searching for: stdnbr=9780316129077
http://classify.oclc.org/classify2/Classify?stdnbr=9780316129077&summary=false                   
Method response: 4
---------------------------------------------------------------------------------------------------
Multi-work Response
oclc-other is:  NONE
author(s):  Corey, James S. A. | Langowski, Jürgen [Translator; Contributor]
title:  Abaddon's Gate
Multi-work Response:  oclc-owi:  1178687176
---------------------------------------------------------------------------------------------------
Author Details Exception[2]:  list index out of range   (Index Out Of Range means No Data to be Retrieved)
returning from api:   NONE NONE [] 1178687176 NONE NONE NONE
Adding 'oclc-owi' identifier:  1178687176
 
reference number for lookup:  1178687176
-----------------------------------------------
current target_url is:  http://xisbn.worldcat.org/webservices/xid/owi/owi1178687176?method=getEditions&format=xml&fl=isbn,lccn
[Errno 10054] An existing connection was forcibly closed by the remote host
not soup
parse_html_xid:  source_type is:  owi   of:   1178687176   with an isbn of:  9780316129077
new_row1:  None
-----------------------------------------------
new value for LC Extra Author Data:  Langowskiˏ Jürgen [Translator; Contributor]
----------------------------------------------------------------------------------------------------------
edit_metadata_action.apply_metadata_changes(id_map, callback=self.finish_displaying_results_of_ddc_lcc(payload)): 
id_map - book:  2487
id_map - mi:  Title               : Unknown
Author(s)           : Unknown
Tags                : Science Fiction, Fiction, Action & Adventure, Hard Science Fiction, Space Opera
Identifiers         : isbn:9780316129077, google:rIWWl_bA0z4C, barnesnoble:w/abaddons-gate-james-sa-corey/1113742209, oclc-owi:1178687176
OCLC                : 1178687176
----------------------------------------------------------------------------------------------------------
Here's a screenshot of the Abaddon's Gate record:
https://snipboard.io/8ZLxJD.jpg

Now, DDC is null, LCC is null. You'll notice that #lcead has an entry, as does #oclc. Honestly, not sure what's changed?
shayaknyc is offline   Reply With Quote