Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 08-01-2018, 09:32 AM   #286
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
This is the tweak now,

Code:
job_spy_save_cover_separately = {'Crossovers': 'False', 'WIP Crossovers': 'False', '@ AO3 Arkiv': 'False'}
and it still adds the cover.
Tanjamuse is offline   Reply With Quote
Old 08-01-2018, 09:59 AM   #287
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
You mean it "saves the cover separately" in the save-to directory.

JS has nothing to do with "adding" a cover to a format.

You posted a question about that in the main forum not long ago, and as I recall the answer was to customize the built-in plug-in responsible for writing out the metadata etc. when saving-to a directory.

JS has nothing whatsoever to do with updating book internals, such as the cover within an EPUB file.

If JS worked for you in your old PC, then it should work identically in your new PC as long as JS has been identically customized. Ergo, it is something else that was not changed in your new PC.
DaltonST is offline   Reply With Quote
Advert
Old 08-01-2018, 10:07 AM   #288
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
I've copied the entire folder of settings from the old computer (windows 7) to the new one (windows 10).

Therefore I expected Calibre to react the same way as it did.

In the Metadata Writer plugins it's still set as:

Code:
disable-add-missing-cover
and it doesn't add the cover to the epub-file. However it does add the cover to the folder where it saves the epub to, even though this is what's in the plugin-tweaks.

Code:
generate_cover_title_font = None


highlight_virtual_library = 'transparent'


generate_cover_foot_font = None


max_content_server_tags_shown = 5


server_listen_on = '0.0.0.0'


compile_gpm_templates = True


job_spy_save_cover_separately = {'Crossovers': 'False', 'WIP Crossovers': 'False', '@ AO3 Arkiv': 'False'}
Tanjamuse is offline   Reply With Quote
Old 08-01-2018, 10:26 AM   #289
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
Ceteris paribus, if JS worked on your old PC, then it should work identically on your new PC.

In my opinion, your issue is related to how you have re-created Calibre on your new PC.

I assume the JS Tweak "activation" checkbox is still "on" in JS Customizing.

You should use the standard Calibre tool for exporting library settings from Calibre and then importing them. That guarantees you did not miss something when you copied a folder.

I have nothing else to add to this conversation.
DaltonST is offline   Reply With Quote
Old 08-01-2018, 10:55 AM   #290
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
Except to ask "Where is your Calibre debug log after restarting in debugging and then immediately doing various tasks related to your issue?"
DaltonST is offline   Reply With Quote
Advert
Old 08-01-2018, 11:04 AM   #291
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
I've activated the "Save Cover Separately", but everytime I restart Calibre the checkmark has disappeared.

Attached is the debug-log.
Attached Files
File Type: txt tmpisqg1g.txt (2.8 KB, 159 views)
Tanjamuse is offline   Reply With Quote
Old 08-01-2018, 11:22 AM   #292
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
Your debug log should look somewhat like the below. It does not, which means that your tool is not active. Read the ToolTips in Customizing. Quit manually checking the checkbox in Calibre>Preferences. After checking the checkbox in JS customizing, you must restart Calibre before continuing.

Code:
orig_option = prefs.get[option_key]:  True
Tweak Library Name:  CalibreJobSpyTest1
'read_file_metadata' global.py file prefs.set  FROM:  True  TO:  True
'read_file_metadata' global prefs[option_key] value changed FROM:  True  TO:  True
author_sort_copy_method >>> default tweaks.py method is:  invert
author_sort_copy_method changed FROM:  invert  TO:  comma
self.original_global_auto_add_path:  x:/auto_add_dir1
new os path to be watched by auto_adder:  x:\auto_add_dir1
[Calibre Startup] The per-Library tweak for the Current Library for auto_add_path has been changed to:   x:\auto_add_dir1
apply_save_to_directory_by_library:   libname IS tweaked; new directory for:  CalibreJobSpyTest1    is:  x:/save_to_dir1
Prior value used for 'save to disk dialog' in dynamic.pickle was:   x:\save_to_dir1
New Save-To Directory for Library:   x:\save_to_dir1
--->>>default template is:  {author_sort}/{title}/{title} - {authors}/{series}
--->>>apply_save_to_template_by_library:   libname IS tweaked; new template for:  CalibreJobSpyTest1    is:  {author_sort}/{title}/{title} - {authors} - test1
--->>> job_spy_save_to_template was used to set this library's template to:  {author_sort}/{title}/{title} - {authors} - test1
--->>>job_spy_save_cover_separately default value is:  True
--->>>apply_save_cover_separately_by_library:   libname IS tweaked; new value for:  CalibreJobSpyTest1    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 tweaked; new value for:  CalibreJobSpyTest1    is:  pdf
--->>> job spy tweak was used to set this library's default output format from:  pdf    to:  pdf
Calibre, and hence Job Spy, was gracefully shut down last time?  True
DaltonST is offline   Reply With Quote
Old 08-01-2018, 11:35 AM   #293
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
Also, your "Job Spy.json" file in your plugins directory should have a line that looks like this:

