Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 11-03-2015, 10:33 AM   #1
DaltonST
Deviser
DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'
 
DaltonST's Avatar
 
Posts: 761
Karma: 10368
Join Date: Aug 2013
Location: Texas
Device: 8" Windows 10 Tablet
[GUI Plugin] Library Codes

[GUI Plugin] Library Codes


Application Functions and Features:

[1] Automatically creates new Custom Columns (if desired) for Dewey Decimal Code and/or Library of Congress Code and/or OCLC-OWI.

[2] Derives the desired Library Codes using a book's ISBN or ISSN or Author/Title [Selected Books].

[3] Optionally creates Library of Congress, VIAF.org, ISNI.org and Worldcat.org Identifiers whenever otherwise creating OCLC-OWI as an Identifier. This allows the use of hidden composite Custom Columns to be shown in the Book Details as a hot-link to the respective URLs.

[4] Optionally downloads 'Extra Author Details' (EAD) and updates a Tag-Like Custom Column with those values, if any. For Factual/Non-Fiction, they are true 'Author Details' plus (possibly) BISAC-Type Subject Headings. For Fiction, if they exist, the 'EAD' are (usually) more often BISAC-Type Subject Headings.

[5] Optionally Converts ISBN-10 to ISBN-13 [Selected Books].

[6] Optionally Deletes All 'Non-Library Codes' and 'Non-ZMI' and 'Non-z*' Identifiers[Selected Books].

[7] Optionally extracts ISSNs from PDFs for Magazines and Periodicals. The other LC functionality then may be executed for the PDFs for which ISSNs were extracted.

[8] Optionally maps either a LCC or a DDC for each book to a 'Genre', and updates a Text custom column with that mapping. LC comes preloaded for DDC mappings, but a template csv file for LCC mappings is attached below.

For a full Open Source DDC listing for your own use: https://raw.githubusercontent.com/Jo...master/fdc.txt

CALIBRE_TEMP_DIR:

If you implement CALIBRE_TEMP_DIR, then as a minimum make TMPDIR = CALIBRE_TEMP_DIR.

If you want total flexibility, read the next section, item [5].


Special Operating System Notes:
Spoiler:

[1] Automatic creation of new Custom Columns uses Calibre's 'calibredb' command-line utility. Windows automatically installs calibredb, but OSX does not. OSX users must install the Calibre command-line utilities separately. Search www.mobilread.com for instructions.

Having said that, the Python 2.7 'subprocess' module that LC uses to submit calibredb has many issues with OSX (and Linux) that are not fixed until Python 3.4. There are workarounds in Python 2.7, but Apple hardware is required to test those workarounds. I have only Windows, and thus cannot implement those workarounds. If you have any issues whatsoever running calibredb, you should simply create the custom columns manually.

[2] Windows 7 users who are not 'administrators' and have not turned off 'UAC' will have problems when asking LC to automatically create new Custom Columns using Calibre's 'calibredb' command-line utility. The UAC issue will be related to LC spawning an operating system process to run calibredb. You will have to either (a) execute Calibre from a shortcut that has been configured to always run as an 'administrator', (b) on a 1-time basis run Calibre as an 'administrator' followed by immediately having LC create your new Custom Columns for you, or (c) manually create the required new Custom Columns.

[3] If you find yourself needing the .json configuration file for Library Codes, then that is a symptom that likely may be resolved by implementing [4] and [5], below.

[4] If you use Calibre Portable: CALIBRE_TEMP_DIR is used by Calibre for its temporary file directory, and TMPDIR et al are used by generic Python for its temporary file directory. CALIBRE_TEMP_DIR must be consistent with TMPDIR et al. Implement [5], below. Also, ensure that Calibre is in your PATH.

[5] If you have personalized your "temporary" directories, such as using a RAMDisk for your temporary files, you must set certain standard environment variables such that Python finds and uses the one that you want Python to find and use. From the Python documentation:
Spoiler:

