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 01-03-2017, 02:51 AM   #601
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,544
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@lazorbeam - the author of this PI is no longer active, so the chances of getting any enhancements are pretty slim.

However you can do some of what you want using your file manager.

In main GUI program (library manager) go to Preferences->Miscellaneous and click the Open configuration directory button, the generate cover PI images are in the ...\resources\images\generate_cover sub-directory.

Close calibre before you add, rename, or delete any images in that folder.

When you restart calibre and run Generate Cover the changes you made will be there.

BR
BetterRed is offline   Reply With Quote
Old 01-03-2017, 03:35 PM   #602
lazorbeam
Connoisseur
lazorbeam began at the beginning.
 
Posts: 70
Karma: 10
Join Date: Feb 2014
Device: iPhone; Fire HD
@BetterRed

Thanks for this info. I never thought to look in the config directory for those files. I did successfully find them and followed your instructions. When I restarted Calibre and checked the files within Generate Cover, the images I had re-named or deleted did disappear but I don't see the updated files.

I then dragged those files in and got a message that this file already exists and do I want to overwrite it. Couldn't find the file though strangely.

Deleting this way is already a big help, but if you have thoughts on why renaming/adding didn't work, I welcome them. Thanks!
lazorbeam is offline   Reply With Quote
Advert
Old 01-03-2017, 05:17 PM   #603
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,544
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@lazorbeam - sorry, I only tested deleting a file, when I saw that worked I assumed adding and renaming would work - because I assumed the PI built the list from the directory when it runs - alas it doesn't. It keeps a list of them in its .json file in the plugins directory a'la:-

Code:
  "Files": [
    "Draghi's Dungeons.jpg", 
    "Bank Of England.jpg", 
    "Brunhilde_the_Valkyrie.jpg", 
    "Ekaterina Motyakina .jpg", 
    "Kris Swindle.jpg", 
    "Linen Cover 10.jpg", 
    "{Current Cover}", 
    "{Default Image}"
  ]
Note the double quotes and trailing comma's, they are essential.

BR
BetterRed is offline   Reply With Quote
Old 01-03-2017, 07:45 PM   #604
lazorbeam
Connoisseur
lazorbeam began at the beginning.
 
Posts: 70
Karma: 10
Join Date: Feb 2014
Device: iPhone; Fire HD
@BetterRed
Ah, I see. Thank you for investigating. That's all right - I'm very excited about the bulk delete options. Thanks for your expertise.
lazorbeam is offline   Reply With Quote
Old 01-04-2017, 07:35 AM   #605
compurandom
Guru
compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.
 
Posts: 918
Karma: 417282
Join Date: Jun 2015
Device: kobo aura h2o, kobo forma
What would make this plugin amazingly better would be if it could be accessed from the edit book metadata panel... which I assume would be a change in calibre more than the plugin...
compurandom is offline   Reply With Quote
Advert
Old 01-04-2017, 11:49 PM   #606
oteksamptis
Member
oteksamptis began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Dec 2012
Device: NST
Hi
Is it feasible to add functions choice of different colors for the title and author'a or other items
oteksamptis is offline   Reply With Quote
Old 01-05-2017, 12:20 AM   #607
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,544
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by compurandom View Post
What would make this plugin amazingly better would be if it could be accessed from the edit book metadata panel... which I assume would be a change in calibre more than the plugin...
@compurandom - yes, it would almost certainly require a change in the calibre core, and I very much doubt Kovid would consider doing that as it would mean he'd have to accept responsibility for the PI. What he might consider are some modest enhancements to the built-in cover generator.

Quote:
Originally Posted by oteksamptis View Post
Hi
Is it feasible to add functions choice of different colors for the title and author'a or other items
@oteksamptis - as I wrote a few posts back

Quote:
Originally Posted by BetterRed View Post
the author of this PI is no longer active, so the chances of getting any enhancements are pretty slim.
Unless of course you are prepared to make the changes yourself, the code is in the zip. Many people have their own private versions of PI's that they've modified to suit their needs. You don't have to publish your changes in a new official version, especially if you're not prepared to take on support for the plugin.

BR
BetterRed is offline   Reply With Quote
Old 01-06-2017, 12:00 AM   #608
compurandom
Guru
compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.
 
Posts: 918
Karma: 417282
Join Date: Jun 2015
Device: kobo aura h2o, kobo forma
Quote:
Originally Posted by BetterRed View Post
@compurandom - yes, it would almost certainly require a change in the calibre core, and I very much doubt Kovid would consider doing that as it would mean he'd have to accept responsibility for the PI. What he might consider are some modest enhancements to the built-in cover generator.
I was thinking more along the lines of add to or replace the "generate cover" button in the edit window with the "generate cover" option from the plugin.

