01-16-2016, 08:13 AM | #61 | ||
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Generic Python Temporary Files Directory Search List
Quote:
@jemsoo7: As proposed by me, did you update your Environment Variables that generic Python uses to force temporary files to go where you want them to go? Especially TMPDIR, since that is the first place it tries before moving down its list of places to check. Quote:
|
||
01-19-2016, 05:08 PM | #62 |
Member
Posts: 11
Karma: 10
Join Date: Sep 2014
Device: none
|
Hmm... this is definitely something with the drive... have tried numerous permutation of renaming TMPDIR, TEMP, TMP environment variables to the drive the portable version is located or the default %SystemRoot%\TEMP, TMP etc but not successful. However if i move either of the portable folders on the C:\ DRIVE, BOTH version of portable works fine....
Man, its not a problem, i can manage with it, Your plugins are SOOOOO great that this is no inconvenience to me! Thanks anyway for your GREAT WORK! |
Advert | |
|
01-20-2016, 10:47 AM | #63 | |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
CALIBRE_TEMP_DIR & TMPDIR et al
@jems007:
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. Since c:\temp and c:\tmp are specifically searched by generic Python on Windows platforms, if you do not otherwise use them, then they should be deleted. That frees Python to find a generic \temp or \tmp on your USB drive. Per the Python documentation: Quote:
DaltonST |
|
02-13-2016, 04:09 PM | #64 |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Version 1.0.17 New: ISSN Extraction from Magazine/Periodical PDFs
Version 1.0.17 - 2016-02-13 New: ISSN Extraction from Magazine/Periodical PDFs for use in deriving DDC, LOC, etc.
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. DaltonST |
02-14-2016, 05:51 AM | #65 |
Zealot
Posts: 137
Karma: 2156958
Join Date: Jan 2013
Device: Too many random androids to list
|
Thanks Dalton. I really like this plugin.
|
Advert | |
|
02-14-2016, 06:15 AM | #66 |
Wizard
Posts: 1,166
Karma: 1410083
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
Thanks a lot for the update
|
02-19-2016, 07:53 AM | #67 |
Member
Posts: 11
Karma: 10
Join Date: Sep 2014
Device: none
|
All Working Fine Now! Have deleted the C:TEMP and installed new version, Icon appears now. Thanks for the time! was away the past few month! Take care! and not to repeat myself.... thanks again for all your huge efforts to help and develop new features! JPr.
|
03-21-2016, 12:39 PM | #68 |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Version 1.0.20 Updating of #genre by mapping the DDC or LCC
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-to-genre rows.
See the attached images. The new menu option to import a csv file to add/change mapping rules can be used to easily personalize the mappings as you desire. The template csv file with over 2,470 mappings is attached to the original post. Example: Spoiler:
DaltonST Last edited by DaltonST; 03-21-2016 at 12:41 PM. |
03-22-2016, 02:11 PM | #69 |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Version 1.0.21 - Enhanced LCC to Genre mapping logic
Version 1.0.21 - 2016-03-22 Enhanced LCC to Genre mapping logic, plus added a corresponding template CSV file.
The new CSV file is attached to the Original Post, and can be imported just as for DDCs. LCC codes may exist simultaneously with DDC codes in the LC to Genre mapping table as their structures are completely different. DaltonST |
03-23-2016, 12:02 AM | #70 |
Enthusiast
Posts: 29
Karma: 324
Join Date: Mar 2008
Device: ebookwise, n800, tablet, etc
|
To help future people... despite the OSX commandline stuff all working fine, this plugin wouldn't correctly run the commands. I'd get errors when I clicked on the button to create the columns. Running calibre via commandline, I did get the commands it was trying to run, and running them manually worked fine:
calibredb add_custom_column --library-path="/path/to/library" ddc DDC text calibredb add_custom_column --library-path="/path/to/library" lcc LCC text calibredb add_custom_column --library-path="/path/to/library" --is-multiple lcead "LC Extra Author Details" text calibredb add_custom_column --library-path="/path/to/library" oclc_owi OCLC_OWI text |
03-23-2016, 10:47 AM | #71 | |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
OSX and Python 2.7 Spawning of Subprocesses
Quote:
The Python 2.7 'subprocess' module that LC uses to submit calibredb via spawning OS subprocesses 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. If you have any issues whatsoever running calibredb in LC, you should simply create the custom columns manually. DaltonST |
|
03-30-2016, 10:12 AM | #72 |
Junior Member
Posts: 1
Karma: 10
Join Date: Mar 2016
Device: none
|
Thank you for this plugin. Just what I was looking for. I was wondering if there is an easy way (copy+paste) to generate a custom "ddc-genre.csv" file with needed ddc-genre tags e.g. "320.234242","..."?
Thanks |
03-30-2016, 10:40 AM | #73 | |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
lc_genre_mapping_csv.txt
Quote:
Sure. Just download the DDC-to-Genre mapping csv file that I attached to the Original Post just for that purpose: lc_genre_mapping_csv.txt. Change it as you wish, then use the LC menu option to import it into LC for the current Calibre library. By the way, the one below it is for LCC instead of DDC. If you need a resource to tell you what the codes mean, then this is the best that I have found: http://www.librarything.com/mds/32 which draws from the Open Source https://raw.githubusercontent.com/Jo...master/fdc.txt DaltonST Last edited by DaltonST; 03-30-2016 at 10:57 AM. Reason: Info added. |
|
04-02-2016, 12:34 PM | #74 |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Version 1.0.24 - DDC Pie Charts
Version 1.0.24 - 2016-04-02 DDC Pie Charts
See the attached examples. DaltonST |
04-23-2016, 11:12 AM | #75 |
Junior Member
Posts: 4
Karma: 10
Join Date: Aug 2015
Device: kobo glo
|
Unable to get Genres working
Thanks for the great plugin. I can get everything to work fine except for Genres. I have followed the instructions (downloaded the lc_genre_mapping_csv and imported it). I have created a Genre column
I've attached images of my settings. When I derive the library codes everything is updated except the genre column which remains blank. Just wondering whether there is something fundamental that I am doing wrong? Many thanks |
Tags |
ddc, dewey decimal, lcc, library of congress, oclc |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 495 | 10-19-2024 07:06 AM |
[GUI Plugin] SmartEject | JimmXinu | Plugins | 105 | 08-15-2024 11:29 AM |
[GUI Plugin] Consolidate All Library Metadata (CALM) | DaltonST | Plugins | 333 | 12-15-2023 09:40 PM |
[GUI Plugin] Astro-ph | iatheia | Plugins | 14 | 07-26-2015 12:41 AM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 01:27 PM |