Quote:
The default directory is chosen from a platform-dependent list, but the user of the application can control the directory location by setting the TMPDIR, TEMP or TMP environment variables

Python searches a standard list of directories to find one which the calling user can create files in. The list is:

  • The directory named by the TMPDIR environment variable.
  • The directory named by the TEMP environment variable.
  • The directory named by the TMP environment variable.
  • A platform-specific location:
    On Windows, the directories C:\TEMP, C:\TMP, \TEMP, and \TMP, in that order.
  • On all other platforms, the directories /tmp, /var/tmp, and /usr/tmp, in that order.
  • As a last resort, the current working directory.



Requires Minimum Calibre Version: 2.42


Internal Name: 'Library Codes'

Version History:
Spoiler:
Version 1.0.27 - 2016-06-24 Compatibility improvement for use with Linux and OSX; now does not delete any Identifier that begins with a 'z', and also not 'doi' that is used in ZMI.
Version 1.0.26 - 2016-05-26 Bug fix.
Version 1.0.25 - 2016-05-25 Technical changes.
Version 1.0.24 - 2016-04-02 DDC Pie Charts
Version 1.0.23 - 2016-03-26 Attempt to solve OSX subprocess issue.
Version 1.0.22 - 2016-03-23 Technical changes.
Version 1.0.21 - 2016-03-22 Enhanced LCC to Genre mapping logic, plus added a corresponding template CSV file.
Version 1.0.20 - 2016-03-21 New: Updating of #genre (or any other text custom column) by mapping the DDC or LCC to Table _lc_genre_mapping, which is automatically seeded with over 2,470 DDC rows.
Version 1.0.19 - 2016-02-14 Miscellaneous enhancements.
Version 1.0.18 - 2016-02-13 Technical changes to improve performance in extracting ISSNs from PDFs.
Version 1.0.17 - 2016-02-13 New: ISSN Extraction from Magazine/Periodical PDFs for use in deriving DDC, LOC, etc.
Version 1.0.16 - 2016-01-30 Technical changes to improve performance in webscraping.


Version History - Archive:
Spoiler:

Version 1.0.15 - 2015-12-04 New Menu Option: Attempt to Substitute Non-Responsive ISBN Using Author/Title [Selected Single Book]; Technical tweaks.
Version 1.0.14 - 2015-12-02 Many enhancements, especially to using 'OCLC-OWI" to retrieve 'OCLC' which in turn is used to retrieve 'LOC_LCCN'. Menu and ToolTips changes. BISAC-type LCEAD column data for Fiction is now retrieved (Non-Fiction already was).
Version 1.0.13 - 2015-11-30 New Identifier: 'LOC_LCCN', which is the 'Library of Congress-LCCN'. For books assigned LOC LCCNs after the year 1999, they (probably) have a permalink of: http://lccn.loc.gov/NNNNNNNNNN where the LCCN is a 10-digit number starting with the year (2NNN)
Version 1.0.12 - 2015-11-25 Technical tweak.
Version 1.0.11 - 2015-11-25 Additional LCEAD using OCLC. Most useful for Factual/Non-Fiction. Since the LCEAD column is Tag-Like, any 'commas' have been replaced with the very 'comma-like' Unicode symbol 'ˏ' that does not confuse Calibre.
Version 1.0.10- 2015-11-24 New Identifier: OCLC (Not the same as OCLC-OWI). OCLC is extremely useful in retrieving LCEAD data.
Version 1.0.9 - 2015-11-23 New Optional Custom Column: LC Extra Author Details (LCEAD), which is a Tag-Like column that is updated with additional author-related information. It is automatically updated when deriving DDC/LCC, but can be separately updated via its own menu option that uses OCLC-OWI to obtain the LCEAD values.
Version 1.0.8 - 2015-11-21 Deriving ISNI and LCCN Identifiers from VIAF Author ID: speed of download improved significantly.
Version 1.0.7 - 2015-11-20 New option to delete all non-Library Codes Identifiers.
Version 1.0.6 - 2015-11-20 2 New Identifiers: ISNI and LCCN (derived via VIAF Author ID) to enable hot-linking to ISNI.org and Worldcat.org, respectively. This is done whenever a OCLC-OWI Identifier is otherwise created.
Version 1.0.5 - 2015-11-19 Creation of 2 Identifiers, VIAF.org Author ID and Library of Congress Author Name ID, whenever OCLC-OWI Identifier is otherwise created. This allows the use of composite custom columns to hot-link to the respective URLs to view extended Author and Book information.
Version 1.0.4 - 2015-11-17 New option to convert ISBN-10 to ISBN13 for selected books.
Version 1.0.3 - 2015-11-16 New option to derive DDC and/or LCC indirectly using Author/Title via OCLC-OWI Identifiers for cases where ISBN is not useful or reliable.
Version 1.0.2 - 2015-11-13 Menu changes.
Version 1.0.1 - 2015-11-12 Technical tweaks.
Version 1.0.0 - 2015-11-03 Initial release.

