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 10-23-2019, 04:50 PM   #31
m1d1
Enthusiast
m1d1 began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Aug 2015
Location: Stuttgart - Germany
Device: Pocketbook Touch HD
Quote:
Originally Posted by simfin View Post
The Prettify Cover plugin (version 0.9.12) no longer works with Calibre version 4.

Is anyone aware of a fix?

Thank you.
Thanks for reporting. The issue has been resolved with release 1.0.0.
m1d1 is offline   Reply With Quote
Old 10-23-2019, 04:54 PM   #32
m1d1
Enthusiast
m1d1 began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Aug 2015
Location: Stuttgart - Germany
Device: Pocketbook Touch HD
v1.0.0

released version 1.0.0

fixes QT5 depreciations in calibre 4.x
m1d1 is offline   Reply With Quote
Advert
Old 10-23-2019, 05:00 PM   #33
m1d1
Enthusiast
m1d1 began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Aug 2015
Location: Stuttgart - Germany
Device: Pocketbook Touch HD
v1.0.1

released version 1.0.1

fixes version string
m1d1 is offline   Reply With Quote
Old 10-23-2019, 06:09 PM   #34
m1d1
Enthusiast
m1d1 began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Aug 2015
Location: Stuttgart - Germany
Device: Pocketbook Touch HD
v1.0.2

released version 1.0.2

fixes bug with version string.

Note.: It seems like you'd need to reinstall prettify cover 1.x
Due to a prior version string bug with prettify cover 0.9.x it won't get update notifications in calibre
m1d1 is offline   Reply With Quote
Old 12-11-2019, 05:35 PM   #35
m1d1
Enthusiast
m1d1 began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Aug 2015
Location: Stuttgart - Germany
Device: Pocketbook Touch HD
v1.0.5

- (win) detect custom gimp installation path using registry
- (win) detect national geographics script installed in %appdata%
m1d1 is offline   Reply With Quote
Advert
Old 12-11-2019, 10:46 PM   #36
Gates007
Junior Member
Gates007 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Oct 2017
Device: PW3
Hi - I just updated to 1.05 and I am getting errors which I did not get in the previous version I used last night! I have Win10 64-version

calibre, version 4.5.0
ERROR: Unhandled exception: <b>WindowsError</b>:[Error 2] The system cannot find the file specified