prefs['GUI_TOOLS_ACTIVATE_TWEAK_SAVE_COVER_SEPARATELY_BY _LIBRARY'] = .....

If that is not "True", then nothing is done for that tweak. As the JS customizing ToolTips say, you must restart Calibre after changing any of the JS tweak activations or default values.

You indicated earlier that you had copied your "Job Spy.json" file from your old PC to your new PC. Verify that file.

Also, confirm that you are on the very latest version of JS.
DaltonST is offline   Reply With Quote
Old 08-01-2018, 11:49 AM   #294
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
The easiest first:

Yes, I run the latest version, at least there are no plugins waiting for update when I restarted Calibre.

In the Json file I found the following line:

Code:
"GUI_TOOLS_ACTIVATE_TWEAK_SAVE_COVER_SEPARATELY_BY_LIBRARY": "False",
I know it's supposed to be true but everytime I activate the tweak and restart calibre it has reset to false.

I've attached what's in my plugin-folder named Job Spy.
Attached Files
File Type: zip Job Spy (2).zip (459.1 KB, 140 views)
Tanjamuse is offline   Reply With Quote
Old 08-01-2018, 11:56 AM   #295
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
Since you manually copied entire C:\Users\Tanjamuse\AppData\Roaming\calibre folders from your old PC to your new PC, it is possible that you corrupted the Windows 10 security permissions, so nothing is getting saved. If so, you must fix them.

See the attached image. Run that. Save your user ID first as "Administrator". Let it do its thing. If that does not work, save it first as "Other - Administrator", and then save it back as just "Administrator". If you get it to reset itself, Windows will tell you that you must log off and then back on. That is a good thing. Just ensure that there is another Admin user already created in case you accidentally remove yourself from the Administrators Group just before logging off.

The point of this exercise is to get Windows to "reset" your username as an Administrator even if it was already "Administrator". Also, remove your user name from the User Group if you belong to it too. Just belong to the Administrators Group.

Also, change the shortcut you use for Calibre to always Run As Administrator to ensure that variable is not the cause of your problem.


Added: I looked at your uploaded Job Spy.json file, and it has never been changed by you...at all. That means that my concerns about your having the proper security permissions to save to that folder may have a valid basis. Manually copy your .json file from your Old PC to your New PC, and then verify that it copied properly. If Windows will not let you do the copy...see above.
Attached Thumbnails
Click image for larger version

Name:	2018-08-01 10_46_33-Window.jpg
Views:	159
Size:	34.9 KB
ID:	165365  

Last edited by DaltonST; 08-01-2018 at 12:06 PM. Reason: Added Comment re: .json file
DaltonST is offline   Reply With Quote
Old 08-01-2018, 01:03 PM   #296
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
I don't have access to the old laptop anymore.

Last edited by Tanjamuse; 08-01-2018 at 01:04 PM. Reason: I hadn't seen your added comment
Tanjamuse is offline   Reply With Quote
Old 08-01-2018, 01:20 PM   #297
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
Create a new Administrator username for yourself, and restart Windows. Log on to that new name, and use it. See if your problems disappear. Do not copy all of the folders as you did before. Do it properly.




Show TooltipShow Tooltip

Last edited by DaltonST; 08-01-2018 at 01:22 PM.
DaltonST is offline   Reply With Quote
Old 08-01-2018, 02:28 PM   #298
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
If I create a new windows login, wouldn't I have to install everything again?
Tanjamuse is offline   Reply With Quote
Old 08-02-2018, 05:13 AM   #299
Tanjamuse
Wizard
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
I ended up uninstalling Calibre, deleting the settings folder, installing Calibre again and only installing this plugin. I've added the template-tweaks for how to save and where to save and that works fine, but it still doesn't add the cover option.

I've also tried on my husband's computer which still runs windows 7, I've never used that plugin on there and has the exact same problem as I do on my laptop running windows 10. The save separate cover option doesn't stay activated no matter how many times I add the checkmark in the activate option.

Attached is a debug-log from the clean-installation with only JS+ running from my laptop, if you want one from my husbands computer as well let me know.
Attached Files
File Type: txt tmpesjgvz.txt (2.0 KB, 162 views)

Last edited by Tanjamuse; 08-02-2018 at 07:23 AM.
Tanjamuse is offline   Reply With Quote
Old 08-02-2018, 07:49 AM   #300
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
You have to click "Save" at the bottom of Customizing after making changes.
DaltonST is offline   Reply With Quote
Reply

Tags
author aka, author pen name, colors, toolbag, toolbox, tools


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 526 Today 10:32 AM
[GUI Plugin] Ex Libris AlPe Plugins 87 10-10-2020 03:10 PM
[GUI Plugin] Marvin XD Philantrop Plugins 126 01-29-2017 12:48 PM
Ubuntu/Linux : Command to schedule a job with Calibre.( No GUI ) DurgaPrasad Calibre 0 10-16-2013 06:50 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 02:45 PM.


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