Attached Thumbnails
Click image for larger version

Name:	library_codes_example_2.JPG
Views:	599
Size:	90.4 KB
ID:	143437   Click image for larger version

Name:	example_viaf_url_results_for_hotlink.JPG
Views:	561
Size:	94.4 KB
ID:	143905   Click image for larger version

Name:	example_loc_url_results_for_hotlink.JPG
Views:	482
Size:	77.3 KB
ID:	143906   Click image for larger version

Name:	example_library_of_congress_authority_name_hidden_composite_column_for_hotlink.JPG
Views:	459
Size:	122.3 KB
ID:	143909   Click image for larger version

Name:	example_viaf_hidden_composite_column_for_hotlink.JPG
Views:	379
Size:	127.2 KB
ID:	143910   Click image for larger version

Name:	lc_worldcat_org_example.JPG
Views:	344
Size:	253.5 KB
ID:	143929   Click image for larger version

Name:	lc_isni_org_example.JPG
Views:	322
Size:	107.6 KB
ID:	143930   Click image for larger version

Name:	lc_isni_org_isni_composite_custom_column_template_example.JPG
Views:	299
Size:	46.3 KB
ID:	143932   Click image for larger version

Name:	lc_worldcat_lccn_composite_custom_column_template_example.JPG
Views:	283
Size:	48.3 KB
ID:	143933   Click image for larger version

Name:	lc_complete_book_example.JPG
Views:	306
Size:	169.0 KB
ID:	144017   Click image for larger version

Name:	lc_extra_author_details_tag_browser_example.JPG
Views:	262
Size:	65.1 KB
ID:	144018   Click image for larger version

Name:	lc_identifiers.JPG
Views:	256
Size:	16.6 KB
ID:	144198   Click image for larger version

Name:	lc_menu_with_tooltips.jpg
Views:	158
Size:	430.9 KB
ID:	147243   Click image for larger version

Name:	qs_updating_library_codes_genre.jpg
Views:	127
Size:	488.5 KB
ID:	148168  
Attached Files
File Type: txt composite_custom_column_templates_in_text_for_copy_and_paste_ease.txt (948 Bytes, 220 views)
File Type: txt _lc_genre_mapping_csv.txt (180.5 KB, 143 views)
File Type: txt _lc_lcc_genre_mapping_csv.txt (7.3 KB, 127 views)
File Type: zip library_codes.zip (338.8 KB, 4690 views)

Last edited by DaltonST; 06-28-2016 at 03:32 PM. Reason: Version 1.0.27
DaltonST is offline   Reply With Quote
Old 11-13-2015, 06:49 AM   #2
Krazykiwi
Connoisseur
Krazykiwi writes prose that makes the Gods weep.Krazykiwi writes prose that makes the Gods weep.Krazykiwi writes prose that makes the Gods weep.Krazykiwi writes prose that makes the Gods weep.Krazykiwi writes prose that makes the Gods weep.Krazykiwi writes prose that makes the Gods weep.Krazykiwi writes prose that makes the Gods weep.Krazykiwi writes prose that makes the Gods weep.Krazykiwi writes prose that makes the Gods weep.Krazykiwi writes prose that makes the Gods weep.Krazykiwi writes prose that makes the Gods weep.
 