Although I use both of them for different things, so maybe replace isn't best.
compurandom is offline   Reply With Quote
Old 04-28-2017, 12:26 AM   #609
oteksamptis
Member
oteksamptis began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Dec 2012
Device: NST
Plugin dead?
oteksamptis is offline   Reply With Quote
Old 04-28-2017, 12:59 AM   #610
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by oteksamptis View Post
Plugin dead?
Seems to work fine to me. FYI there is also a cover generation ability within the edit metadata window.
DoctorOhh is offline   Reply With Quote
Old 04-28-2017, 03:01 AM   #611
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,544
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by oteksamptis View Post
Plugin dead?
Version 1.5.21 still above ground here

Windows 10 64bit v 1607, calibre 64 bit v 2.83

BR
BetterRed is offline   Reply With Quote
Old 05-17-2017, 06:51 AM   #612
oteksamptis
Member
oteksamptis began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Dec 2012
Device: NST
Quote:
Originally Posted by BetterRed View Post
Version 1.5.21 still above ground here

Windows 10 64bit v 1607, calibre 64 bit v 2.83

BR
Yes, but it probably is not being developed. Too bad.

Last edited by oteksamptis; 05-17-2017 at 07:11 AM.
oteksamptis is offline   Reply With Quote
Old 05-19-2017, 08:57 AM   #613
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by oteksamptis View Post
Yes, but it probably is not being developed. Too bad.
You are correct it is not being developed, but it has been maintained. As changes in calibre required plugins to adapt, other developers have stepped up to ensure that this plugin didn't die.
DoctorOhh is offline   Reply With Quote
Old 06-03-2017, 01:57 AM   #614
Tej
Junior Member
Tej began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2017
Device: Kindle
Help - Generate Cover Error

Hi,

My computer ran out of power while Calibre was on. It caused an error that no longer allows me to even open Generate Cover.

Every time I try, I get this error: "ZeroDivisionError:float division by zero" error.

Long story short. I tried deleting and re-installing the plug-in. I tried deleting and re-installing Calibre. I tried a few of the basic de-bug commands. (I'm not entirely sure how accurately I put those in). Even tried to wipe out all traces of the software with a few simple tricks. Stopped short of digging through the registry bc I dont have enough knowledge not to screw something up...

Any guesses on how to fix this problem? I heavily rely on this plugin. It would be a sad day if I no longer had access to it.

Here is the full code for the error:

calibre, version 2.85.1
ERROR: Unhandled exception: <b>ZeroDivisionError</b>:float division by zero

calibre 2.85.1 embedded-python: True is64bit: False
Windows-8-6.2.9200 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '8', '6.2.9200')
Python 2.7.9
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Successfully initialized third party plugins: EpubSplit (2, 2, 0) && Modify ePub (1, 3, 13) && food network Recipe Reader (1, 0, 2) && EpubMerge (2, 1, 0) && Kindle Collections (1, 7, 15) && Manage Series (1, 2, 8) && FanFicFare (2, 10, 0) && Generate Cover (1, 5, 21) && Prettify Cover (0, 9, 8) && Resize Cover (1, 0, 2) && Count Pages (1, 6, 9)
Traceback (most recent call last):
File "calibre_plugins.generate_cover.action", line 65, in _generate_cover
File "calibre_plugins.generate_cover.dialogs", line 1377, in __init__
File "calibre_plugins.generate_cover.dialogs", line 1669, in display_preview
File "calibre_plugins.generate_cover.draw", line 330, in generate_cover_for_book
File "calibre_plugins.generate_cover.draw", line 227, in create_cover_page
File "calibre_plugins.generate_cover.draw", line 128, in scaleup_image
ZeroDivisionError: float division by zero

Thanks.
Tej is offline   Reply With Quote
Old 06-03-2017, 03:36 AM   #615
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
The line that it is failing in is resizing the image. As it is failing when opening the plugin, and there was a crash involved, the configuration has probably been corrupted. You should try deleting it. This is in the calibre configuration directory. Open this from the miscellaneous page of the calibre preferences. In the plugins directory, delete the file "Generate Cover.json".
davidfor is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Goodreads Sync kiwidude Plugins 1719 04-10-2024 08:25 AM
[GUI Plugin] Clipboard Search kiwidude Plugins 29 04-02-2024 10:05 PM
[GUI Plugin] Open With kiwidude Plugins 403 04-01-2024 08:39 AM
[GUI Plugin] User Category kiwidude Plugins 123 03-16-2024 11:59 PM
[GUI Plugin] Quick Preferences kiwidude Plugins 62 03-16-2024 11:47 PM


All times are GMT -4. The time now is 05:22 AM.


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