calibre 4.5 embedded-python: True is64bit: False
Windows-10-10.0.18362-SP0 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.18362')
Python 2.7.16+
Windows: ('10', '10.0.18362', 'SP0', u'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Prettify Cover (1, 0, 5) && Quality Check (1, 9, 11) && Goodreads (1, 4, 0)
Traceback (most recent call last):
File "calibre_plugins.prettify_cover.action", line 176, in prettify_covers
File "calibre_plugins.prettify_cover.dialogs", line 88, in __init__
File "calibre_plugins.prettify_cover.scriptfu", line 187, in find_gimp
File "calibre_plugins.prettify_cover.scriptfu", line 208, in find_gimp_path
WindowsError: [Error 2] The system cannot find the file specified
Gates007 is offline   Reply With Quote
Old 12-12-2019, 10:44 AM   #37
m1d1
Enthusiast
m1d1 began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Aug 2015
Location: Stuttgart - Germany
Device: Pocketbook Touch HD
Quote:
Originally Posted by Gates007 View Post
Hi - I just updated to 1.05 and I am getting errors ...
Traceback (most recent call last):
File "calibre_plugins.prettify_cover.action", line 176, in prettify_covers
File "calibre_plugins.prettify_cover.dialogs", line 88, in __init__
File "calibre_plugins.prettify_cover.scriptfu", line 187, in find_gimp
File "calibre_plugins.prettify_cover.scriptfu", line 208, in find_gimp_path
WindowsError: [Error 2] The system cannot find the file specified
Thanks for reporting. I'll look into it for a fix.
m1d1 is offline   Reply With Quote
Old 12-12-2019, 03:23 PM   #38
m1d1
Enthusiast
m1d1 began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Aug 2015
Location: Stuttgart - Germany
Device: Pocketbook Touch HD
v1.0.6

- fixes registry bug
m1d1 is offline   Reply With Quote
Old 12-13-2019, 07:32 AM   #39
Gates007
Junior Member
Gates007 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Oct 2017
Device: PW3
Thank you! Just tried it with update to 4.6 Calibre and it works! Thank you so much!
Gates007 is offline   Reply With Quote
Old 05-01-2020, 10:19 AM   #40
m1d1
Enthusiast
m1d1 began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Aug 2015
Location: Stuttgart - Germany
Device: Pocketbook Touch HD
v1.5.0

released version 1.5.0
- fixes for calibre 5.0 (python 3 upgrade)
m1d1 is offline   Reply With Quote
Old 09-26-2020, 05:21 AM   #41
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 74,013
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by m1d1 View Post
released version 1.5.0
- fixes for calibre 5.0 (python 3 upgrade)
There is a rather major bug in 1.5.0 that needs fixing. Please see the following thread to see what it is that is going on.

https://www.mobileread.com/forums/sh...12#post4039112
JSWolf is online now   Reply With Quote
Old 09-26-2020, 04:16 PM   #42
m1d1
Enthusiast
m1d1 began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Aug 2015
Location: Stuttgart - Germany
Device: Pocketbook Touch HD
Quote:
Originally Posted by JSWolf View Post
There is a rather major bug in 1.5.0 that needs fixing. Please see the following thread to see what it is that is going on.

https://www.mobileread.com/forums/sh...12#post4039112
In that case v0.9.12 was used which isn't compatible with calibre 5.
m1d1 is offline   Reply With Quote
Old 11-13-2020, 11:52 AM   #43
seajay1221
just a guy
seajay1221 began at the beginning.
 
seajay1221's Avatar
 
Posts: 4
Karma: 10
Join Date: Oct 2020
Device: Kobo Libra H2O
I'd like to modify this plugin to have a better ability to fine tune how the ↑ and ↓ buttons work within the Cut-Out option. Right now they jump too far to be really useful for about 90% of the covers in my library. Would you be able to point me to where in the python files I'd go to change the value that they move when you click that button? I've been poring through them but haven't found where that variable's set yet.
seajay1221 is offline   Reply With Quote
Old 11-13-2020, 08:15 PM   #44
m1d1
Enthusiast
m1d1 began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Aug 2015
Location: Stuttgart - Germany
Device: Pocketbook Touch HD
Quote:
Originally Posted by seajay1221 View Post
I'd like to modify this plugin to have a better ability to fine tune how the ↑ and ↓ buttons work within the Cut-Out option. Right now they jump too far to be really useful for about 90% of the covers in my library. Would you be able to point me to where in the python files I'd go to change the value that they move when you click that button? I've been poring through them but haven't found where that variable's set yet.
Check your Private Messages.
m1d1 is offline   Reply With Quote
Old 12-26-2021, 07:32 PM   #45
FrederikNJS
Junior Member
FrederikNJS began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2021
Device: Kobo Clara HD
I tried using this plugin, but hit an annoying TypeError. It would seem that in both line 347 and 423 in the "action.py" file, the "x" and "y" variables can be floats (or maybe they just are by default?)... Anyway, here's the stack trace:

Code:
calibre, version 5.34.0
ERROR: Unhandled exception: <b>TypeError</b>:arguments did not match any overloaded call:
  QRect(): too many arguments
  QRect(int, int, int, int): argument 1 has unexpected type 'float'
  QRect(QPoint, QPoint): argument 1 has unexpected type 'float'
  QRect(QPoint, QSize): argument 1 has unexpected type 'float'
  QRect(QRect): argument 1 has unexpected type 'float'

calibre 5.34  embedded-python: False is64bit: True
Linux-5.15.10-zen1-1-zen-x86_64-with-glibc2.33 Linux ('64bit', 'ELF')
('Linux', '5.15.10-zen1-1-zen', '#1 ZEN SMP PREEMPT Fri, 17 Dec 2021 11:17:39 +0000')
Python 3.10.1
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 46, 0) && DeDRM (7, 2, 1) && Package KFX (from KFX Input) (1, 46, 0) && Count Pages (1, 11, 1) && Goodreads Sync (1, 15, 1) && KFX metadata reader (from KFX Input) (1, 46, 0) && KFX Input (1, 46, 0) && KePub Input (3, 4, 3) && KePub Metadata Reader (3, 4, 3) && KePub Metadata Writer (3, 4, 3) && KePub Output (3, 5, 3) && Kindle hi-res covers (0, 5, 0) && Kobo Books (1, 8, 3) && Kobo Utilities (2, 14, 1) && KoboTouchExtended (3, 5, 4) && Obok DeDRM (7, 2, 1) && Prettify Cover (1, 5, 0)
Traceback (most recent call last):
  File "calibre_plugins.prettify_cover.dialogs", line 132, in showEvent
    self.generate_thumbs()
  File "calibre_plugins.prettify_cover.dialogs", line 309, in generate_thumbs
    tmp = self.ia.prettify_cover_for_book(self.cover, self.nwidth,
  File "calibre_plugins.prettify_cover.action", line 347, in prettify_cover_for_book
    target_rect = QRect(x, int(y), int(new_width), int(new_height))
TypeError: arguments did not match any overloaded call:
  QRect(): too many arguments
  QRect(int, int, int, int): argument 1 has unexpected type 'float'
  QRect(QPoint, QPoint): argument 1 has unexpected type 'float'
  QRect(QPoint, QSize): argument 1 has unexpected type 'float'
  QRect(QRect): argument 1 has unexpected type 'float'
I decided to try tinkering with it, and simply wrapped the "x" and the "y" parameter in "int()", so line 347 for example changes from:
Code:
target_rect = QRect(x, y, new_width, new_height)
to:
Code:
target_rect = QRect(int(x), int(y), new_width, new_height)
This seems to have resolved my issue, and everything just works now.

This would of course be nice if it was properly resolved directly (and correctly) in the plugin, but for now I have been able to hack-fix it with the typecast.
FrederikNJS is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Resize Cover kiwidude Plugins 95 03-16-2024 11:55 PM
[GUI Plugin] Generate Cover kiwidude Plugins 811 03-16-2024 11:31 PM
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 492 10-25-2022 08:13 AM
[GUI Plugin] Hyphenate This! bookbinder Plugins 0 05-06-2015 01:07 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


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


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