Posts: 62
Karma: 104720
Join Date: Jan 2013
Device: Too many random androids to list
I've been wanting this for a long time to try to help wrangle my non-fiction books, so thank you!

I have a couple of ideas/feature suggestions which you should of course feel free to ignore.

- could the ddc column be optionally hierarchal? Since the DDC is, and conveniently already has a . in it, that would be pretty neat.
- Firstly thank you for making the dialog box non-modal, but once it's set up, is there any need to show the dialog every time? I'm thinking once you've configured the columns etc the first time, perhaps it could work like the count pages plugin, where you can set the button to run a default action when you click it, and it offers alternatives on right click on the toolbar icon.
- This one's probably a big ask, but most e-books have the LC/DDC info in the frontmatter. I always meant to ask the ISBN scanner plugin author if he could get that to pull the library codes out of there while it's looking for ISBN's, perhaps you could do the other way around instead?

In general, thanks very much for this plugin, it's pretty solid for a first release (and I can crash about anything but haven't broken this yet) and does exactly as advertised, and the few books I've had that failed to pull info were either ancient and obscure, or had dodgy ISBN's (box set ISBN vs individual volumes, etc.)
Krazykiwi is offline   Reply With Quote
 
Advertisement
Old 11-13-2015, 09:05 AM   #3
DaltonST
Deviser
DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'
 
DaltonST's Avatar
 
Posts: 761
Karma: 10368
Join Date: Aug 2013
Location: Texas
Device: 8" Windows 10 Tablet
Quote:
Originally Posted by Krazykiwi View Post
I've been wanting this for a long time to try to help wrangle my non-fiction books, so thank you!

I have a couple of ideas/feature suggestions which you should of course feel free to ignore.

- could the ddc column be optionally hierarchal? Since the DDC is, and conveniently already has a . in it, that would be pretty neat.
- Firstly thank you for making the dialog box non-modal, but once it's set up, is there any need to show the dialog every time? I'm thinking once you've configured the columns etc the first time, perhaps it could work like the count pages plugin, where you can set the button to run a default action when you click it, and it offers alternatives on right click on the toolbar icon.
- This one's probably a big ask, but most e-books have the LC/DDC info in the frontmatter. I always meant to ask the ISBN scanner plugin author if he could get that to pull the library codes out of there while it's looking for ISBN's, perhaps you could do the other way around instead?

In general, thanks very much for this plugin, it's pretty solid for a first release (and I can crash about anything but haven't broken this yet) and does exactly as advertised, and the few books I've had that failed to pull info were either ancient and obscure, or had dodgy ISBN's (box set ISBN vs individual volumes, etc.)

@Krazykiwi:

You can manually change the ddc and lcc columns in "Calibre > Preferences > Add your own columns" to be "partitioned" however you please.

Good suggestions. I'll consider them.



DaltonST
DaltonST is offline   Reply With Quote
Old 11-13-2015, 04:18 PM   #4
Krazykiwi
Connoisseur
Krazykiwi writes prose that makes the Gods weep.Krazykiwi writes prose that makes the Gods weep.Krazykiwi writes prose that makes the Gods weep.Krazykiwi writes prose that makes the Gods weep.Krazykiwi writes prose that makes the Gods weep.Krazykiwi writes prose that makes the Gods weep.Krazykiwi writes prose that makes the Gods weep.Krazykiwi writes prose that makes the Gods weep.Krazykiwi writes prose that makes the Gods weep.Krazykiwi writes prose that makes the Gods weep.Krazykiwi writes prose that makes the Gods weep.
 
Posts: 62
Karma: 104720
Join Date: Jan 2013
Device: Too many random androids to list
Quote:
Originally Posted by DaltonST View Post
@Krazykiwi:

You can manually change the ddc and lcc columns in "Calibre > Preferences > Add your own columns" to be "partitioned" however you please.
Hi Dalton,

Actually, I didn't mean partitioning, rather turning the tag browser into a tree, split on the period in the DDC. And I guess it would work in the LOC codes too, just less usefully). For some reason I thought it required a particular column type, and that's not editable post column creation, but I was misremembering.

It's not in partitioning though, so in case anyone else wants to do it, it's in ´Preferences -> Look and Feel -> Tag Browser, add the new column to the "Categories with hierarchal items" and restart Calibre. Since the DDC is a strictly hierarchal tree, it works well there.

ETA: link to the instructions in the Calibre manual: http://manual.calibre-ebook.com/sub_groups.html

Last edited by Krazykiwi; 11-13-2015 at 04:22 PM. Reason: add link to manual
Krazykiwi is offline   Reply With Quote
Old 11-13-2015, 04:32 PM   #5
DaltonST
Deviser
DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'
 
DaltonST's Avatar
 
Posts: 761
Karma: 10368
Join Date: Aug 2013
Location: Texas
Device: 8" Windows 10 Tablet
Quote:
Originally Posted by Krazykiwi View Post
Hi Dalton,

Actually, I didn't mean partitioning, rather turning the tag browser into a tree, split on the period in the DDC. And I guess it would work in the LOC codes too, just less usefully). For some reason I thought it required a particular column type, and that's not editable post column creation, but I was misremembering.

It's not in partitioning though, so in case anyone else wants to do it, it's in ´Preferences -> Look and Feel -> Tag Browser, add the new column to the "Categories with hierarchal items" and restart Calibre. Since the DDC is a strictly hierarchal tree, it works well there.

ETA: link to the instructions in the Calibre manual: http://manual.calibre-ebook.com/sub_groups.html

@Krazykiwi:

You can manually delete the ddc, lcc, and oclc custom columns that LC automatically created for you, and add whatever you want back manually, including new labels. You just have to update the #names in LC afterwards. The Data Types of your manually created custom columns must be compatible with the textual values for ddc, lcc and oclc, however.


DaltonST
DaltonST is offline   Reply With Quote
Old 11-13-2015, 04:38 PM   #6
Krazykiwi
Connoisseur
Krazykiwi writes prose that makes the Gods weep.Krazykiwi writes prose that makes the Gods weep.Krazykiwi writes prose that makes the Gods weep.Krazykiwi writes prose that makes the Gods weep.Krazykiwi writes prose that makes the Gods weep.Krazykiwi writes prose that makes the Gods weep.Krazykiwi writes prose that makes the Gods weep.Krazykiwi writes prose that makes the Gods weep.Krazykiwi writes prose that makes the Gods weep.Krazykiwi writes prose that makes the Gods weep.Krazykiwi writes prose that makes the Gods weep.
 
Posts: 62
Karma: 104720
Join Date: Jan 2013
Device: Too many random androids to list
Right, point was you don't need to, it works fine with the existing columns as created, the preference is just in another place than you might think.
Krazykiwi is offline   Reply With Quote
Old 11-16-2015, 01:17 PM   #7
DaltonST
Deviser
DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'
 
DaltonST's Avatar
 
Posts: 761
Karma: 10368
Join Date: Aug 2013
Location: Texas
Device: 8" Windows 10 Tablet
Version 1.0.3 - Derive DDC/LCC Using Author/Title

Version 1.0.3 - New option to derive DDC and/or LCC indirectly using Author/Title via OCLC-OWI Identifiers for cases where ISBN/ISSN is not useful or reliable.

Step 1: Derive OCLC-OWI Identifier using Author/Title
Step 2: Derive DDC and/or LCC using OCLC-OWI

Step 1 is unnecessary if you have already attempted to derive DDC/LCC using ISBN/ISSN and had previously configured Library Codes to always add the OCLC-OWI Identifier as a new Identifier (à la ISBN). LC would already have the OCLC-OWI Identifier to use in Step 2.

Bear in mind that the format of the media is implicit in the ISBN/ISSN, whereas it is not at all implicit in a simple Author/Title lookup. For that reason, when doing an Author/Title derivation, Library Codes will always look for the OCLC-OWI with an associated format of "Book", since the DDC/LCC for a "Book" is often very different than for the format of, for example, "Audiobook". Calibre is, after all, first-and-foremost designed to be used for eBooks, although some use Calibre for all kinds of other things in highly creative and complex ways. If you are one of those folks, then you should use ISBN/ISSN for deriving DDC/LCC, and not use Author/Title, unless you want the "Book" DDC/LCC instead of the "Audiobook" DDC/LCC.



DaltonST
DaltonST is offline   Reply With Quote
Old 11-17-2015, 02:16 PM   #8
DaltonST
Deviser
DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'
 
DaltonST's Avatar
 
Posts: 761
Karma: 10368
Join Date: Aug 2013
Location: Texas
Device: 8" Windows 10 Tablet
Version 1.0.4: Optionally Convert ISBN-10 to ISBN-13

Version 1.0.4 - 2015-11-17 New option to convert ISBN-10s to ISBN-13s for selected books.



DaltonST



n.b. if you currently use the QuarantineAndScrub add-on, then this is done for you automatically as part of Book-Level Scrubbing.
DaltonST is offline   Reply With Quote
Old 11-18-2015, 06:36 PM   #9
cogitoxin
Junior Member
cogitoxin began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2015
Device: kpw
Thanks a lot for developing the plugin. I've been looking for it for years. But when I install it on my mac it went error when creating columns. Then I added the columns manually but still didn't work. Is there any way I can solve it?
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2015-11-18 at 23.31.14.png
Views:	164
Size:	45.4 KB
ID:	143891   Click image for larger version

Name:	Screen Shot 2015-11-18 at 23.31.20.png
Views:	170
Size:	40.2 KB
ID:	143892  
cogitoxin is offline   Reply With Quote
Old 11-18-2015, 11:35 PM   #10
DaltonST
Deviser
DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'
 
DaltonST's Avatar
 
Posts: 761
Karma: 10368
Join Date: Aug 2013
Location: Texas
Device: 8" Windows 10 Tablet
Macintosh Issue

Quote:
Originally Posted by cogitoxin View Post
Thanks a lot for developing the plugin. I've been looking for it for years. But when I install it on my mac it went error when creating columns. Then I added the columns manually but still didn't work. Is there any way I can solve it?
@cogitoxin:

LC works perfectly in Windows 10 64bit. I can only guess that your Macintosh does not support submitting 'calibredb' via a spawned operating system subprocess using the particular Python parameters that LC uses.

Essentially, the above is what your attached left error-dialog message says. Your right error-dialog message says that since there "was a left message", you must create the custom column(s) manually.

Obviously you must first delete any custom columns that might have been created by LC, if any. Exit from Calibre, then Restart Calibre. Then, add whatever custom columns you have selected in the LC Configuration dialog. They must be simple "text" custom columns, and the #names must be identical to the #names you specified in the LC Configuration dialog. Exit from Calibre, then Restart Calibre.

Next, test your work by manually adding, changing and deleting DDC/LCC values using Calibre's 'Edit Metadata' function for custom columns.

Finally, bear in mind that just because you have an ISBN does not mean that it is a 'good' ISBN from the perspective of deriving DDC/LCC codes. You can manually derive (or attempt to derive) problem ISBNs using http://classify.oclc.org/classify2/a.../classify.html .



Good luck.


DaltonST

Last edited by DaltonST; 11-19-2015 at 01:12 PM. Reason: typo.
DaltonST is offline   Reply With Quote
Old 11-19-2015, 10:49 AM   #11
DaltonST
Deviser
DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'
 
DaltonST's Avatar
 
Posts: 761
Karma: 10368
Join Date: Aug 2013
Location: Texas
Device: 8" Windows 10 Tablet
Version 1.0.5 Creation of New LOC and VIAF.org Author Identifiers for URL Linking

Version 1.0.5 - 2015-11-19 Creation of 2 Identifiers, VIAF.org Author ID and Library of Congress Author Name ID, whenever OCLC-OWI Identifier is otherwise created. This allows the use of composite custom columns to hot-link to the respective URLs to view extended Author and Book information.

See the Original Post attachments for many images of how to locate these 2 new Identifiers in your Book Details.


DaltonST
DaltonST is offline   Reply With Quote
Old 11-19-2015, 01:07 PM   #12
Divingduck
Guru
Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.Divingduck ought to be getting tired of karma fortunes by now.
 
Posts: 711
Karma: 214138
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
I like this plugin. A big time saver. Thanks a lot
Divingduck is offline   Reply With Quote
Old 11-19-2015, 01:30 PM   #13
cogitoxin
Junior Member
cogitoxin began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2015
Device: kpw
Quote:
Originally Posted by DaltonST View Post
@cogitoxin:

LC works perfectly in Windows 10 64bit. I can only guess that your Macintosh does not support submitting 'calibredb' via a spawned operating system subprocess using the particular Python parameters that LC uses.

Essentially, the above is what your attached left error-dialog message says. Your right error-dialog message says that since there "was a left message", you must create the custom column(s) manually.

Obviously you must first delete any custom columns that might have been created by LC, if any. Exit from Calibre, then Restart Calibre. Then, add whatever custom columns you have selected in the LC Configuration dialog. They must be simple "text" custom columns, and the #names must be identical to the #names you specified in the LC Configuration dialog. Exit from Calibre, then Restart Calibre.

Next, test your work by manually adding, changing and deleting DDC/LCC values using Calibre's 'Edit Metadata' function for custom columns.

Finally, bear in mind that just because you have an ISBN does not mean that it is a 'good' ISBN from the perspective of deriving DDC/LCC codes. You can manually derive (or attempt to derive) problem ISBNs using http://classify.oclc.org/classify2/a.../classify.html .



Good luck.


DaltonST
Thanks a lot now it works well. ;-)

]c[
cogitoxin is offline   Reply With Quote
Old 11-20-2015, 11:14 AM   #14
DaltonST
Deviser
DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'
 
DaltonST's Avatar
 
Posts: 761
Karma: 10368
Join Date: Aug 2013
Location: Texas
Device: 8" Windows 10 Tablet
Version 1.0.6 ISNI.org and Worldcat.org Identifiers

Version 1.0.6 - 2015-11-20 2 New Identifiers: ISNI and LCCN (derived via VIAF Author ID) to enable hot-linking to ISNI.org and Worldcat.org, respectively. This is done whenever a OCLC-OWI Identifier is otherwise created.

Refer to the many images attached to the Original Post, plus the .txt file with sample templates for composite custom columns. You can copy-and-paste the templates directly from the .txt file.



DaltonST
DaltonST is offline   Reply With Quote
Old 11-20-2015, 02:04 PM   #15
DaltonST
Deviser
DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'DaltonST knows the difference between 'who' and 'whom'
 
DaltonST's Avatar
 
Posts: 761
Karma: 10368
Join Date: Aug 2013
Location: Texas
Device: 8" Windows 10 Tablet
Version 1.0.7

Version 1.0.7 - 2015-11-20 New option to delete all non-Library Codes Identifiers.

If you have Version 1.0.6, you must upgrade to Version 1.0.7 to resolve a 'cache db' error.



DaltonST
DaltonST is offline   Reply With Quote
Reply

Tags
ddc, dewey decimal, lcc, library of congress, oclc

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] SmartEject JimmXinu Plugins 32 09-06-2016 11:08 PM
[GUI Plugin] Consolidate All Library Metadata (CALM) DaltonST Plugins 173 08-25-2016 02:36 AM
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 362 04-25-2016 05:19 PM
[GUI Plugin] Astro-ph iatheia Plugins 14 07-25-2015 11:41 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 12:25 AM.


MobileRead.com is a privately owned, operated and funded community.